setup-openstack fails at upgrade check, placement API endpoint not found

Bug #1859128 reported by shaji khan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Unassigned

Bug Description

Train (20.0.0)

- setup-openstack fails while deploying the first compute node.
- infra nodes seem to work fine
- Failure in nova-status upgrade check to validate a healthy configuration task
- The upgrade check fails for "Placement API endpoint not found"

I'm following https://docs.openstack.org/project-deploy-guide/openstack-ansible/train/overview.html and using a setup similar to Production Environment.

I could not find anything in the docs about how to configure the placement service. Any help will be much appreciated.

Thanks,

Revision history for this message
shaji khan (shajikhan) wrote :

Update:

The current deployment guide and user guide (the openstack_user_config section) do not clarify that we need to add placement hosts as well; in the openstack_user_config.yml file.

# placement
placement-infra_hosts:
  infra1:
    ip: 172.29.236.11
and so on... if you have more than one hosts used for Placement service.

This is related to a patch for a fixed .example file here (Thanks to jrosser for clarifying): https://review.opendev.org/#/c/701548/1/etc/openstack_deploy/openstack_user_config.yml.test.example

Overall, if you had this fail during deployment:
- Be sure to add placement host(s) within openstack_user_config.yml
- rerun "setup-hosts.yml" then "setup-infrastructure.yml" then "setup-openstack.yml"

Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

I guess we've added extra mentions to that in docs:
https://review.opendev.org/#/c/702934/
https://review.opendev.org/#/c/701548/

Also upgrade guide itself has mention to launch playbook with placement_upgrade variable set. Also there was an extra improval of upgrade script after 20.0.0 (iirc it's already in for 20.0.1) - https://review.opendev.org/#/c/710786/1

If you feel that we still missing mentioning somewhere in docs, please let us know about it (or place a fix :))

Changed in openstack-ansible:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.