Monday, November 7, 2016

Undercloud status after Overcloud Deployment RDO Newton on TripleO Quickstart

root@undercloud ~]# ip netns exec qdhcp-e4872073-d595-4dd5-ab79-6113b54b144e ifconfig
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 0  (Local Loopback)
        RX packets 6  bytes 3456 (3.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6  bytes 3456 (3.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tap73671eef-61: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.24.5  netmask 255.255.255.0  broadcast 192.168.24.255
        inet6 fe80::f816:3eff:fe61:a684  prefixlen 64  scopeid 0x20<link>
        ether fa:16:3e:61:a6:84  txqueuelen 0  (Ethernet)
        RX packets 49952  bytes 2780405 (2.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1522  bytes 144576 (141.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[root@undercloud ~]# ip netns exec qdhcp-e4872073-d595-4dd5-ab79-6113b54b144e route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags   Metric    Ref    Use Iface
0.0.0.0         192.168.24.1    0.0.0.0         UG    0          0         0   tap73671eef-61
192.168.24.0    0.0.0.0         255.255.255.0   U     0      0        0   tap73671eef-61

[root@undercloud ~]# ovs-vsctl show
c4ea4a09-ee74-4082-834d-06437263f55a
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-ctlplane
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "vlan10"
            tag: 10
            Interface "vlan10"
                type: internal
        Port br-ctlplane
            Interface br-ctlplane
                type: internal
        Port phy-br-ctlplane
            Interface phy-br-ctlplane
                type: patch
                options: {peer=int-br-ctlplane}
        Port "eth1"
            Interface "eth1"
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port int-br-ctlplane
            Interface int-br-ctlplane
                type: patch
                options: {peer=phy-br-ctlplane}
        Port br-int
            Interface br-int
                type: internal
        Port "tap73671eef-61"
            tag: 1
            Interface "tap73671eef-61"
                type: internal
    ovs_version: "2.5.0"

[root@undercloud ~]# ifconfig
br-ctlplane: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.24.1  netmask 255.255.255.0  broadcast 192.168.24.255
        inet6 fe80::20a:e4ff:fe0a:2dfd  prefixlen 64  scopeid 0x20<link>
        ether 00:0a:e4:0a:2d:fd  txqueuelen 0  (Ethernet)
        RX packets 4926628  bytes 414071235 (394.8 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9017786  bytes 42613729234 (39.6 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.23.23  netmask 255.255.255.0  broadcast 192.168.23.255
        inet6 fe80::20a:e4ff:fe0a:2dfb  prefixlen 64  scopeid 0x20<link>
        ether 00:0a:e4:0a:2d:fb  txqueuelen 1000  (Ethernet)
        RX packets 792100  bytes 870275072 (829.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 432377  bytes 53127267 (50.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet6 fe80::20a:e4ff:fe0a:2dfd  prefixlen 64  scopeid 0x20<link>
        ether 00:0a:e4:0a:2d:fd  txqueuelen 1000  (Ethernet)
        RX packets 5091716  bytes 432773135 (412.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 9335899  bytes 43089377334 (40.1 GiB)
        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 0  (Local Loopback)
        RX packets 10924590  bytes 25004366256 (23.2 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 10924590  bytes 25004366256 (23.2 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.122.1  netmask 255.255.255.0  broadcast 192.168.122.255
        ether 52:54:00:c3:2a:d9  txqueuelen 0  (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

vlan10: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.0.1  netmask 255.255.255.0  broadcast 10.0.0.255
        inet6 fe80::242c:2cff:fea7:5e37  prefixlen 64  scopeid 0x20<link>
        ether 26:2c:2c:a7:5e:37  txqueuelen 0  (Ethernet)
        RX packets 163860  bytes 17942455 (17.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 316621  bytes 474251209 (452.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


[root@undercloud ~]# ip netns exec qdhcp-e4872073-d595-4dd5-ab79-6113b54b144e ps -ef | grep dnsmasq
nobody    2415     1  0 09:08 ?        00:00:00 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
root      2416  2415  0 09:08 ?        00:00:00 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper
nobody   18963     1  0 09:20 ?        00:00:00 /sbin/dnsmasq --conf-file=/etc/ironic-inspector/dnsmasq.conf
root     19107 16367  0 16:12 pts/2    00:00:00 grep --color=auto dnsmasq
nobody   21587     1  0 09:25 ?        00:00:00 dnsmasq --no-hosts --no-resolv
 --strict-order --except-interface=lo --pid-file=/var/lib/neutron/dhcp/e4872073-d595-4dd5-ab79-6113b54b144e/pid 
--dhcp-hostsfile=/var/lib/neutron/dhcp/e4872073-d595-4dd5-
ab79-6113b54b144e/host --addn-hosts=/var/lib/neutron/dhcp/e4872073-d595-4dd5-
ab79-6113b54b144e/addn_hosts --dhcp-optsfile=/var/lib/neutron/dhcp/e4872073-
d595-4dd5-ab79-6113b54b144e/opts --dhcp-leasefile=/var/lib/neutron/dhcp/e4872073-
d595-4dd5-ab79-6113b54b144e/leases --dhcp-match=set:ipxe,175 --bind-interfaces 
--interface=tap73671eef-61 --dhcp-range=set:tag0,192.168.24.0,static,86400s --dhcp-
option-force=option:mtu,1500 --dhcp-lease-max=256 --conf-file=/etc/dnsmasq->ironic.conf --domain=openstacklocal


[root@undercloud ~]# cat /var/lib/neutron/dhcp/e4872073-d595-4dd5-ab79-6113b54b144e/opts
tag:tag0,option:classless-static-route,169.254.169.254/32,192.168.24.1,0.0.0.0/0,192.168.24.1
tag:tag0,249,169.254.169.254/32,192.168.24.1,0.0.0.0/0,192.168.24.1
tag:tag0,option:router,192.168.24.1
tag:a38c885d-9af9-413a-b5e2-d544e87996fd,tag:ipxe,option:bootfile-name,http://192.168.24.1:8088/boot.ipxe
tag:a38c885d-9af9-413a-b5e2-d544e87996fd,option:server-ip-address,192.168.24.1
tag:a38c885d-9af9-413a-b5e2-d544e87996fd,option:tftp-server,192.168.24.1
tag:a38c885d-9af9-413a-b5e2-d544e87996fd,tag:!ipxe,option:bootfile-name,undionly.kpxe
tag:ff516eb4-64d7-458b-a93c-34e208cb19bc,option:server-ip-address,192.168.24.1
tag:ff516eb4-64d7-458b-a93c-34e208cb19bc,tag:ipxe,option:bootfile-name,http://192.168.24.1:8088/boot.ipxe
tag:ff516eb4-64d7-458b-a93c-34e208cb19bc,option:tftp-server,192.168.24.1
tag:ff516eb4-64d7-458b-a93c-34e208cb19bc,tag:!ipxe,option:bootfile-name,undionly.kpxe
tag:b195412f-92d8-4b02-b8e7-6d007a308bea,tag:ipxe,option:bootfile-name,http://192.168.24.1:8088/boot.ipxe
tag:b195412f-92d8-4b02-b8e7-6d007a308bea,option:tftp-server,192.168.24.1
tag:b195412f-92d8-4b02-b8e7-6d007a308bea,tag:!ipxe,option:bootfile-name,undionly.kpxe
tag:b195412f-92d8-4b02-b8e7-6d007a308bea,option:server-ip-address,192.168.24.1
tag:58fc88fb-3ae2-4c97-8647-eafc0895868b,option:server-ip-address,192.168.24.1
tag:58fc88fb-3ae2-4c97-8647-eafc0895868b,tag:!ipxe,option:bootfile-name,undionly.kpxe
tag:58fc88fb-3ae2-4c97-8647-eafc0895868b,tag:ipxe,option:bootfile-name,http://192.168.24.1:8088/boot.ipxe
tag:58fc88fb-3ae2-4c97-8647-eafc0895868b,option:tftp-server,192.168.24.1
tag:5d886aaa-af61-4e9e-9893-05fd5dca275e,option:server-ip-address,192.168.24.1
tag:5d886aaa-af61-4e9e-9893-05fd5dca275e,tag:!ipxe,option:bootfile-name,undionly.kpxe
tag:5d886aaa-af61-4e9e-9893-05fd5dca275e,tag:ipxe,option:bootfile-name,http://192.168.24.1:8088/boot.ipxe
tag:5d886aaa-af61-4e9e-9893-05fd5dca275e,option:tftp-server,192.168.24.1
tag:a0a2db88-e476-409c-bb35-76bbe61dd3df,option:server-ip-address,192.168.24.1
tag:a0a2db88-e476-409c-bb35-76bbe61dd3df,tag:!ipxe,option:bootfile-name,undionly.kpxe
tag:a0a2db88-e476-409c-bb35-76bbe61dd3df,tag:ipxe,option:bootfile-name,http://192.168.24.1:8088/boot.ipxe
tag:a0a2db88-e476-409c-bb35-76bbe61dd3df,option:tftp-server,192.168.24.1

[root@undercloud ~]# cat /var/lib/neutron/dhcp/e4872073-d595-4dd5-ab79-6113b54b144e/addn_hosts
192.168.24.5    host-192-168-24-5.openstacklocal host-192-168-24-5
192.168.24.8    host-192-168-24-8.openstacklocal host-192-168-24-8
192.168.24.12    host-192-168-24-12.openstacklocal host-192-168-24-12
192.168.24.9    host-192-168-24-9.openstacklocal host-192-168-24-9
192.168.24.11    host-192-168-24-11.openstacklocal host-192-168-24-11
192.168.24.7    host-192-168-24-7.openstacklocal host-192-168-24-7
192.168.24.15    host-192-168-24-15.openstacklocal host-192-168-24-15
192.168.24.17    host-192-168-24-17.openstacklocal host-192-168-24-17
192.168.24.14    host-192-168-24-14.openstacklocal host-192-168-24-14

# yum -y install openstack-utils

[root@undercloud ~]# openstack-status
== Nova services ==
openstack-nova-api:                     active
openstack-nova-compute:                 active
openstack-nova-network:                 inactive  (disabled on boot)
openstack-nova-scheduler:               active
openstack-nova-cert:                    active
openstack-nova-conductor:               active
openstack-nova-console:                 inactive  (disabled on boot)
openstack-nova-consoleauth:             inactive  (disabled on boot)
openstack-nova-xvpvncproxy:             inactive  (disabled on boot)
== Glance services ==
openstack-glance-api:                   active
openstack-glance-registry:              active
== Keystone service ==
openstack-keystone:                     inactive  (disabled on boot)

== Horizon service ==
openstack-dashboard:                    404
== neutron services ==
neutron-server:                         active
neutron-dhcp-agent:                     active
neutron-l3-agent:                       inactive  (disabled on boot)
neutron-metadata-agent:                 inactive  (disabled on boot)
neutron-openvswitch-agent:              active
neutron-metering-agent:                 inactive  (disabled on boot)

== Ceilometer services ==
openstack-ceilometer-api:               inactive  (disabled on boot)
openstack-ceilometer-central:           active
openstack-ceilometer-compute:           inactive  (disabled on boot)
openstack-ceilometer-collector:         active
openstack-ceilometer-notification:      active

== Heat services ==
openstack-heat-api:                     active
openstack-heat-api-cfn:                 active
openstack-heat-api-cloudwatch:          inactive  (disabled on boot)
openstack-heat-engine:                  active

== Sahara services ==
openstack-sahara-all:                   inactive  (disabled on boot)

== Ironic services ==
openstack-ironic-api:                   active
openstack-ironic-conductor:             active

== Support services ==
mariadb:                                active
libvirtd:                               active
openvswitch:                            active
dbus:                                   active
rabbitmq-server:                        active
memcached:                              active
== Keystone users ==
/bin/openstack-status: line 267: keystone: command not found
== Glance images ==
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
| ID                                   | Name                   | Disk Format | Container Format | Size       | Status |
+--------------------------------------+------------------------+-------------+------------------+------------+--------+
| 3c8c734d-6a7a-457f-8c0b-31abcd8388dd | bm-deploy-kernel       | aki         | aki              | 5158864    | active |
| 637cc1d3-6a60-4a10-9e7f-0d360b3ed99d | bm-deploy-ramdisk      | ari         | ari              | 407490281  | active |
| 8f1311e7-8202-4683-be40-e61e7f92d506 | overcloud-full         | qcow2       | bare             | 1296066560 | active |
| 74b77990-c472-4fbe-b9b4-697241eab1f9 | overcloud-full-initrd  | ari         | ari              | 41986617   | active |
| 90992147-2e6e-4705-9932-2ea8120aea38 | overcloud-full-vmlinuz | aki         | aki              | 5158864    | active |
+--------------------------------------+------------------------+-------------+------------------+------------+--------+

== Nova managed services ==
+----+----------------+------------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary         | Host                   | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+----------------+------------------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-cert      | undercloud.localdomain | internal | enabled | up    | 2016-11-07T16:44:35.000000 | -               |
| 2  | nova-scheduler | undercloud.localdomain | internal | enabled | up    | 2016-11-07T16:44:36.000000 | -               |
| 3  | nova-conductor | undercloud.localdomain | internal | enabled | up    | 2016-11-07T16:44:36.000000 | -               |
| 5  | nova-compute   | undercloud.localdomain | nova     | enabled | up    | 2016-11-07T16:44:35.000000 | -               |
+----+----------------+------------------------+----------+---------+-------+----------------------------+-----------------+

== Nova instances ==
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+------------------------+
| ID                                   | Name                    | Tenant ID                        | Status | Task State | Power State | Networks               |
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+------------------------+


| 1fc3dbed-7e39-447d-b936-2769b1948c03 | overcloud-cephstorage-0 | 8eb4358dbfe345f5ba325ecaeffcef55 | ACTIVE | -          | Running     | ctlplane=192.168.24.11 |
| f8fc451b-8bbf-43d2-a996-b28993391b4a | overcloud-cephstorage-1 | 8eb4358dbfe345f5ba325ecaeffcef55 | ACTIVE | -          | Running     | ctlplane=192.168.24.17 |
| a94d1216-27a8-4fcb-a17b-f486b8c7135f | overcloud-controller-0  | 8eb4358dbfe345f5ba325ecaeffcef55 | ACTIVE | -          | Running     | ctlplane=192.168.24.7  |
| e3569650-8a20-4f1c-a308-ae0da16c733c | overcloud-controller-1  | 8eb4358dbfe345f5ba325ecaeffcef55 | ACTIVE | -          | Running     | ctlplane=192.168.24.9  |
| 2935c564-698c-4472-b02a-f9dace1e885b | overcloud-controller-2  | 8eb4358dbfe345f5ba325ecaeffcef55 | ACTIVE | -          | Running     | ctlplane=192.168.24.15 |
| c6cea36c-80de-4ae0-939b-dfe165e2e0bc | overcloud-novacompute-0 | 8eb4358dbfe345f5ba325ecaeffcef55 | ACTIVE | -          | Running     | ctlplane=192.168.24.12 |
+--------------------------------------+-------------------------+----------------------------------+--------+------------+-------------+------------------------+


[root@undercloud ~]# neutron net-list
+--------------------------------------+--------------+----------------------------------------+
| id                                   | name         | subnets                                |
+--------------------------------------+--------------+----------------------------------------+
| 151e8010-a995-4227-bf10-0d31e4506f75 | tenant       | a5aeadcb-ccdf-4b3e-bd4a-c1ad8bb33a76   |
|                                      |              | 172.16.0.0/24                          |
| 49bfe76f-90ed-43d1-aa80-d664b8800424 | storage      | 8c9f52eb-33e4-4d7d-b8e5-a0a79790670e   |
|                                      |              | 172.16.1.0/24                          |
| 80881337-1528-4e94-acaa-1eab189d7138 | external     | 645df7e8-df70-4cc5-8d77-05ebfa14231b   |
|                                      |              | 10.0.0.0/24                            |
| 9d930fcb-3600-4099-9146-0f99c92655a4 | storage_mgmt | fe681f0e-8072-48e5-93f8-7e295d8b0b78   |
|                                      |              | 172.16.3.0/24                          |
| a752f322-9cac-4767-a497-c398e3b6b11d | internal_api | 4e1522be-26a3-46f8-89dd-e69c4024fc43   |
|                                      |              | 172.16.2.0/24                          |
| e4872073-d595-4dd5-ab79-6113b54b144e | ctlplane     | dc308146-b4c2-4343-afc9-ad8afc3b6fb1   |
|                                      |              | 192.168.24.0/24                        |
+--------------------------------------+--------------+----------------------------------------+


[root@undercloud ~]# openstack service list
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
+----------------------------------+------------------+-------------------------+
| ID                               | Name             | Type                    |
+----------------------------------+------------------+-------------------------+
| 0f07aeb99ac0406da474fb95268169a1 | ironic           | baremetal               |
| 28ca9cda2bf74e819cd48b6703ea949b | glance           | image                   |
| 2aaec054c6ee4bda88819589cc454290 | swift            | object-store            |
| 4aa115d6661d414185b6471ea128c21c | neutron          | network                 |
| 5d3486dac8f14116952958f1c542115d | nova             | compute                 |
| 87b2abf8a3da40848917684f7cc224fb | aodh             | alarming                |
| 93a5f95948ba4b17add1075a8620df49 | ceilometer       | metering                |
| a4a3164141d1403a982d2ba7b360d591 | zaqar            | messaging               |
| c1d72084bef34ddd89319a44a45d2fb0 | keystone         | identity                |
| c5529e7a6b204e41a8737dd93c18f95e | ironic-inspector | baremetal-introspection |
| d3e5e03fa2e44cce83c364866ac80986 | zaqar-websocket  | messaging-websocket     |
| dae395bca2824ef0ab7bf73400851457 | heat             | orchestration           |
| fda8039fab2f4f50bbe6382d9e568f1d | mistral          | workflowv2              |
+----------------------------------+------------------+-------------------------+



[root@undercloud ~]# openstack endpoint list
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils
+----------------------------------+-----------+------------------+-------------------------+
| ID                               | Region    | Service Name     | Service Type            |
+----------------------------------+-----------+------------------+-------------------------+
| f26b011cffdb4ea7b60b364afebc509a | regionOne | zaqar            | messaging               |
| 7631e21e59dd44d8b5a8616373cbc9f5 | regionOne | mistral          | workflowv2              |
| e4611418a3bb49188a9636a0fefa8579 | regionOne | aodh             | alarming                |
| f6c8bada40a846b3875d009e92d75574 | regionOne | glance           | image                   |
| c94d98e6787e4938b4fdd44e59028c02 | regionOne | ironic-inspector | baremetal-introspection |
| 87b453c75e31480ea2f8f6d871da4dce | regionOne | neutron          | network                 |
| 6e77b26744f14264a6d7401e9471e351 | regionOne | ceilometer       | metering                |
| 470bd819fca74f6da81f7e7d022643f9 | regionOne | heat             | orchestration           |
| a2ae85a34d314f1ca444ee78e9298104 | regionOne | ironic           | baremetal               |
| f00806bbf4504bfb9bd8465e79d99990 | regionOne | swift            | object-store            |
| 5765fda7f51c4ea2934438c97a3b217e | regionOne | nova             | compute                 |
| a5f9a89cf5b244d88dcb7303ac098f70 | regionOne | keystone         | identity                |
| e83d58726e5449f8a94265724f54b889 | regionOne | zaqar-websocket  | messaging-websocket     |
+----------------------------------+-----------+------------------+-------------------------+



No comments:

Post a Comment