The steps in the RHOP 9 Guide fail.. Is this a Bug ? Error: Package: openstack-selinux-0.7.11-1.el7ost.noarch (rhel-7-server-openstack-9-rpms)

Posted on

Hi David,

I am struck at the below point from the below link ... section "5.1. Registering Nodes for the Overcloud"..

https://access.redhat.com/documentation/en/red-hat-openstack-platform/8/paged/director-installation-and-usage/chapter-5-configuring-basic-overcloud-requirements
Please advise...

Error contacting Ironic server: Service Unavailable (HTTP 503). Attempt 6 of 6

[stack@director ~]$ openstack overcloud image upload --image-path /home/stack/
Image "overcloud-full-vmlinuz" was uploaded.
+--------------------------------------+------------------------+-------------+---------+--------+
| ID | Name | Disk Format | Size | Status |
+--------------------------------------+------------------------+-------------+---------+--------+
| 7e436450-b7b0-4e4b-841c-8e8c549adb4b | overcloud-full-vmlinuz | aki | 5391264 | active |
+--------------------------------------+------------------------+-------------+---------+--------+
Image "overcloud-full-initrd" was uploaded.
+--------------------------------------+-----------------------+-------------+----------+--------+
| ID | Name | Disk Format | Size | Status |
+--------------------------------------+-----------------------+-------------+----------+--------+
| 1711dab9-d325-4792-b554-b91a985d94d9 | overcloud-full-initrd | ari | 53673738 | active |
+--------------------------------------+-----------------------+-------------+----------+--------+
Image "overcloud-full" was uploaded.
+--------------------------------------+----------------+-------------+------------+--------+
| ID | Name | Disk Format | Size | Status |
+--------------------------------------+----------------+-------------+------------+--------+
| 5539c4aa-a825-4af0-85c0-335cca7a84f9 | overcloud-full | qcow2 | 1141725696 | active |
+--------------------------------------+----------------+-------------+------------+--------+
Image "bm-deploy-kernel" was uploaded.
+--------------------------------------+------------------+-------------+---------+--------+
| ID | Name | Disk Format | Size | Status |
+--------------------------------------+------------------+-------------+---------+--------+
| ce14dd3d-84b4-4eb3-bdb9-f34efc20e870 | bm-deploy-kernel | aki | 5391264 | active |
+--------------------------------------+------------------+-------------+---------+--------+
Image "bm-deploy-ramdisk" was uploaded.
+--------------------------------------+-------------------+-------------+-----------+--------+
| ID | Name | Disk Format | Size | Status |
+--------------------------------------+-------------------+-------------+-----------+--------+
| 9223b6ed-8611-460a-898c-977e7542e0eb | bm-deploy-ramdisk | ari | 395132876 | active |
+--------------------------------------+-------------------+-------------+-----------+--------+
[stack@director ~]$ openstack image list
+--------------------------------------+------------------------+--------+
| ID | Name | Status |
+--------------------------------------+------------------------+--------+
| ce14dd3d-84b4-4eb3-bdb9-f34efc20e870 | bm-deploy-kernel | active |
| 9223b6ed-8611-460a-898c-977e7542e0eb | bm-deploy-ramdisk | active |
| 5539c4aa-a825-4af0-85c0-335cca7a84f9 | overcloud-full | active |
| 1711dab9-d325-4792-b554-b91a985d94d9 | overcloud-full-initrd | active |
| 7e436450-b7b0-4e4b-841c-8e8c549adb4b | overcloud-full-vmlinuz | active |
+--------------------------------------+------------------------+--------+
[stack@director ~]$ ls -l /httpboot
total 391144
-rwxr-xr-x. 1 root root 5391264 Nov 26 00:17 agent.kernel
-rw-r--r--. 1 root root 395132876 Nov 26 00:17 agent.ramdisk
-rw-r--r--. 1 ironic ironic 428 Nov 25 22:26 inspector.ipxe
[stack@director ~]$ neutron subnet-list
+--------------------------------------+------+--------------+---------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+------+--------------+---------------------------------------------+
| 74cb0470-09ba-4a9e-865a-dcbad66a1df1 | | 192.0.2.0/24 | {"start": "192.0.2.5", "end": "192.0.2.24"} |
+--------------------------------------+------+--------------+---------------------------------------------+
[stack@director ~]$ neutron subnet-update 74cb0470-09ba-4a9e-865a-dcbad66a1df1 --dns-nameserver 192.0.2.0/24
Invalid input for dns_nameservers. Reason: '192.0.2.0/24' is not a valid nameserver. '192.0.2.0/24' is not a valid IP address.
Neutron server returns request_ids: ['req-426b9a01-7cc6-45a7-9194-456b31607232']
[stack@director ~]$ neutron subnet-show 74cb0470-09ba-4a9e-865a-dcbad66a1df1
+-------------------+---------------------------------------------------------------+
| Field | Value |
+-------------------+---------------------------------------------------------------+
| allocation_pools | {"start": "192.0.2.5", "end": "192.0.2.24"} |
| cidr | 192.0.2.0/24 |
| created_at | 2016-11-25T22:47:09 |
| description | |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 192.0.2.1 |
| host_routes | {"destination": "169.254.169.254/32", "nexthop": "192.0.2.1"} |
| id | 74cb0470-09ba-4a9e-865a-dcbad66a1df1 |
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | |
| network_id | 631583bf-532b-40a0-8cea-87c1668c8e99 |
| subnetpool_id | |
| tenant_id | 46995b0d88ff465b8a80b592dd574a96 |
| updated_at | 2016-11-25T22:47:09 |
+-------------------+---------------------------------------------------------------+
[stack@director ~]$ ifconfig -a
br-ctlplane: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.0.2.1 netmask 255.255.255.0 broadcast 192.0.2.255
inet6 fe80::9eb6:54ff:fe78:2ef5 prefixlen 64 scopeid 0x20
ether 9c:b6:54:78:2e:f5 txqueuelen 1000 (Ethernet)
RX packets 5 bytes 320 (320.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 25 bytes 3647 (3.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

br-int: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether de:73:40:3c:6b:48 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 8 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 172.30.1.200 netmask 255.255.0.0 broadcast 172.30.255.255
inet6 fe80::9eb6:54ff:fe78:2ef4 prefixlen 64 scopeid 0x20
ether 9c:b6:54:78:2e:f4 txqueuelen 1000 (Ethernet)
RX packets 2525137 bytes 3466753900 (3.2 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 544815 bytes 44252857 (42.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device memory 0xf7a00000-f7afffff

eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 9c:b6:54:78:2e:f5 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
device memory 0xf7800000-f78fffff

eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 5c:b9:01:92:bf:90 txqueuelen 1000 (Ethernet)
RX packets 1357 bytes 457326 (446.6 KiB)
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

eth3: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 5c:b9:01:92:bf:91 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

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

ovs-system: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 1e:7a:13:dc:71:e7 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

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:82:37:4c 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

virbr0-nic: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 52:54:00:82:37:4c 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

[stack@director ~]$
[stack@director ~]$
[stack@director ~]$ pwd
/home/stack
[stack@director ~]$ sudo instackenv.json
sudo: instackenv.json: command not found
[stack@director ~]$ sudo /home/stack/instackenv.json
sudo: /home/stack/instackenv.json: command not found
[stack@director ~]$ sudo vi /home/stack/instackenv.json
{

"nodes":[
{

    "mac":[
            "5c:b9:01:92:57:3c"
        ],
        "cpu":"4",
        "memory":"6144",
        "disk":"40",
        "arch":"x86_64",
        "pm_type":"pxe_ipmitool",
        "pm_user":"admin",
        "pm_password":"p@55w0rd!",
        "pm_addr":"192.0.2.205"
    },
    {
        "mac":[
            "5c:b9:01:92:bc:b8"
        ],
        "cpu":"4",
        "memory":"6144",
        "disk":"40",
        "arch":"x86_64",
        "pm_type":"pxe_ipmitool",
        "pm_user":"admin",
        "pm_password":"p@55w0rd!",
        "pm_addr":"192.0.2.206"
    }
]

}
~
~
~
~
~
~
"instackenv.json" [New] 32L, 718C written
[stack@director ~]$ openstack baremetal import --json ~/instackenv.json
Error contacting Ironic server: Service Unavailable (HTTP 503). Attempt 6 of 6
Service Unavailable (HTTP 503)
[stack@director ~]$

Responses