This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======================================================= | |
Use RHEL6 for OCP master and worker nodes | |
[vkommadi@localhost copy-ssh-keys]$ ssh root@ansible1 | |
Last login: Mon May 20 00:51:23 2019 from ovpn-116-142.sin2.redhat.com | |
[root@gprfc046 ~]# ssh master | |
Last login: Fri May 17 09:22:19 2019 from 172.16.0.1 | |
[root@openshift-master-0 ~]# cat /etc/redhat-release | |
Red Hat Enterprise Linux Server release 7.6 (Maipo) | |
[root@openshift-master-0 ~]# ls /etc/yum.repos.d/ | |
CentOS-OpenShift-Origin311.repo ose-v3.repo rhos-release.repo rhos-release-rhel-7.6.repo |