Minor update failed with: Failed to connect socket to '/var/run/libvirt/libvirt-sock'

Solution In Progress - Updated -

Issue

ansible.log

TASK [Debug output for task: Start containers for step 4] **********************
    fatal: [localhost]: FAILED! => {
        "failed_when_result": true,
        "outputs.stdout_lines|default([])|union(outputs.stderr_lines|default([]))": [
            "stdout: Trying to pull repository sa-osp13_containers-ceilometer-compute ... ",
            "13.0-97: Pulling from stl-satellitesa-osp13_containers-ceilometer-compute",
            "00f17e0b37b0: Already exists",
            "305d73a95c8f: Already exists",
            "bb2715a20174: Already exists",
            "82e23e48e61c: Already exists",
            "ec971bc599d1: Already exists",
            "031a3b0a1f8b: Pulling fs layer",
            "031a3b0a1f8b: Verifying Checksum",
            "031a3b0a1f8b: Download complete",
            "031a3b0a1f8b: Pull complete",
            "Digest: sha256:9763d36973e02afa25c95fd02490299a3ed737e072d054bf901c2db00bf97e59",
            "Status: Downloaded newer image for....-ceilometer-compute:13.0-97",

            "Error running ['docker', 'run', '--name', 'nova_libvirt_init_secret', '--label', 'config_id=tripleo_step4', '--label', 'container_name=nova_libvirt_init_secret', '--label', 'managed_by=paunch', '--label', 'config_data={\"command\": [\"/bin/bash\", \"-c\", \"/usr/bin/virsh secret-define --file /etc/nova/secret.xml && /usr/bin/virsh secret-set-value , \"user\": \"root\", \"volumes\": [\"/etc/hosts:/etc/hosts:ro\", \"/etc/localtime:/etc/localtime:ro\", \"/etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:ro\", \"/etc/pki/ca-trust/source/anchors:/etc/pki/ca-trust/source/anchors:ro\", \"/etc/pki/tls/certs/ca-bundle.crt:/etc/pki/tls/certs/ca-bundle.crt:ro\", \"/etc/pki/tls/certs/ca-bundle.trust.crt:/etc/pki/tls/certs/ca-bundle.trust.crt:ro\", \"/etc/pki/tls/cert.pem:/etc/pki/tls/cert.pem:ro\", \"/dev/log:/dev/log\", \"/etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro\", \"/etc/puppet:/etc/puppet:ro\", \"/var/lib/config-data/puppet-generated/nova_libvirt/etc/nova:/etc/nova:ro\", \"/etc/libvirt:/etc/libvirt\", \"/var/run/libvirt:/var/run/libvirt\", \"/var/lib/libvirt:/var/lib/libvirt\"], \"image\": \"nova-libvirt:13.0-123\", \"detach\": false, \"privileged\": false}', '--privileged=false', '--user=root', '--volume=/etc/hosts:/etc/hosts:ro', '--volume=/etc/localtime:/etc/localtime:ro', '--volume=/etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:ro', '--volume=/etc/pki/ca-trust/source/anchors:/etc/pki/ca-trust/source/anchors:ro', '--volume=/etc/pki/tls/certs/ca-bundle.crt:/etc/pki/tls/certs/ca-bundle.crt:ro', '--volume=/etc/pki/tls/certs/ca-bundle.trust.crt:/etc/pki/tls/certs/ca-bundle.trust.crt:ro', '--volume=/etc/pki/tls/cert.pem:/etc/pki/tls/cert.pem:ro', '--volume=/dev/log:/dev/log', '--volume=/etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro', '--volume=/etc/puppet:/etc/puppet:ro', '--volume=/var/lib/config-data/puppet-generated/nova_libvirt/etc/nova:/etc/nova:ro', '--volume=/etc/libvirt:/etc/libvirt', '--volume=/var/run/libvirt:/var/run/libvirt', '--volume=/var/lib/libvirt:/var/lib/libvirt', 'satellite._containers-nova-libvirt:13.0-123', '/bin/bash', '-c', \"/usr/bin/virsh secret-define --file /etc/nova/secret.xml && /usr/bin/virsh secret-set-value 
            "stderr: error: failed to connect to the hypervisor",
            "error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory",

Environment

  • Red Hat Opentack Platform 13
  • Red Hat Opentack Platform 14

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content