OpenShift 4.x installation on OpenStack 13 fails with Unauthorized when trying to access swift on port :8080

Solution In Progress - Updated -

Issue

OpenShift 4.x installation on OpenStack 13 fails with Unauthorized when trying to access swift on port :8080

  • nova console-log <name> of the bootstrap node shows:
(...)
0;32m  OK  [0m] Stopped dracut cmdline hook.
[[0;32m  OK  [0m] Stopped dracut ask for additional cmdline parameters.
         Starting Setup Virtual Console...
[[0;32m  OK  [0m] Closed udev Kernel Socket.
[[0;32m  OK  [0m] Closed udev Control Socket.
[[0;32m  OK  [0m] Started Setup Virtual Console.
[[0;32m  OK  [0m] Started Emergency Shell.
[[0;32m  OK  [0m] Reached target Emergency Mode.
-------------------------------------------------------------------------------
Ignition has failed. Please ensure your config is valid. Note that only Ignition spec
v2.x.x configs are accepted.
A CLI validation tool to check this called ignition-validate can be downloaded from GitHub:
    https://github.com/coreos/ignition/releases
Note that the v0.x Ignition releases have the correct validator for config spec v2.x.x.
Here are the Ignition logs:
[0;1;31m[0mIgnition 0.33.0
[0;1;31m[0mreading system config file "/usr/lib/ignition/base.ign"
[0;1;31m[0mparsing config with SHA512: f5b0d067579d19bcee06ea95bcc9ed79a838db83f9dc9788af6e01229519ebf50ee96d330203701c481b1e11471704783f9996597eb2084d6294c7ba7f4db58e
[0;1;31m[0mparsed url from cmdline: ""
[0;1;31m[0mno config URL provided
[0;1;31m[0mreading system config file "/usr/lib/ignition/user.ign"
[0;1;31m[0mno config at "/usr/lib/ignition/user.ign"
[0;1;31m[0mconfig drive ("/dev/disk/by-label/config-2") not found. Waiting...
[0;1;31m[0mGET http://169.254.169.254/openstack/latest/user_data: attempt #1
[0;1;31m[0mconfig drive ("/dev/disk/by-label/CONFIG-2") not found. Waiting...
[0;1;31m[0mGET error: Get http://169.254.169.254/openstack/latest/user_data: dial tcp 169.254.169.254:80: connect: network is unreachable
[0;1;31m[0mGET http://169.254.169.254/openstack/latest/user_data: attempt #2
[0;1;31m[0mGET error: Get http://169.254.169.254/openstack/latest/user_data: dial tcp 169.254.169.254:80: connect: network is unreachable
[0;1;31m[0mGET http://169.254.169.254/openstack/latest/user_data: attempt #3
[0;1;31m[0mGET error: Get http://169.254.169.254/openstack/latest/user_data: dial tcp 169.254.169.254:80: connect: network is unreachable
[0;1;31m[0mconfig drive ("/dev/disk/by-label/config-2") not found. Waiting...
[0;1;31m[0mconfig drive ("/dev/disk/by-label/CONFIG-2") not found. Waiting...
[0;1;31m[0mGET http://169.254.169.254/openstack/latest/user_data: attempt #4
[0;1;31m[0mGET error: Get http://169.254.169.254/openstack/latest/user_data: dial tcp 169.254.169.254:80: connect: network is unreachable
[0;1;31m[0mconfig drive ("/dev/disk/by-label/config-2") not found. Waiting...
[0;1;31m[0mconfig drive ("/dev/disk/by-label/CONFIG-2") not found. Waiting...
[0;1;31m[0mconfig drive ("/dev/disk/by-label/config-2") not found. Waiting...
[0;1;31m[0mconfig drive ("/dev/disk/by-label/CONFIG-2") not found. Waiting...
[0;1;31m[0mGET http://169.254.169.254/openstack/latest/user_data: attempt #5
[0;1;31m[0mconfig drive ("/dev/disk/by-label/config-2") not found. Waiting...
[0;1;31m[0mconfig drive ("/dev/disk/by-label/CONFIG-2") not found. Waiting...
[0;1;31m[0mGET result: OK
[0;1;31m[0mGET http://172.16.0.108:8080/v1/AUTH_94108130319a428cbb99b5988e8ba0f1/osc-26czn/bootstrap.ign?temp_url_sig=a080a6676100588b62ae1eabd69b7468b7ccb744&temp_url_expires=1577125225: attempt #1
[0;1;31m[0mGET result: Unauthorized
[0;1;31m[0mfailed to fetch config: failed to fetch resource
[0;1;31m[0mfailed to acquire config: failed to fetch resource
[0;1;31m[0mIgnition failed: failed to fetch resource
Press Enter for emergency shell or wait 5 minutes for reboot.                 Press Enter for emergency shell or wait 4 minutes 45 seconds for reboot.      Press Enter for emergency shell or wait 4 minutes 30 seconds for reboot.      Press Enter for emergency shell or wait 4 minutes 15 seconds for reboot.      Press Enter for emergency shell or wait 4 minutes for reboot.                 Press Enter for emergency shell or wait 3 minutes 45 seconds for reboot.      Press Enter for emergency shell or wait 3 minutes 30 seconds for reboot.      Press Enter for emergency shell or wait 3 minutes 15 seconds for reboot.      Press Enter for emergency shell or wait 3 minutes for reboot.                 Press Enter for emergency shell or wait 2 minutes 45 seconds for reboot.      Press Enter for emergency shell or wait 2 minutes 30 seconds for reboot.      Press Enter for emergency shell or wait 2 minutes 15 seconds for reboot.      Press Enter for emergency shell or wait 2 minutes for reboot.                 Press Enter for emergency shell or wait 1 minute 45 seconds for reboot.      Press Enter for emergency shell or wait 1 minute 30 seconds for reboot.      Press Enter for emergency shell or wait 1 minute 15 seconds for reboot.      Press Enter for emergency shell or wait 1 minute for reboot.                 Press Enter for emergency shell or wait 0 minutes 45 seconds for reboot.      
  • the main floating IP of the bootstrap node can be pinged

  • the API floating IP does not ping

  • it's not possible to SSH into the bootstrap node

Environment

OpenShift 4.2
Red Hat OpenStack Platform 13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content