Undercloud installation fails when using a hostname different than 'undercloud'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Emilien Macchi |
Bug Description
Description of problem:
Undercloud installation fails when using a hostname different than 'undercloud'.
The failure reason is because the container images do not get uploaded to the local undercloud registry so the deployment fails not being able to find the images.
After https:/
2018-07-31 13:12:19.807 5539 WARNING tripleoclient.
2018-07-31 13:12:19.807 5539 WARNING tripleoclient.
Checking the inventory we can see:
Undercloud:
hosts:
undercloud75:
ansible_host: 192.168.0.1
ctlplane_ip: 192.168.0.1
deploy_
enabled_
tenant]
external_ip: 192.168.0.1
internal_
managemen
storage_ip: 192.168.0.1
storage_
tenant_ip: 192.168.0.1
vars: {ansible_
tripleo_
so the playbook which runs the external_
- hosts: undercloud
name: External deployment step 1
gather_facts: no
any_errors_fatal: yes
become: false
vars:
step: '1'
tasks:
- import_tasks: external_
tags:
- external
- external_
We can test the inventory by:
[stack@undercloud75 undercloud-
[WARNING]: Could not match supplied host pattern, ignoring: undercloud
[WARNING]: No hosts matched, nothing to do
[stack@undercloud75 undercloud-
undercloud75 | SUCCESS => {
"changed": false,
"ping": "pong"
}
[stack@undercloud75 undercloud-
[stack@undercloud75 undercloud-
undercloud75 | SUCCESS => {
"changed": false,
"ping": "pong"
}
[stack@undercloud75 undercloud-
vundercloud75 | SUCCESS => {
"changed": false,
"ping": "pong"
}
Version-Release number of selected component (if applicable):
openstack-
How reproducible:
100%
Steps to Reproduce:
1. Deploy containerized undercloud(with uploading images to local undercloud registry) on a machine with hostname != 'undercloud'
Actual results:
Deployment fails because of missing images.
Expected results:
Deployment succeeds.
Additional info:
Changed in tripleo: | |
milestone: | none → rocky-rc1 |
importance: | Undecided → High |
Fix proposed to branch: master /review. openstack. org/588075
Review: https:/