Disconnected Registry for Red Hat Openstack and Openshift

Hits: 648Setup disconnected Docker registry for Rhosp Setup disconnected Docker registry for Rhosp 13 Pre-requisites:1.    Server for registry that has 2 nics to connect to internet and disconnected servers2.    Director configured with latest minor release3.    Current Redhat subscription 4.    Hundreds of GB free, preferably a TB. It is wise to have /var as a separate mounted …

CentOS 7 : Dnsmasq : Install : Server World

Hits: 1930 Install Dnsmasq which is the lightweight DNS forwarder and DHCP Server Software. [1] Install Dnsmasq. [root@dlp ~]# yum -y install dnsmasq [2] Configure Dnsmasq. [root@dlp ~]# vi /etc/dnsmasq.conf # line 19: uncomment (never forward plain names) domain-needed # line 21: uncomment (never forward addresses in the non-routed address spaces) bogus-priv # line 41: uncomment (query …

How to do multiline shell script in Ansible 

Hits: 3143I found the following works to run several commands in an ansible-playbook. This also shows the output. — – hosts: two gather_facts: no tasks: – name: Executing a Command Using Shell Module shell: date ls register: cat – debug: var=cat.stdout_lines Source: How to do multiline shell script in Ansible – Stack Overflow

How to ignore ansible SSH authenticity checking? RSA key fingerprint

Hits: 1931Do you want to avoid those annoying messages The authenticity of host ‘xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx)’ can’t be established. RSA key fingerprint is xx:yy:zz:…. Are you sure you want to continue connecting (yes/no)? Simply add this to your /etc/ansible/ansible.conf file host_key_checking = false Source: How to ignore ansible SSH authenticity checking? – Stack Overflow

Network Throughput Testing with iPerf

Hits: 237Use Iperf to check network speed between instances Virtual machines and raw metal servers. iPerf is a command-line tool used in diagnosing network speed issues by measuring the maximum network throughput a server can handle. It is particularly useful when experiencing network speed issues, as you can use iPerf to determine which server is unable …

OpenStack Gets Its Swagger Back

Hits: 178While the US and European markets for OpenStack continue to grow slowly and steadily, much faster growth is attributed to the Chinese market, which has both a massive infrastructure need, and a tendency to be wary of the leading Western vendors.     Source: OpenStack Gets Its Swagger Back

Battle of the Switches – Open Virtual Switch vs. Linux Bridge

Hits: 329Open Virtual Switch was initially conceived in a university environment, with a flow-based model providing the development primitive, and a central controller determining what those flows actually looked like. The use of OVS as a virtual switch in the IaaS market (and to be specific, in the OpenStack IaaS market) came about because the …

OVS-DPDK: Migrating to vhostuser socket mode in Red Hat OpenStack

Hits: 475The socket isn’t connected from  /var/log/libvirt/INSTANCE qemu-kvm: -chardev socket,id=charnet0,path=/var/lib/vhost_sockets/vhufa61fe7e-d0,server: info: QEMU waiting for connection on: disconnected:unix:/var/lib/vhost_sockets/vhufa61fe7e-d0,server   In order to understand the difference between the two modes and the advantage of moving to dpdkvhostuserclient mode, read the OvS documentation onvhostuser modes. In short, vhostuser allows Qemu to fetch/put network data to OvS-DPDK without overloading …

How to Simplify Container Image Management in Kubernetes with OpenShift Image Streams – Red Hat OpenShift Blog

Hits: 2650 Understanding and confuting Image Streams is central for getting Openshift to work as you need it to work, with images and code that you desire. Over the course of the past few weeks, I have been gathering feedback around Image Streams. This feature can cause a lot of misunderstanding and confusion, even for …

How to set a root password for your Openstack images

Hits: 1057Login via console to your failed openstack deployment While installing Redhat Openstack on Baremetal with lots of complicated networking, you might need to access Linux via the console.  Redhat images do not come with a default username and password. So you need to configure the overcloud-full image to have a default password for root.​​​​​​​ $ …