Skip to content

Instantly share code, notes, and snippets.

View venkataanil's full-sized avatar

venkataanil venkataanil

  • Red Hat
  • Bangalore
View GitHub Profile
1) [root@gprfc045 infrared]# cat /infrared/oc_extra_templates.yml
---
tripleo_heat_templates:
- /home/stack/networks-disable.yaml
- /usr/share/openstack-tripleo-heat-templates/environments/disable-telemetry.yaml
[root@gprfc045 infrared]#
2) copy instackenv.json from undercloud to /infrared in ansible/infrared node
3) in undercloud /home/stack/network_data.yaml
git clone https://github.com/openstack/browbeat.git
cd browbeat
cd ansible
./generate_tripleo_hostfile.sh -l
#edit
vi install/vars/all.yml
#set
# dns_server : 10.11.5.9
# collectd_compute: true
[[local|localrc]]
DATABASE_PASSWORD=password
RABBIT_PASSWORD=password
SERVICE_PASSWORD=password
SERVICE_TOKEN=password
ADMIN_PASSWORD=password
disable_service n-net
enable_service q-svc
[root@overcloud-controller-0 neutron]# grep -inr fa042939-aba0-4bf3-8007-fb888f909a9e 1
365313:Jun 10 07:50:10 overcloud-controller-0 dockerd-current[46063]: time="2019-06-10T07:50:10.107112993Z" level=error msg="Handler for POST /v1.26/containers/neutron-dnsmasq-qdhcp-fa042939-aba0-4bf3-8007-fb888f909a9e/stop returned error: No such container: neutron-dnsmasq-qdhcp-fa042939-aba0-4bf3-8007-fb888f909a9e"
365314:Jun 10 07:50:10 overcloud-controller-0 dockerd-current[46063]: time="2019-06-10T07:50:10.107322882Z" level=error msg="Handler for POST /v1.26/containers/neutron-dnsmasq-qdhcp-fa042939-aba0-4bf3-8007-fb888f909a9e/stop returned error: No such container: neutron-dnsmasq-qdhcp-fa042939-aba0-4bf3-8007-fb888f909a9e"
365315:Jun 10 07:50:10 overcloud-controller-0 dockerd-current[46063]: time="2019-06-10T07:50:10.129916831Z" level=error msg="Handler for DELETE /v1.26/containers/neutron-dnsmasq-qdhcp-fa042939-aba0-4bf3-8007-fb888f909a9e?force=1 returned error: No such container: neutron-dnsmasq-qdhcp-fa042939-aba
2019-06-10 08:03:59.528 159786 ERROR neutron.agent.dhcp.agent [req-f8365cd2-c790-4ac9-844f-a6cb8bce98fd c33f02381e1c479586489e1b6686a71f 3ba6344f83c743ef9640403661af3199 - - -] Unable to reload_allocations dhcp for ff7ee612-d52a-4ece-9f1f-c4cf84be019c.: ProcessExecutionError: Exit code: 125; Stdin: ; Stdout: neutron-dnsmasq-qdhcp-ff7ee612-d52a-4ece-9f1f-c4cf84be019c
; Stderr: Error response from daemon: removal of container neutron-dnsmasq-qdhcp-ff7ee612-d52a-4ece-9f1f-c4cf84be019c is already in progress
/usr/bin/docker-current: Error response from daemon: Conflict. The container name "/neutron-dnsmasq-qdhcp-ff7ee612-d52a-4ece-9f1f-c4cf84be019c" is already in use by container e0ead3352db8f1586cee98d419932713f36684a525caca9f79db15303bf25fe3. You have to remove (or rename) that container to be able to reuse that name..
See '/usr/bin/docker-current run --help'.
2019-06-10 08:03:59.528 159786 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
2019-06-10 08:03:59.528 159786 ERROR neutron.agent.dhcp.
read https://wiki.libvirt.org/page/VirtualNetworking along with below data
The above deostn't talk about bridged networking.
For bridged networking https://wiki.libvirt.org/page/Networking
[stack@gprfs036 infrared]$ brctl show
bridge name bridge id STP enabled interfaces
data 8000.525400520d57 yes data-nic
vnet0
vnet3
TASK [copy default undercloud config] ******************************************
^[[1;30mtask path: /root/.infrared/plugins/tripleo-undercloud/configure.yml:64^[[0m
^[[0;31mfatal: [undercloud_host]: FAILED! => {"changed": false, "msg": "Source /usr/share/python3-tripleoclient/undercloud.conf.sample not found"}^[[0m
# this can be used for non-ovn i.e ml2/ovs based deployment as well.
curl -o rhos-release-latest.noarch.rpm http://download-node-02.eng.bos.redhat.com/rcm-guest/puddles/OpenStack/rhos-release/rhos-release-latest.noarch.rpm
yum install -y rhos-release-latest.noarch.rpm
rhos-release --help
rhos-release 13-director -p passed_phase2
yum update -y; reboot
=======================================
yum install tmux -y
tmux new -s osp
git clone https://github.com/openstack/browbeat.git
cd browbeat
cd ansible
./generate_tripleo_hostfile.sh -l
[stack@f27-h32-000-r630 ansible]$ cat /etc/resolv.conf
# Generated by NetworkManager
search rdu2.scalelab.redhat.com
nameserver 10.1.32.3
==================== Failing node ====================================================================
[root@overcloud-compute-13 heat-admin]# grep -inr enp2s0f0 /var/log/messages
1038:Oct 22 06:20:01 overcloud-compute-13 NetworkManager[1940]: <info> [1571739601.7204] manager: (enp2s0f0): new Ethernet device (/org/freedesktop/NetworkManager/Devices/3)
1039:Oct 22 06:20:01 overcloud-compute-13 NetworkManager[1940]: <info> [1571739601.7211] device (enp2s0f0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
1040:Oct 22 06:20:01 overcloud-compute-13 kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s0f0: link is not ready
1041:Oct 22 06:20:01 overcloud-compute-13 kernel: ixgbe 0000:02:00.0: registered PHC device on enp2s0f0
1050:Oct 22 06:20:01 overcloud-compute-13 kernel: IPv6: ADDRCONF(NETDEV_UP): enp2s0f0: link is not ready
1057:Oct 22 06:20:01 overcloud-compute-13 kernel: ixgbe 0000:02:00.0 enp2s0f0: detected SFP+: 3
1067:Oct 22 06:20:02 overcloud-compute-13 NetworkManager[1940]: