Undercloud_undercloud_node_name does not allow to alter endpoints FQDNs for containerized undercloud

Bug #1733873 reported by Bogdan Dobrelya
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Bogdan Dobrelya

Bug Description

T-h-t 'Cloud*' parameters should be customizable with quickstart and provide a smooth UX for both overcloud and undercloud (containerized) deployment cases.

The 'undercloud_undercloud_hostname' and 'overcloud_cloud_domain' inventory variables only partially address the case for custom endpoints' FQDNs. The latter only parametrizes t-h-t 'Cloud*' params for overclouds. The former applies to undercloud.conf only and does not take effect for containerized underclouds.

Additionally, tripleo-client's undercloud-deploy hardcodes the domain name for undercloud http://git.openstack.org/cgit/openstack/python-tripleoclient/tree/tripleoclient/v1/undercloud_deploy.py#n129 .

In the end, some issues may be observed when containerized undercloud FQDN does not correctly resolve via /etc/hosts entries generated by t-h-t deployments. See https://bugs.launchpad.net/tripleo/+bug/1698349 as an example.

Changed in tripleo:
importance: Undecided → Medium
milestone: none → queens-2
tags: added: containers quickstart ux
description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/522298

Changed in tripleo:
assignee: nobody → Bogdan Dobrelya (bogdando)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-quickstart-extras (master)

Change abandoned by Bogdan Dobrelya (<email address hidden>) on branch: master
Review: https://review.openstack.org/522266
Reason: at first, I was thinking to allow custom undercloud endpoints starting from t-h-t, then quickstart, and the client as well... But that's too much of the things to start with. So I reworked a baby step as an autonomous client option, that just heals the hardcode in the client. Hopefully, we'll end up having those Cloud* for uncercloud in t-h-t and quickstart params as well, eventually!
   4:58:28 PM GMT+1 - bogdando: at least, this little change unblocks me with RDO cloud domain names != defaults :)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.openstack.org/522298
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=909a9f753007f4cb10fc36a45934cccd6ce753cf
Submitter: Zuul
Branch: master

commit 909a9f753007f4cb10fc36a45934cccd6ce753cf
Author: Bogdan Dobrelya <email address hidden>
Date: Wed Nov 22 17:41:08 2017 +0100

    Allow to override t-h-t 'Cloud*' params undercloud

    Allow to parametrize the hardcoded 'undercloud' domain name.
    F.e. RDOcloud uses an 'rdocloud' domain, therefore some DNS things might be
    failing with the hardcoded value.
    The default domain name remains unchanged. It can be
    overriden with a new '--local-domain' option as well.

    Related-bug: #1698349
    Partial-bug: #1733873

    Change-Id: Iad63142b241f9f7f0bbef68473f18b69f36daf76
    Signed-off-by: Bogdan Dobrelya <email address hidden>

Changed in tripleo:
status: In Progress → Fix Committed
Changed in tripleo:
status: Fix Committed → In Progress
description: updated
description: updated
Changed in tripleo:
status: In Progress → Fix Committed
Changed in tripleo:
status: Fix Committed → 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.