TripleO-puppet fails to set up keystone container during standalone deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Critical
|
Takashi Kajinami |
Bug Description
Description
===========
TripleO standalone deployment failed on CentOS9 VM and current master with "Evaluation Error: Error while evaluating a Resource Statement, Apache:
Steps to reproduce
==================
Run on an CentOS9 VM with current TripleO master:
sudo openstack tripleo deploy \
--stack standalone \
-e /usr/share/
-r /usr/share/
-e /usr/share/
-e /usr/share/
-e $HOME/container
-e $HOME/standalon
-e $HOME/octavia_
Expected result
===============
No error.
Actual result
=============
<13>Jun 9 14:35:08 puppet-user: Error: Evaluation Error: Error while evaluating a Resource Statement, Apache:
<13>Jun 9 14:35:08 puppet-user: parameter 'port' variant 0 expects an Undef value, got Tuple
<13>Jun 9 14:35:08 puppet-user: parameter 'port' variant 1 index 1 expects an Integer value, got String
<13>Jun 9 14:35:08 puppet-user: parameter 'port' variant 2 index 0 expects a String value, got Integer
<13>Jun 9 14:35:08 puppet-user: parameter 'port' variant 3 expects an Integer value, got Tuple
<13>Jun 9 14:35:08 puppet-user: parameter 'port' variant 4 expects a String value, got Tuple (file: /etc/puppet/
Environment
===========
CentOS9 Stream, TripleO current master branch as of 09.06.2022.
puppet-
Logs & Configs
==============
See https:/
$ sudo grep ' $port' /etc/puppet/
See https:/
$ sudo hiera -c /etc/puppet/
[5000, "35357"]
Changed in tripleo: | |
status: | New → Triaged |
Changed in tripleo: | |
assignee: | nobody → Takashi Kajinami (kajinamit) |
Changed in tripleo: | |
milestone: | none → zed-1 |
tags: | added: promotion-blocker |
It seems puppetlabs-apache introduced type validation and the hieradata passed to api_port does not
match with the any of the expected types.
https:/ /github. com/puppetlabs/ puppetlabs- apache/ commit/ ae56cc9a6dbcd38 46ccbcb9f8a7b93 02d8b2a996
We should use only number or string, otherwise we need to fix puppetlabs-apache to accept that "mixed" type usage.