tripleo quickstart post - dianaclarke/openstack-notes GitHub Wiki

[root@tripleo ~]# su stack
[stack@tripleo root]$ virsh list
 Id    Name                           State
----------------------------------------------------
 1     undercloud                     running
 6     compute_0                      running
 7     control_0                      running
[stack@tripleo root]$ ls -lah /home/stack/pool
total 29G
drwxr-xr-x.  2 stack stack   76 Apr 19 13:41 .
drwx------. 10 stack stack 4.0K Apr 20 10:46 ..
-rw-------.  1 stack stack 5.1G Apr 20 12:42 compute_0.qcow2
-rw-------.  1 stack stack 6.9G Apr 20 12:42 control_0.qcow2
-rw-------.  1 stack stack  16G Apr 20 12:42 undercloud.qcow2
[stack@tripleo root]$ virsh dumpxml undercloud
<domain type='kvm' id='1'>
  <name>undercloud</name>
  <uuid>f4d36122-4419-435c-a867-39bcfa998c72</uuid>
  <memory unit='KiB'>12582912</memory>
  <currentMemory unit='KiB'>12582912</currentMemory>
  <vcpu placement='static'>6</vcpu>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
    <boot dev='hd'/>
    <bootmenu enable='no'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <cpu mode='host-model'>
    <model fallback='allow'/>
    <feature policy='disable' name='avx'/>
    <feature policy='disable' name='avx2'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='volume' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source pool='oooq_pool' volume='undercloud.qcow2'/>
      <backingStore/>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <controller type='usb' index='0'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:10:6d:27:23:e8'/>
      <source bridge='brext'/>
      <target dev='tap0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <interface type='bridge'>
      <mac address='00:10:6d:27:23:ea'/>
      <source bridge='brovc'/>
      <target dev='tap1'/>
      <model type='virtio'/>
      <alias name='net1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/2'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/2'>
      <source path='/dev/pts/2'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
    <video>
      <model type='cirrus' vram='16384' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>unconfined_u:unconfined_r:svirt_t:s0:c245,c658</label>
    <imagelabel>unconfined_u:object_r:svirt_image_t:s0:c245,c658</imagelabel>
  </seclabel>
</domain>
[stack@tripleo root]$ virsh dumpxml compute_0
<domain type='kvm' id='6'>
  <name>compute_0</name>
  <uuid>c62c19d1-ee37-408f-aa06-2b0880678a33</uuid>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <vcpu placement='static'>2</vcpu>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
    <boot dev='hd'/>
    <bootmenu enable='no'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <cpu mode='host-passthrough'/>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='volume' device='disk'>
      <driver name='qemu' type='qcow2' cache='unsafe'/>
      <source pool='oooq_pool' volume='compute_0.qcow2'/>
      <backingStore/>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <controller type='usb' index='0'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:70:a9:b0:73:ce'/>
      <source bridge='brovc'/>
      <target dev='tap2'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='vnc' port='5901' autoport='yes' listen='127.0.0.1'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
    <video>
      <model type='cirrus' vram='16384' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>unconfined_u:unconfined_r:svirt_t:s0:c404,c900</label>
    <imagelabel>unconfined_u:object_r:svirt_image_t:s0:c404,c900</imagelabel>
  </seclabel>
</domain>
[stack@tripleo root]$ virsh dumpxml control_0
<domain type='kvm' id='7'>
  <name>control_0</name>
  <uuid>7ff27e3b-c92a-4e9c-836a-edd2fb404339</uuid>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <vcpu placement='static'>2</vcpu>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.0.0'>hvm</type>
    <boot dev='hd'/>
    <bootmenu enable='no'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <cpu mode='host-passthrough'/>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='volume' device='disk'>
      <driver name='qemu' type='qcow2' cache='unsafe'/>
      <source pool='oooq_pool' volume='control_0.qcow2'/>
      <backingStore/>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <controller type='usb' index='0'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:70:a9:b0:73:ca'/>
      <source bridge='brovc'/>
      <target dev='tap3'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/3'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/3'>
      <source path='/dev/pts/3'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <graphics type='vnc' port='5902' autoport='yes' listen='127.0.0.1'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
    <video>
      <model type='cirrus' vram='16384' heads='1' primary='yes'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='dynamic' model='selinux' relabel='yes'>
    <label>unconfined_u:unconfined_r:svirt_t:s0:c312,c750</label>
    <imagelabel>unconfined_u:object_r:svirt_image_t:s0:c312,c750</imagelabel>
  </seclabel>
