# Openstack w/ Kolla tinyurl.com/rk6alsu URLs / Links http://10.66.99.21:8080 http://192.168.122.101:15672/ (User: openstack Pass: "rabbitmq_password") https://docs.openstack.org/image-guide/obtain-images.html https://thesaitech.wordpress.com/2017/09/24/how-to-trace-the-tap-interfaces-and-linux-bridges-on-the-hypervisor-your-openstack-vm-is-on/ https://docs.openstack.org/neutron/train/admin/deploy-ovs-ha-vrrp.html https://docs.openstack.org/neutron/train/admin/deploy-ovs-ha-dvr.html#deploy-ovs-ha-dvr https://docs.openstack.org/rally/latest/ http://skydive.network/documentation/getting-started docker run -d --privileged --pid=host --net=host -p 8081:8081 -e SKYDIVE_ANALYZERS=localhost:8082 -v /var/run/docker.sock:/var/run/docker.sock skydive/skydive agent https://github.com/openstack/heat-templates/tree/master/hot ** CLI ** $ virtualenv-3 os-cli $ source os-cli/bin/activate (os-cli) $ pip install python-openstackclient **Laptop (als tux):** sudo yum install git git clone -b stable/stein https://github.com/openstack/kolla-ansible.git sudo yum install epel-release sudo yum install python36-virtualenv virtualenv-3 /home/tux/venv source /home/tux/venv/bin/activate cd ~/kolla-ansible pip install -r requirements.txt pip install ansible==2.8.8 sudo cp -r etc/kolla /etc/ sudo chown -R tux /etc/kolla tools/generate_passwords.py /etc/kolla/passwords.yml -> keystone_admin_password auf etwas "einfaches" anpassen cat ~/.ssh/config Host openstack* User $username chmod 600 ~/.ssh/config tools/kolla-ansible -i ansible/inventory/multinode prechecks auf VM openstack1 bis 3 sudo apt install python3-pip **heat** ```yaml heat_template_version: "2018-08-31" description: "version 2017-09-01 created by HOT Generator at Fri, 24 Jan 2020 09:27:14 GMT." resources: Server_1: type: "OS::Nova::Server" properties: name: foobar flavor: "m1.tiny" image: "cf18c4ce-b3e8-43da-9b14-16d576c741b8" networks: - network: "internal" depends_on: - Volume_1 Volume_1: type: "OS::Cinder::Volume" properties: name: foobarvol size: 1 Volume1Server1: type: "OS::Cinder::VolumeAttachment" properties: instance_uuid: { get_resource: Server_1 } volume_id: { get_resource: Volume_1 } ``` **Troubleshooting** docker exec kolla_toolbox openstack --os-interface internal --os-auth-url http://192.168.122.100:35357 --os-identity-api-version 3 --os-project-domain-name default --os-tenant-name admin --os-username admin --os-password admin --os-user-domain-name default --os-region-name RegionOne compute service list tail -f /var/lib/docker/volumes/kolla_logs/_data/cinder/cinder-volume.log docker exec -u0 -ti neutron_openvswitch_agent ovs-vsctl show ip netns exec qrouter-ef5317d6-69d2-4df4-bdc8-ab00ca44849b ip a