deployment of standalone openstack 17.0 fails
Issue
- Deployment of standalone openstack 17.0 on a single baremetal server fails with the error:
FATAL | Run init bundle puppet on the host for haproxy | rhosp | error={"changed": false, "cmd": "puppet apply --detailed-exitcodes --summarize --color=false --modulepath '/etc/puppet/modules:/opt/stack/puppet-modules:/usr/share/openstack-puppet/modules' --tags 'pacemaker::resource::bundle,pacemaker::property,pacemaker::resource::ip,pacemaker::resource::ocf,pacemaker::constraint::order,pacemaker::constraint::colocation' -e 'include ::tripleo::profile::base::pacemaker; include ::tripleo::profile::pacemaker::haproxy_bundle'\n", "delta": "0:07:08.922391", "end": "2025-07-10 14:38:13.479331", "failed_when_result": true, "msg": "non-zero return code", "rc": 4, "start": "2025-07-10 14:31:04.556940", "stderr": "Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5\n (file: /etc/puppet/hiera.yaml)\nWarning: Undefined variable '::deploy_config_name'; \n (file & line not available)\nWarning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.10/deprecated_language.html\n (file & line not available)\nerror: Could not connect to controller: Connection refused\nWarning: Unknown variable: 'used_promoted_max'. (file: /etc/puppet/modules/pacemaker/manifests/resource/bundle.pp, line: 185, column: 27)\nWarning: Scope(Haproxy::Config[haproxy]): haproxy: The $merge_options parameter will default to true in the next major release. Please review the documentation regarding the implications.\nError: /Stage[main]/Pacemaker::Stonith/Pacemaker::Property[Disable STONITH]/Pcmk_property[property--stonith-enabled]: Could not evaluate: pcs -f property show | grep -e 'stonith-enabled:.*false' > /dev/null 2>&1 failed: . Too many tries\nError: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Pacemaker::Property[haproxy-role-rhosp]/Pcmk_property[property-rhosp-haproxy-role]: Could not evaluate: pcs -f node attribute rhosp | grep -e 'rhosp:.*haproxy-role=true' > /dev/null 2>&1 failed: . Too many tries\nError: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Tripleo::Pacemaker::Haproxy_with_vip[haproxy_and_control_vip]/Pacemaker::Resource::Ip[control_vip]/Pcmk_resource[ip-192.168.80.90]: Could not evaluate: pcs -f constraint list | grep location-ip-192.168.80.90 > /dev/null 2>&1 failed: . Too many tries\nWarning: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Pacemaker::Resource::Bundle[haproxy-bundle]/Pcmk_bundle[haproxy-bundle]: Skipping because of failed dependencies\nWarning: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Tripleo::Pacemaker::Haproxy_with_vip[haproxy_and_control_vip]/Pacemaker::Constraint::Order[control_vip-then-haproxy]/Pcmk_constraint[order-ip-192.168.80.90-haproxy-bundle]: Skipping because of failed dependencies\nWarning: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Tripleo::Pacemaker::Haproxy_with_vip[haproxy_and_control_vip]/Pacemaker::Constraint::Colocation[control_vip-with-haproxy]/Pcmk_constraint[colo-ip-192.168.80.90-haproxy-bundle]: Skipping because of failed dependencies", "stderr_lines": ["Warning: /etc/puppet/hiera.yaml: Use of 'hiera.yaml' version 3 is deprecated. It should be converted to version 5", " (file: /etc/puppet/hiera.yaml)", "Warning: Undefined variable '::deploy_config_name'; ", " (file & line not available)", "Warning: The function 'hiera' is deprecated in favor of using 'lookup'. See https://puppet.com/docs/puppet/7.10/deprecated_language.html", " (file & line not available)", "error: Could not connect to controller: Connection refused", "Warning: Unknown variable: 'used_promoted_max'. (file: /etc/puppet/modules/pacemaker/manifests/resource/bundle.pp, line: 185, column: 27)", "Warning: Scope(Haproxy::Config[haproxy]): haproxy: The $merge_options parameter will default to true in the next major release. Please review the documentation regarding the implications.", "Error: /Stage[main]/Pacemaker::Stonith/Pacemaker::Property[Disable STONITH]/Pcmk_property[property--stonith-enabled]: Could not evaluate: pcs -f property show | grep -e 'stonith-enabled:.*false' > /dev/null 2>&1 failed: . Too many tries", "Error: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Pacemaker::Property[haproxy-role-rhosp]/Pcmk_property[property-rhosp-haproxy-role]: Could not evaluate: pcs -f node attribute rhosp | grep -e 'rhosp:.*haproxy-role=true' > /dev/null 2>&1 failed: . Too many tries", "Error: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Tripleo::Pacemaker::Haproxy_with_vip[haproxy_and_control_vip]/Pacemaker::Resource::Ip[control_vip]/Pcmk_resource[ip-192.168.80.90]: Could not evaluate: pcs -f constraint list | grep location-ip-192.168.80.90 > /dev/null 2>&1 failed: . Too many tries", "Warning: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Pacemaker::Resource::Bundle[haproxy-bundle]/Pcmk_bundle[haproxy-bundle]: Skipping because of failed dependencies", "Warning: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Tripleo::Pacemaker::Haproxy_with_vip[haproxy_and_control_vip]/Pacemaker::Constraint::Order[control_vip-then-haproxy]/Pcmk_constraint[order-ip-192.168.80.90-haproxy-bundle]: Skipping because of failed dependencies", "Warning: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Tripleo::Pacemaker::Haproxy_with_vip[haproxy_and_control_vip]/Pacemaker::Constraint::Colocation[control_vip-with-haproxy]/Pcmk_constraint[colo-ip-192.168.80.90-haproxy-bundle]: Skipping because of failed dependencies"], "stdout": "Notice: Compiled catalog for rhosp.ril.com in environment production in 0.67 seconds\nNotice: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Pacemaker::Resource::Bundle[haproxy-bundle]/Pcmk_bundle[haproxy-bundle]: Dependency Pcmk_property[property-rhosp-haproxy-role] has failures: true\nNotice: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Pacemaker::Resource::Bundle[haproxy-bundle]/Pcmk_bundle[haproxy-bundle]: Dependency Pcmk_resource[ip-192.168.80.90] has failures: true\nNotice: Applied catalog in 425.67 seconds\nApplication:\n Initial environment: production\n Converged environment: production\n Run mode: user\nChanges:\nEvents:\n Failure: 3\n Total: 3\nResources:\n Failed: 3\n Out of sync: 3\n Skipped: 61\n Total: 64\nTime:\n Config retrieval: 0.74\n Last run: 1752158293\n Pcmk resource: 30.51\n Pcmk property: 394.96\n Transaction evaluation: 425.67\n Catalog application: 425.67\n Total: 425.68\nVersion:\n Config: 1752157866\n Puppet: 7.10.0", "stdout_lines": ["Notice: Compiled catalog for rhosp.ril.com in environment production in 0.67 seconds", "Notice: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Pacemaker::Resource::Bundle[haproxy-bundle]/Pcmk_bundle[haproxy-bundle]: Dependency Pcmk_property[property-rhosp-haproxy-role] has failures: true", "Notice: /Stage[main]/Tripleo::Profile::Pacemaker::Haproxy_bundle/Pacemaker::Resource::Bundle[haproxy-bundle]/Pcmk_bundle[haproxy-bundle]: Dependency Pcmk_resource[ip-192.168.80.90] has failures: true", "Notice: Applied catalog in 425.67 seconds", "Application:", " Initial environment: production", " Converged environment: production", " Run mode: user", "Changes:", "Events:", " Failure: 3", " Total: 3", "Resources:", " Failed: 3", " Out of sync: 3", " Skipped: 61", " Total: 64", "Time:", " Config retrieval: 0.74", " Last run: 1752158293", " Pcmk resource: 30.51", " Pcmk property: 394.96", " Transaction evaluation: 425.67", " Catalog application: 425.67", " Total: 425.68", "Version:", " Config: 1752157866", " Puppet: 7.10.0"]}
Environment
- Red Hat OpenStack Platform 17.0 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.