</domain>
[stack@tripleo root]$ df -h
Filesystem                   Size  Used Avail Use% Mounted on
/dev/mapper/cl_tripleo-root   50G  7.3G   43G  15% /
devtmpfs                      18G     0   18G   0% /dev
tmpfs                         18G  152K   18G   1% /dev/shm
tmpfs                         18G   41M   18G   1% /run
tmpfs                         18G     0   18G   0% /sys/fs/cgroup
/dev/mapper/cl_tripleo-home  332G   34G  298G  11% /home
/dev/vda1                   1014M  174M  841M  18% /boot
tmpfs                        3.6G  4.0K  3.6G   1% /run/user/42
tmpfs                        3.6G   16K  3.6G   1% /run/user/1000
tmpfs                        3.6G   52K  3.6G   1% /run/user/1001
[stack@tripleo root]$ ifconfig
brext: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.23.1  netmask 255.255.255.0  broadcast 192.168.23.255
        ether 52:54:00:e4:a7:10  txqueuelen 1000  (Ethernet)
        RX packets 167510  bytes 18735602 (17.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 171929  bytes 210634987 (200.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

brovc: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 52:54:00:b2:09:ae  txqueuelen 1000  (Ethernet)
        RX packets 519584  bytes 20792856 (19.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.122.151  netmask 255.255.255.0  broadcast 192.168.122.255
        inet6 fe80::740a:d9c9:8eeb:6a54  prefixlen 64  scopeid 0x20<link>
        ether 52:54:00:1f:f2:5a  txqueuelen 1000  (Ethernet)
        RX packets 947670  bytes 3064654948 (2.8 GiB)
        RX errors 0  dropped 6  overruns 0  frame 0
        TX packets 726616  bytes 52362815 (49.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tap0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fcaa:bdff:fed5:4e9  prefixlen 64  scopeid 0x20<link>
        ether fe:aa:bd:d5:04:e9  txqueuelen 1000  (Ethernet)
        RX packets 167510  bytes 21080742 (20.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 171932  bytes 210634895 (200.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tap1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fcd0:55ff:fecb:1b3b  prefixlen 64  scopeid 0x20<link>
        ether fe:d0:55:cb:1b:3b  txqueuelen 1000  (Ethernet)
        RX packets 1446839  bytes 12510963182 (11.6 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1277783  bytes 125600724 (119.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tap2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fc87:f0ff:fee0:d020  prefixlen 64  scopeid 0x20<link>
        ether fe:87:f0:e0:d0:20  txqueuelen 1000  (Ethernet)
        RX packets 640544  bytes 106083919 (101.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1125430  bytes 320266546 (305.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tap3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::fce1:39ff:fe73:1558  prefixlen 64  scopeid 0x20<link>
        ether fe:e1:39:73:15:58  txqueuelen 1000  (Ethernet)
        RX packets 1027505  bytes 115060859 (109.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 754497  bytes 428438285 (408.5 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.124.1  netmask 255.255.255.0  broadcast 192.168.124.255
        ether 52:54:00:1a:0b:b1  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
[diana@localhost ~]$ ssh -F /home/diana/.quickstart/ssh.config.ansible undercloud
[stack@undercloud ~]$ ls
cirros_images                        overcloud-cacert.pem             overcloud-full.qcow2          overcloud-validate.sh
cloud-names.yaml                     overcloud-ca-privkey.pem         overcloud-full.vmlinuz        server-cert.pem
containers-default-parameters.yaml   overcloud_create_ssl_cert.log    overcloud-prep-containers.sh  server-key.pem
enable-tls.yaml                      overcloud-create-ssl-cert.sh     overcloud_prep_flavors.log    server-req.pem
get-overcloud-nodes.py               overcloud_custom_tht_script.log  overcloud-prep-flavors.sh     stackrc
hieradata-overrides-overcloud.yaml   overcloud-custom-tht-script.sh   overcloud_prep_images.log     tempest-deployer-input.conf
hieradata-overrides-undercloud.yaml  overcloud_deploy.log             overcloud-prep-images.sh      undercloud.conf
inject-trust-anchor.yaml             overcloud_deploy_post.log        overcloud_prep_network.log    undercloud_install.log
instackenv.json                      overcloud-deploy-post.sh         overcloud-prep-network.sh     undercloud-install.sh
ironic-python-agent.initramfs        overcloud-deploy.sh              overcloudrc                   undercloud-passwords.conf
ironic-python-agent.kernel           overcloud-env.json               overcloudrc.v3                validate-template-override.yaml
network-environment.yaml             overcloud-full.initrd            overcloud_validate.log        wait_for
[stack@undercloud ~]$ source stackrc 
[stack@undercloud ~]$ nova list
+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
| ID                                   | Name                    | Status | Task State | Power State | Networks               |
+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
| 5604cb32-d6bf-4d0c-88b8-d18dec534661 | overcloud-controller-0  | ACTIVE | -          | Running     | ctlplane=192.168.24.13 |
| abb55387-38f9-4524-be34-6e3bd9679bff | overcloud-novacompute-0 | ACTIVE | -          | Running     | ctlplane=192.168.24.9  |
+--------------------------------------+-------------------------+--------+------------+-------------+------------------------+
[stack@undercloud ~]$ openstack stack list
+--------------------------------------+------------+-----------------+----------------------+--------------+
| ID                                   | Stack Name | Stack Status    | Creation Time        | Updated Time |
+--------------------------------------+------------+-----------------+----------------------+--------------+
| db32500c-694b-4042-a879-21ab62b661ca | overcloud  | CREATE_COMPLETE | 2017-04-19T18:46:33Z | None         |
+--------------------------------------+------------+-----------------+----------------------+--------------+
[stack@undercloud ~]$ source overcloudrc
[stack@undercloud ~]$ nova list
+----+------+--------+------------+-------------+----------+
| ID | Name | Status | Task State | Power State | Networks |
+----+------+--------+------------+-------------+----------+
+----+------+--------+------------+-------------+----------+
[stack@undercloud ~]$ sudo cat /etc/nova/nova.conf 
[neutron]
project_name=service
service_metadata_proxy=False
extension_sync_interval=600
password=e124a494156ae69b4de20af97bfa430a2d497250
auth_url=https://192.168.24.2:13000/v3
user_domain_name=Default
timeout=30
project_domain_name=Default
url=https://192.168.24.2:13696
ovs_bridge=br-int
region_name=
auth_type=v3password
username=neutron
[DEFAULT]
force_raw_images=True
debug=True
use_neutron=True
log_dir=/var/log/nova
scheduler_use_baremetal_filters=False
notify_api_faults=False
osapi_compute_listen=192.168.24.1
scheduler_default_filters=RetryFilter,TripleOCapabilitiesFilter,ComputeCapabilitiesFilter,AvailabilityZoneFilter,RamFilter,DiskFilter,ComputeFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
max_io_ops_per_host=8
compute_manager=ironic.nova.compute.manager.ClusteredComputeManager
sync_power_state_interval=-1
state_path=/var/lib/nova
report_interval=10
scheduler_weight_classes=nova.scheduler.weights.all_weighers
enabled_apis=metadata
osapi_compute_listen_port=8774
transport_url=rabbit://8038f70e5eccae8faa205dc20c648f43f956084d:[email protected]//
image_service=nova.image.glance.GlanceImageService
rpc_response_timeout=600
heal_instance_info_cache_interval=60
notify_on_state_change=vm_and_task_state
firewall_driver=nova.virt.firewall.NoopFirewallDriver
scheduler_host_subset_size=1
ram_allocation_ratio=1.0
default_floating_pool=nova
reserved_host_memory_mb=0
scheduler_driver=filter_scheduler
scheduler_max_attempts=30
vif_plugging_is_fatal=True
metadata_listen_port=8775
max_instances_per_host=50
scheduler_available_filters=tripleo_common.filters.list.tripleo_filters
service_down_time=60
scheduler_host_manager=ironic_host_manager
use_forwarded_for=False
osapi_volume_listen=192.168.24.1
metadata_listen=192.168.24.1
auth_strategy=keystone
compute_driver=ironic.IronicDriver
osapi_compute_workers=2
rootwrap_config=/etc/nova/rootwrap.conf
rpc_backend=rabbit
vif_plugging_timeout=300
metadata_workers=2
dhcp_domain=
force_config_drive=True
allow_resize_to_same_host=False
fping_path=/usr/sbin/fping
[keystone_authtoken]
username=nova
project_name=service
auth_type=password
auth_url=http://192.168.24.1:35357
password=74480b4c5b657cbdcd78722ebfadaabce09338e4
auth_uri=https://192.168.24.2:13000/v3
[api_database]
connection=mysql+pymysql://nova_api:[email protected]/nova_api
[conductor]
workers=2
[oslo_messaging_notifications]
driver=messaging
[ironic]
admin_tenant_name=service
admin_username=ironic
api_endpoint=https://192.168.24.2:13385/v1
admin_password=dbf84fddecdba1c98075a1df45ad99448e095fd4
admin_url=http://192.168.24.1:35357/v2.0
[glance]
api_servers=http://192.168.24.1:9292
[cinder]
catalog_info=volumev2:cinderv2:publicURL
[database]
connection=mysql+pymysql://nova:[email protected]/nova
[oslo_policy]
policy_file=/etc/nova/policy.json
[wsgi]
api_paste_config=api-paste.ini
[oslo_middleware]
enable_proxy_headers_parsing=True
[vnc]
enabled=False
[oslo_concurrency]
lock_path=/var/lib/nova/tmp
⚠️ **GitHub.com Fallback** ⚠️