Getting drive device output for ceph from undercloud introspection 

Hits: 164In order to prepare the template for mapping ceph drives for the Redhat Openstack Overcloud run the following. openstack baremetal introspection data save <UUID>1a4e30da-b6dc-499d-ba87-0bd8a3819bc0 | jq “.inventory.disks” (undercloud) $ openstack baremetal introspection data save 1a4e30da-b6dc-499d-ba87-0bd8a3819bc0 | jq “.inventory.disks” Source: Deploying an Overcloud with Containerized Red Hat Ceph – Red Hat Customer Portal

Set additional ceph pools for use in Openstack

Hits: 148 CinderRbdExtraPools: default: ” description: > List of extra Ceph pools for use with RBD backends for Cinder. An extra Cinder RBD backend driver is created for each pool in the list. This is in addition to the standard RBD backend driver associated with the CinderRbdPoolName. type: comma_delimited_list Any pools specified in the (optional) …

How to use ovs-tcpdump on vhost-user interfaces in Red Hat OpenStack Platform? yum install

Hits: 139 How to use ovs-tcpdump on vhost-user interfaces in Red Hat OpenStack Platform? ovs-tcpdump Regular Linux utilities can’t monitor everything that goes on inside OpenVswitch. The standard tcpdump utility can dump from devices that it knows about but not what’s going on inside the OpenVswitch. You can install ovs-tcpdump and use it similar to the …

Disconnected Registry for Red Hat Openstack and Openshift

Hits: 176Setup 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: 204 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 …

Ping all of your hosts in the cloud or on premises with an ansible playbook

Hits: 137Today’s enterprises and small tech companies have multiple cloud instances as well as on premise bare metal. When you run ansible commands on these, you expect them to work. However, sometimes VMs and instances are not reachable.   To make sure that you have access to all of your hosts that exist in your /etc/ansible/hosts …

How to do multiline shell script in Ansible 

Hits: 223I 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: 161Do 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