Undercloud deployment failed at FATAL | Manage Puppet containers (generate config) for step 1

Bug #2020665 reported by umamaheswar Reddy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Undecided
Unassigned

Bug Description

<13>May 24 07:35:02 puppet-user: Warning: Facter: Could not delete cache: Read-only file system @ apply2files - /opt/puppetlabs/facter/cache/cached_facts/operating system
<13>May 24 07:35:02 puppet-user: Warning: Facter: Could not delete cache: Read-only file system @ apply2files - /opt/puppetlabs/facter/cache/cached_facts/operating system
<13>May 24 07:35:02 puppet-user: Warning: Facter: Could not delete cache: Read-only file system @ apply2files - /opt/puppetlabs/facter/cache/cached_facts/operating system
<13>May 24 07:35:02 puppet-user: Warning: Facter: Could not delete cache: Read-only file system @ apply2files - /opt/puppetlabs/facter/cache/cached_facts/operating system
<13>May 24 07:35:02 puppet-user: Error: Could not run: Could not retrieve facts for director.example.com: Read-only file system @ rb_sysopen - /opt/puppetlabs/facter/cache/cached_facts/operating system
<13>May 24 07:35:02 puppet-user: Wrapped exception:
<13>May 24 07:35:02 puppet-user: Read-only file system @ rb_sysopen - /opt/puppetlabs/facter/cache/cached_facts/operating system
+ rc=1
+ '[' false = false ']'
+ set +x
2023-05-24 07:35:02.947582 | e43d1a24-19e1-57ca-193d-0000000014cc | FATAL | Manage Puppet containers (generate config) for step 1 | director | error={"changed": false, "msg": "Failed containers: container-puppet-crond, container-puppet-haproxy, container-puppet-ironic_api, container-puppet-ironic, container-puppet-ironic_inspector, container-puppet-neutron, container-puppet-mysql, container-puppet-rabbitmq"}
2023-05-24 07:35:02.949279 | e43d1a24-19e1-57ca-193d-0000000014cc | TIMING | Manage Puppet containers (generate config) for step 1 | director | 0:20:38.013026 | 14.31s

PLAY RECAP *********************************************************************
director : ok=277 changed=55 unreachable=0 failed=1 skipped=82 rescued=0 ignored=2
localhost : ok=0 changed=0 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0
2023-05-24 07:35:02.988874 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-05-24 07:35:02.989796 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Total Tasks: 389 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-05-24 07:35:02.990710 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elapsed Time: 0:20:38.054476 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-05-24 07:35:02.991617 | UUID | Info | Host | Task Name | Run Time
2023-05-24 07:35:02.992480 | e43d1a24-19e1-57ca-193d-00000000037d | SUMMARY | director | tripleo_validations_package : Install tripleo-validations package | 1042.69s
2023-05-24 07:35:02.993366 | e43d1a24-19e1-57ca-193d-0000000007dd | SUMMARY | director | tripleo_firewall : Manage firewall rules | 15.36s
2023-05-24 07:35:02.993902 | e43d1a24-19e1-57ca-193d-0000000014cc | SUMMARY | director | Manage Puppet containers (generate config) for step 1 | 14.31s
2023-05-24 07:35:02.994342 | e43d1a24-19e1-57ca-193d-000000001441 | SUMMARY | director | Wait for puppet host configuration to finish | 10.43s
2023-05-24 07:35:02.994782 | e43d1a24-19e1-57ca-193d-000000001319 | SUMMARY | director | Pre-fetch all the containers | 7.48s
2023-05-24 07:35:02.995212 | e43d1a24-19e1-57ca-193d-000000001239 | SUMMARY | director | tripleo_container_image_prepare : Container image prepare | 5.74s
2023-05-24 07:35:02.995645 | e43d1a24-19e1-57ca-193d-000000000580 | SUMMARY | director | tripleo_nodes_validation : Check IP responsiveness | 4.29s
2023-05-24 07:35:02.996079 | e43d1a24-19e1-57ca-193d-00000000060c | SUMMARY | director | tripleo_hieradata : Render hieradata from template | 3.79s
2023-05-24 07:35:02.996504 | e43d1a24-19e1-57ca-193d-000000000401 | SUMMARY | director | tripleo_hieradata : Render hieradata from template | 3.73s
2023-05-24 07:35:02.996945 | e43d1a24-19e1-57ca-193d-000000000528 | SUMMARY | director | tripleo_network_config : Run tripleo_os_net_config_module with network_config | 3.68s
2023-05-24 07:35:02.997404 | e43d1a24-19e1-57ca-193d-00000000136b | SUMMARY | director | linux-system-roles.certificate : Ensure provider packages are installed | 3.25s
2023-05-24 07:35:02.997833 | e43d1a24-19e1-57ca-193d-0000000007da | SUMMARY | director | tripleo_firewall : Ensure firewall is installed | 3.22s
2023-05-24 07:35:02.998266 | e43d1a24-19e1-57ca-193d-000000000a3b | SUMMARY | director | tripleo_clients_install : Manage package | 3.21s
2023-05-24 07:35:02.998716 | e43d1a24-19e1-57ca-193d-000000001369 | SUMMARY | director | linux-system-roles.certificate : Ensure certificate role dependencies are installed | 3.21s
2023-05-24 07:35:02.999142 | e43d1a24-19e1-57ca-193d-000000000832 | SUMMARY | director | tripleo_image_serve : ensure apache is installed | 3.21s
2023-05-24 07:35:02.999552 | e43d1a24-19e1-57ca-193d-00000000130d | SUMMARY | director | make sure certmonger is installed | 3.20s
2023-05-24 07:35:02.999979 | e43d1a24-19e1-57ca-193d-000000000dad | SUMMARY | director | Install chronyd package | 3.19s
2023-05-24 07:35:03.000399 | e43d1a24-19e1-57ca-193d-000000001162 | SUMMARY | director | Install tuned | 3.19s
2023-05-24 07:35:03.000836 | e43d1a24-19e1-57ca-193d-000000000919 | SUMMARY | director | tripleo_kernel : Remove dracut-config-generic | 3.19s
2023-05-24 07:35:03.001259 | e43d1a24-19e1-57ca-193d-00000000072e | SUMMARY | director | install tmpwatch on the host | 3.18s
2023-05-24 07:35:03.001687 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-05-24 07:35:03.002119 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ State Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-05-24 07:35:03.002553 | ~~~~~~~~~~~~~~~~~~ Number of nodes which did not deploy successfully: 1 ~~~~~~~~~~~~~~~~~
2023-05-24 07:35:03.002983 | The following node(s) had failures: director
2023-05-24 07:35:03.003413 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ansible execution failed. playbook: deploy_steps_playbook.yaml, Run Status: failed, Return Code: 2
Install artifact is located at /home/stack/tripleo-deploy/undercloud/undercloud-install-20230524113503.tar.bzip2

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Deployment Failed!

ERROR: Heat log files: /home/stack/tripleo-deploy/undercloud/heat_launcher/tripleo_deploy-l4r71avw

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Exception: Ansible execution failed. playbook: deploy_steps_playbook.yaml, Run Status: failed, Return Code: 2
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_deploy.py", line 1389, in take_action
    self._standalone_deploy(parsed_args)
  File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_deploy.py", line 1335, in _standalone_deploy
    **operation)
  File "/usr/lib/python3.6/site-packages/tripleoclient/utils.py", line 733, in run_ansible_playbook
    raise RuntimeError(err_msg)
RuntimeError: Ansible execution failed. playbook: deploy_steps_playbook.yaml, Run Status: failed, Return Code: 2
None
Ansible execution failed. playbook: deploy_steps_playbook.yaml, Run Status: failed, Return Code: 2

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

An error has occured while deploying the Undercloud.

See the previous output for details about what went wrong.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Command '['sudo', '--preserve-env', 'openstack', 'tripleo', 'deploy', '--standalone-role', 'Undercloud', '--stack', 'undercloud', '--local-domain=localdomain', '--local-ip=10.133.100.85/24', '--templates=/usr/share/openstack-tripleo-heat-templates/', '--networks-file=/usr/share/openstack-tripleo-heat-templates/network_data_undercloud.yaml', '--heat-native', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/undercloud.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/use-dns-for-vips.yaml', '-e', '/home/stack/containers-prepare-parameter.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/masquerade-networks.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/ironic.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/ironic-inspector.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/public-tls-undercloud.yaml', '--public-virtual-ip', '10.133.100.156', '--control-virtual-ip', '10.133.100.155', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-haproxy.yaml', '--deployment-user', 'stack', '--output-dir=/home/stack/tripleo-deploy/undercloud', '--cleanup', '-e', '/home/stack/tripleo-deploy/undercloud/tripleo-config-generated-env-files/undercloud_parameters.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/tripleo-validations.yaml', '--log-file=install-undercloud.log', '-e', '/usr/share/openstack-tripleo-heat-templates/undercloud-stack-vstate-dropin.yaml']' returned non-zero exit status 1.
Command '['sudo', '--preserve-env', 'openstack', 'tripleo', 'deploy', '--standalone-role', 'Undercloud', '--stack', 'undercloud', '--local-domain=localdomain', '--local-ip=10.133.100.85/24', '--templates=/usr/share/openstack-tripleo-heat-templates/', '--networks-file=/usr/share/openstack-tripleo-heat-templates/network_data_undercloud.yaml', '--heat-native', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/undercloud.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/use-dns-for-vips.yaml', '-e', '/home/stack/containers-prepare-parameter.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/masquerade-networks.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/ironic.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/ironic-inspector.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/public-tls-undercloud.yaml', '--public-virtual-ip', '10.133.100.156', '--control-virtual-ip', '10.133.100.155', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-haproxy.yaml', '--deployment-user', 'stack', '--output-dir=/home/stack/tripleo-deploy/undercloud', '--cleanup', '-e', '/home/stack/tripleo-deploy/undercloud/tripleo-config-generated-env-files/undercloud_parameters.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/tripleo-validations.yaml', '--log-file=install-undercloud.log', '-e', '/usr/share/openstack-tripleo-heat-templates/undercloud-stack-vstate-dropin.yaml']' returned non-zero exit status 1.

Steps to reproduce:
1.Installed centos stream 8 os.
2.Followed openstack tripleo zed release document
https://docs.openstack.org/project-deploy-guide/tripleo-docs/zed/deployment/install_undercloud.html
3. # Generated with the following on 2023-05-24T07:38:13.327715
#
# openstack tripleo container image prepare default --local-push-destination --output-env-file /home/stack/containers-prepare-parameter.yaml
#

parameter_defaults:
  ContainerImagePrepare:
  - push_destination: true
    set:
      ceph_alertmanager_image: alertmanager
      ceph_alertmanager_namespace: quay.io/prometheus
      ceph_alertmanager_tag: v0.23.0
      ceph_grafana_image: ceph-grafana
      ceph_grafana_namespace: quay.io/ceph
      ceph_grafana_tag: 6.7.4
      ceph_haproxy_image: haproxy
      ceph_haproxy_namespace: quay.io/ceph
      ceph_haproxy_tag: 2.3
      ceph_image: daemon
      ceph_keepalived_image: keepalived
      ceph_keepalived_namespace: quay.io/ceph
      ceph_keepalived_tag: 2.1.5
      ceph_namespace: quay.rdoproject.org/tripleomastercentos9
      ceph_node_exporter_image: node-exporter
      ceph_node_exporter_namespace: quay.io/prometheus
      ceph_node_exporter_tag: v1.3.1
      ceph_prometheus_image: prometheus
      ceph_prometheus_namespace: quay.io/prometheus
      ceph_prometheus_tag: v2.33.4
      ceph_tag: current-ceph
      name_prefix: openstack-
      name_suffix: ''
      namespace: quay.io/tripleomastercentos9
      neutron_driver: ovn
      pushgateway_image: pushgateway
      pushgateway_namespace: quay.io/prometheus
      pushgateway_tag: v1.4.2
      rhel_containers: false
      tag: current-tripleo
    tag_from_label: rdo_version
4.openstack undercloud install

Revision history for this message
umamaheswar Reddy (chinna91826) wrote :

I'm installed centos 8 stream with Zed but the container image parameter taking "quay.io/tripleomastercentos9". Do we don't have a alternate container image path for centos 8 stream?

Revision history for this message
umamaheswar Reddy (chinna91826) wrote :
Revision history for this message
Takashi Kajinami (kajinamit) wrote :

TripleO Zed is suppored only with CentOS Stream 9. You should use CentOS Stream 9 instead of CentOS 8 Stream. I'll close this bug as invalid because CentOS 8 Stream + TripleO Zed is what we have never tested and we had no plan to support that combination.

Also, unfortunately TripleO Zed is no longer maintained, because of no volunteer to maintain the branch.
Currently only train and wallaby are maintained stable branches.

Changed in tripleo:
status: New → Invalid
Revision history for this message
umamaheswar Reddy (chinna91826) wrote :

Could you please confirm, what are the centos streams that train and wallaby supports?

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

train supports centos 8 stream and centos 7. wallaby supports centos 8 stream and centos 9 stream.
However I generally recommend using train + centos 8 stream or wallaby + centos 9 stream because we have much less test coverage with older version of OS.

Revision history for this message
umamaheswar Reddy (chinna91826) wrote :

Do you have any deployment documents of Train or wallaby apart from openstack community guideline? it will be helpful for us to get into the right path.

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.