Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1532610 - Upper case letters in HostnameFormat parameters cause trouble
Upper case letters in HostnameFormat parameters cause trouble
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
9.0 (Mitaka)
All Linux
medium Severity medium
: zstream
: 9.0 (Mitaka)
Assigned To: Emilien Macchi
Gurenko Alex
: Triaged, ZStream
Depends On:
Blocks: 1532850 1532852
  Show dependency treegraph
 
Reported: 2018-01-09 07:47 EST by Michal Przybyl
Modified: 2018-07-05 08:27 EDT (History)
5 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-2.0.0-63.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1532850 1532852 (view as bug list)
Environment:
Last Closed: 2018-07-05 08:26:25 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1698201 None None None 2018-01-09 16:31 EST
Red Hat Product Errata RHBA-2018:2140 None None None 2018-07-05 08:27 EDT

  None (edit)
Description Michal Przybyl 2018-01-09 07:47:01 EST
Hello, 
Please backport solution suggested in:
https://access.redhat.com/support/cases/#/case/01988025


Description of problem:
Hello,
During out update process from OSP8 to OSP9 we hit problem with script:
/usr/share/openstack-tripleo-heat-templates/extraconfig/tasks/major_upgrade_pacemaker_migrations.sh
in if:
'if [ "$(hiera -c /etc/puppet/hiera.yaml bootstrap_nodeid)" = "$(facter hostname)" ]; then'
This is always false because:
hiera -c /etc/puppet/hiera.yaml bootstrap_nodeid
NCEOSPCTL0
and,
[root@nceospctl0 heat-config-script]# facter hostname
nceospctl0.

Because of that pacemaker update is never executed and upgrading failed.

We are using uppercase names in our deployment configuration:
parameter_defaults:
  ControllerHostnameFormat: 'NCEOSPCTL%index%'
  ComputeHostnameFormat: 'NCEOSPCPU%index%'
...
We noticed similar bug in different files :
https://bugzilla.redhat.com/show_bug.cgi?id=1382062

Have a nice day,
Michal

Where are you experiencing the behavior?  What environment?

OSP8 to OSP9 upgrade, expecting same on OSP9 to OSP10 upgrade.

Version-Release number of selected component (if applicable):


How reproducible:
Just use capital letters in hostnames

Actual results:



Expected results:


Additional info:
Support case:
https://access.redhat.com/support/cases/#/case/01988025
Comment 1 Michal Przybyl 2018-01-10 08:12:29 EST
Hello,
May I ask why Target Release was changed from 8 to 9?

We are preparing update of our infrastructure from 8 to 10 and we will still hit this issue.

Regards
Comment 10 errata-xmlrpc 2018-07-05 08:26:25 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2140

Note You need to log in before you can comment on or make changes to this bug.