default containerized undercloud install with local CA fails with "Error org.freedesktop.DBus.Error.TimedOut"

Bug #1772807 reported by Rabi Mishra on 2018-05-23
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Unassigned

Bug Description

      " with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 54]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:28:in `deprecation')",
        " with Stdlib::Compat::Absolute_Path. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 55]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 56]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " with Stdlib::Compat::Array. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 66]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " with Pattern[]. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 68]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " with Stdlib::Compat::Numeric. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ntp/manifests/init.pp\", 76]:[\"/etc/puppet/modules/tripleo/manifests/profile/base/time/ntp.pp\", 29]",
        " with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README. at [\"/etc/puppet/modules/ssh/manifests/server.pp\", 12]:[\"/var/lib/tripleo-config/puppet_step_config.pp\", 36]",
        "Warning: Unknown variable: 'ca_pem'. at /etc/puppet/modules/tripleo/manifests/certmonger/haproxy.pp:92:22",
        "Error: Systemd start for certmonger failed!",
        "journalctl log for certmonger:",
        "-- Logs begin at Wed 2018-05-23 04:23:10 UTC, end at Wed 2018-05-23 05:03:38 UTC. --",
        "May 23 05:03:38 undercloud-0.rdocloud systemd[1]: Starting Certificate monitoring and PKI enrollment...",
        "May 23 05:03:38 undercloud-0.rdocloud certmonger[19068]: 2018-05-23 05:03:38 [19068] Unable to set well-known bus name \"org.fedorahosted.certmonger\": Connection \":1.51\" is not allowed to own the service \"org.fedorahosted.certmonger\" due to security policies in the configuration file(-1).",
        "May 23 05:03:38 undercloud-0.rdocloud certmonger[19068]: Error connecting to D-Bus.",
        "May 23 05:03:38 undercloud-0.rdocloud systemd[1]: certmonger.service: main process exited, code=exited, status=1/FAILURE",
        "May 23 05:03:38 undercloud-0.rdocloud systemd[1]: Failed to start Certificate monitoring and PKI enrollment.",
        "May 23 05:03:38 undercloud-0.rdocloud systemd[1]: Unit certmonger.service entered failed state.",
        "May 23 05:03:38 undercloud-0.rdocloud systemd[1]: certmonger.service failed.",
        "Error: /Stage[main]/Certmonger/Service[certmonger]/ensure: change from stopped to running failed: Systemd start for certmonger failed!",
        "Warning: /Stage[main]/Tripleo::Certmonger::Ca::Local/Exec[extract-and-trust-ca]: Skipping because of failed dependencies",
        "Error: Failed to apply catalog: Execution of '/usr/bin/getcert list' returned 1: Error org.freedesktop.DBus.Error.TimedOut"
    ]
}

NO MORE HOSTS LEFT *************************************************************************************************************************************************************************************
 to retry, use: --limit @/home/stack/undercloud-ansible-b835i0/deploy_steps_playbook.retry

PLAY RECAP *********************************************************************************************************************************************************************************************
undercloud-0 : ok=181 changed=55 unreachable=0 failed=1

Install artifact is located at /home/stack/undercloud-install-20180523050421.tar.bzip2

##########################################################
containerized undercloud deployment failed.

ERROR: Heat log files: /var/log/heat-launcher/undercloud_deploy-xCdKzM

See the previous output for details about what went wrong.

##########################################################

Deployment failed.
Command '['sudo', 'openstack', 'tripleo', 'deploy', '--standalone', '--local-domain=localdomain', '--local-ip=192.168.24.1/24', '--templates=/usr/share/openstack-tripleo-heat-templates/', '--heat-native', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/docker.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/undercloud.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/services/mistral.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/zaqar.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/tripleo-ui.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/tempest.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/public-tls-undercloud.yaml', '--public-virtual-ip', '192.168.24.2', '--control-virtual-ip', '192.168.24.3', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/use-dns-for-vips.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-haproxy.yaml', '-e', '/usr/share/openstack-tripleo-heat-templates/environments/services/undercloud-keepalived.yaml', '--output-dir=/home/stack', '--cleanup', '-e', '/home/stack/tripleo-heat-installer-templates/undercloud_parameters.yaml', '--log-file=/home/stack/install-undercloud.log']' returned non-zero exit status 1

Looks like https://bugzilla.redhat.com/show_bug.cgi?id=1504688 is the reason. we probably need a workaround in tripleo

Rabi Mishra (rabi) on 2018-05-23
summary: - default containerized undercloud with local CA fails with "Error
+ default containerized undercloud install with local CA fails with "Error
org.freedesktop.DBus.Error.TimedOut"
Changed in tripleo:
milestone: none → rocky-2
status: New → Triaged
importance: Undecided → Medium
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Raoul Scarazzini (rasca) wrote :

This bug is consistent on rdocloud, so I'm increasing its importance

Changed in tripleo:
importance: Medium → High
Raoul Scarazzini (rasca) on 2018-07-26
tags: added: alert
wes hayutin (weshayutin) on 2018-07-30
tags: removed: alert
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
milestone: stein-2 → stein-3

This was solved by certmonger/dbus

Changed in tripleo:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers