503 Service Unavailable: No server is available to handle this request. (HTTP 503) Glance api

Posted on

We are trying to install Openstack 13 on 3 node setup as mentioned below

Director Node Proliant DL360 Gen9 CPU:8 Memory:16 Disk: 136GB Controller Node Dell PowerEdge R730xd CPU:8 Memory:128 Disk: 111GB Compute Node Proliant DL350P Gen8 CPU:6 Memory:48 Disk: 146GB

Undercloud is successfully Installed.

Overcloud deployment is failing again and again with below 3 different errors.

1)Unable to import overcloud images into the director

(undercloud) [stack@director ~]$ openstack overcloud image upload --image-path /home/stack/images/
503 Service Unavailable: No server is available to handle this request. (HTTP 503)
(undercloud) [stack@director ~]$

(undercloud) [stack@director ~]$ openstack image list
Service Unavailable (HTTP 503)
(undercloud) [stack@director ~]$

2)Unable to restart openstack-glance-api.service

(undercloud) [stack@director' ~]$ sudo systemctl restart openstack-glance-api.service (undercloud) [stack@director' ~]$ sudo systemctl status openstack-glance-api.service ● openstack-glance-api.service - OpenStack Image Service (code-named Glance) API server Loaded: loaded (/usr/lib/systemd/system/openstack-glance-api.service; enabled; vendor preset: disabled) Active: failed (Result: start-limit) since Mon 2018-10-15 10:26:15 GMT; 2s ago Process: 5268 ExecStart=/usr/bin/glance-api (code=exited, status=1/FAILURE) Main PID: 5268 (code=exited, status=1/FAILURE)

Oct 15 10:26:15 director.example.com systemd[1]: Unit openstack-glance-api.service entered failed state. Oct 15 10:26:15 director.example.com systemd[1]: openstack-glance-api.service failed. Oct 15 10:26:15 director.example.com systemd[1]: openstack-glance-api.service holdoff time over, scheduling restart. Oct 15 10:26:15 director.example.com systemd[1]: start request repeated too quickly for openstack-glance-api.service Oct 15 10:26:15 director.example.com systemd[1]: Failed to start OpenStack Image Service (code-named Glance) API server. Oct 15 10:26:15 director.example.com systemd[1]: Unit openstack-glance-api.service entered failed state. Oct 15 10:26:15 director.example.com systemd[1]: openstack-glance-api.service failed. (undercloud) [stack@director' ~]$

3) Thus overcloud deployment failing with errors as mentioned below

(undercloud) [stack@director templates]$ openstack overcloud deploy --templates --environment-directory ~/templates Started Mistral Workflow tripleo.validations.v1.check_pre_deployment_validations. Execution ID: 5d192b53-39e1-4a12-82ca-b9cb3a697db5
Waiting for messages on queue 'tripleo' with no timeout.
[{u'errors': [u'Node 4783f1e0-7c0d-4890-89fa-ac7339fe773c has an incorrectly configured driver_info/deploy_ramdisk. Expected "None" but got "9d1706a6-a209-4a31-99a8-7bca1aa603b7".', u'Node 4783f1e0-7c0d-4890-89fa-ac7339fe773c has an incorrectly configured driver_info/deploy_kernel. Expected "None" but got "aea58ceb-b88d-4986-962c-46b066daf8ed".'], u'warnings': []}, {u'errors': [u'Node 7bff5fe5-0374-4011-8e0d-6962472a2d42 has an incorrectly configured driver_info/deploy_ramdisk. Expected "None" but got "9d1706a6-a209-4a31-99a8-7bca1aa603b7".', u'Node 7bff5fe5-0374-4011-8e0d-6962472a2d42 has an incorrectly configured driver_info/deploy_kernel. Expected "None" but got "aea58ceb-b88d-4986-962c-46b066daf8ed".'], u'warnings': []}] ERRORS [u'Node 4783f1e0-7c0d-4890-89fa-ac7339fe773c has an incorrectly configured driver_info/deploy_ramdisk. Expected "None" but got "9d1706a6-a209-4a31-99a8-7bca1aa603b7".', u'Node 4783f1e0-7c0d-4890-89fa-ac7339fe773c has an incorrectly configured driver_info/deploy_kernel. Expected "None" but got "aea58ceb-b88d-4986-962c-46b066daf8ed".', u'Node 7bff5fe5-0374-4011-8e0d-6962472a2d42 has an incorrectly configured driver_info/deploy_ramdisk. Expected "None" but got "9d1706a6-a209-4a31-99a8-7bca1aa603b7".', u'Node 7bff5fe5-0374-4011-8e0d-6962472a2d42 has an incorrectly configured driver_info/deploy_kernel. Expected "None" but got "aea58ceb-b88d-4986-962c-46b066daf8ed".', u'Node 4783f1e0-7c0d-4890-89fa-ac7339fe773c has an incorrectly configured driver_info/deploy_ramdisk. Expected "None" but got "9d1706a6-a209-4a31-99a8-7bca1aa603b7".', u'Node 4783f1e0-7c0d-4890-89fa-ac7339fe773c has an incorrectly configured driver_info/deploy_kernel. Expected "None" but got "aea58ceb-b88d-4986-962c-46b066daf8ed".', u'Node 7bff5fe5-0374-4011-8e0d-6962472a2d42 has an incorrectly configured driver_info/deploy_ramdisk. Expected "None" but got "9d1706a6-a209-4a31-99a8-7bca1aa603b7".', u'Node 7bff5fe5-0374-4011-8e0d-6962472a2d42 has an incorrectly configured driver_info/deploy_kernel. Expected "None" but got "aea58ceb-b88d-4986-962c-46b066daf8ed".']
Configuration has 8 errors, fix them before proceeding. Ignoring these errors is likely to lead to a failed deploy.

(undercloud) [stack@director templates]$

Responses