Skip to content

Instantly share code, notes, and snippets.

@rafaeldff
Created November 23, 2015 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rafaeldff/a81e432c817a6c299b03 to your computer and use it in GitHub Desktop.
Save rafaeldff/a81e432c817a6c299b03 to your computer and use it in GitHub Desktop.
cloud-init docker install failure
Nov 23 17:39:55 localhost cloud-init[738]: Last metadata expiration check performed 0:00:10 ago on Mon Nov 23 17:39:45 2015.
Nov 23 17:39:57 localhost cloud-init[738]: repo id repo name status
Nov 23 17:39:57 localhost cloud-init[738]: *fedora Fedora 22 - x86_64 enabled: 44,762
Nov 23 17:39:57 localhost cloud-init[738]: fedora-debuginfo Fedora 22 - x86_64 - Debug disabled
Nov 23 17:39:57 localhost cloud-init[738]: fedora-source Fedora 22 - Source disabled
Nov 23 17:39:57 localhost cloud-init[738]: *updates Fedora 22 - x86_64 - Updates enabled: 16,678
Nov 23 17:39:57 localhost cloud-init[738]: updates-debuginfo Fedora 22 - x86_64 - Updates - Debug disabled
Nov 23 17:39:57 localhost cloud-init[738]: updates-source Fedora 22 - Updates Source disabled
Nov 23 17:39:57 localhost cloud-init[738]: updates-testing Fedora 22 - x86_64 - Test Updates disabled
Nov 23 17:39:57 localhost cloud-init[738]: updates-testing-debuginfo Fedora 22 - x86_64 - Test Updates Debu disabled
Nov 23 17:39:57 localhost cloud-init[738]: updates-testing-source Fedora 22 - Test Updates Source disabled
Nov 23 17:39:57 localhost cloud-init[738]: cachedir: /var/cache/dnf/x86_64/22
Nov 23 17:39:57 localhost cloud-init[738]: Loaded plugins: download, kickstart, config-manager, reposync, needs-restarting, debuginfo-install, noroot, generate_completion_cache, builddep, Query, protected_packages, copr, playground
Nov 23 17:39:57 localhost cloud-init[738]: DNF version: 1.0.0
Nov 23 17:39:57 localhost cloud-init[738]: repo: using cache for: fedora
Nov 23 17:39:57 localhost cloud-init[738]: not found deltainfo for: Fedora 22 - x86_64
Nov 23 17:39:57 localhost cloud-init[738]: not found updateinfo for: Fedora 22 - x86_64
Nov 23 17:39:57 localhost cloud-init[738]: repo: using cache for: updates
Nov 23 17:39:57 localhost cloud-init[738]: fedora: using metadata from Mon Nov 23 17:39:11 2015.
Nov 23 17:39:57 localhost cloud-init[738]: updates: using metadata from Mon Nov 23 17:39:45 2015.
Nov 23 17:39:57 localhost cloud-init[738]: Last metadata expiration check performed 0:00:12 ago on Mon Nov 23 17:39:45 2015.
Nov 23 17:39:59 localhost cloud-init[738]: --> Starting dependency resolution
Nov 23 17:39:59 localhost cloud-init[738]: ---> Package docker.x86_64 1.8.2-7.gitcb216be.fc22 will be installed
Nov 23 17:39:59 localhost cloud-init[738]: ---> Package lvm2.x86_64 2.02.116-3.fc22 will be installed
Nov 23 17:39:59 localhost cloud-init[738]: ---> Package docker-selinux.x86_64 1.8.2-7.gitcb216be.fc22 will be installed
Nov 23 17:39:59 localhost cloud-init[738]: ---> Package device-mapper-event-libs.x86_64 1.02.93-3.fc22 will be installed
Nov 23 17:39:59 localhost cloud-init[738]: ---> Package lvm2-libs.x86_64 2.02.116-3.fc22 will be installed
Nov 2[ 1041.799650] serial8250: too much work for irq4
3 17:39:59 localhost cloud-init[738]: ---> Package device-mapper-event.x86_64 1.02.93-3.fc22 will be installed
Nov 23 17:39:59 localhost cloud-init[738]: ---> Package xfsprogs.x86_64 3.2.2-2.fc22 will be installed
Nov 23 17:39:59 localhost cloud-init[738]: ---> Package device-mapper-persistent-data.x86_64 0.5.5-1.fc22 will be installed
Nov 23 17:39:59 localhost cloud-init[738]: ---> Package libaio.x86_64 0.3.110-4.fc22 will be installed
Nov 23 17:39:59 localhost cloud-init[738]: --> Finished dependency resolution
Nov 23 17:39:59 localhost cloud-init[738]: Dependencies resolved.
Nov 23 17:40:00 localhost cloud-init[738]: ================================================================================
Nov 23 17:40:00 localhost cloud-init[738]: Package Arch Version Repository
Nov 23 17:40:00 localhost cloud-init[738]: Size
Nov 23 17:40:00 localhost cloud-init[738]: ================================================================================
Nov 23 17:40:00 localhost cloud-init[738]: Installing:
Nov 23 17:40:00 localhost cloud-init[738]: device-mapper-event x86_64 1.02.93-3.fc22 fedora 184 k
Nov 23 17:40:00 localhost cloud-init[738]: device-mapper-event-libs x86_64 1.02.93-3.fc22 fedora 187 k
Nov 23 17:40:00 localhost cloud-init[738]: device-mapper-persistent-data x86_64 0.5.5-1.fc22 updates 381 k
Nov 23 17:40:00 localhost cloud-init[738]: docker x86_64 1.8.2-7.gitcb216be.fc22 updates 6.9 M
Nov 23 17:40:00 localhost cloud-init[738]: docker-selinux x86_64 1.8.2-7.gitcb216be.fc22 updates 54 k
Nov 23 17:40:00 localhost cloud-init[738]: libaio x86_64 0.3.110-4.fc22 fedora 28 k
Nov 23 17:40:00 localhost cloud-init[738]: lvm2 x86_64 2.02.116-3.fc22 fedora 930 k
Nov 23 17:40:00 localhost cloud-init[738]: lvm2-libs x86_64 2.02.116-3.fc22 fedora 816 k
Nov 23 17:40:00 localhost cloud-init[738]: xfsprogs x86_64 3.2.2-2.fc22 updates 873 k
Nov 23 17:40:00 localhost cloud-init[738]: Transaction Summary
Nov 23 17:40:00 localhost cloud-init[738]: ================================================================================
Nov 23 17:40:00 localhost cloud-init[738]: Install 9 Packages
Nov 23 17:40:00 localhost cloud-init[738]: Total download size: 10 M
Nov 23 17:40:00 localhost cloud-init[738]: Installed size: 38 M
Nov 23 17:40:00 localhost cloud-init[738]: Downloading Packages:
Nov 23 17:40:04 localhost cloud-init[738]: --------------------------------------------------------------------------------
Nov 23 17:40:04 localhost cloud-init[738]: Total 2.4 MB/s | 10 MB 00:04
Nov 23 17:40:04 localhost cloud-init[738]: Running transaction check
Nov 23 17:40:05 localhost cloud-init[738]: Transaction check succeeded.
Nov 23 17:40:05 localhost cloud-init[738]: Running transaction test
Nov 23 17:40:05 localhost cloud-init[738]: Transaction test succeeded.
Nov 23 17:40:05 localhost cloud-init[738]: Running transaction
Nov 23 17:40:06 localhost audit[321]: <audit-1107> pid=321 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc: denied { send_msg } for msgtype=method_return dest=:1.8 spid=320 tpid=797 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=system_u:system_r:cloud_init_t:s0 tclass=dbus
exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
Nov 23 17:40:09 localhost sudo[807]: fedora : TTY=ttyS0 ; PWD=/home/fedora ; USER=root ; COMMAND=/bin/tail -n 100 -F /var/log/dnf.log /var/log/dnf.rpm.log
Nov 23 17:40:09 localhost audit[807]: <audit-1123> pid=807 uid=1000 auid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='cwd="/home/fedora" cmd=7461696C202D6E20313030202D46202F7661722F6C6F672F646E662E6C6F67202F7661722F6C6F672F646E662E72706D2E6C6F67 terminal=ttyS0 res=success'
Nov 23 17:40:09 localhost audit[807]: <audit-1110> pid=807 uid=0 auid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_env,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/ttyS0 res=success'
Nov 23 17:40:09 localhost sudo[807]: pam_unix(sudo:session): session opened for user root by fedora(uid=0)
Nov 23 17:40:09 localhost audit[807]: <audit-1105> pid=807 uid=0 auid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_keyinit,pam_limits,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="root" exe="/usr/bin/sudo" hostname=? addr=? terminal=/dev/ttyS0 res=success'
Nov 23 17:40:33 localhost audit[809]: <audit-1400> avc: denied { transition } for pid=809 comm="dnf" path="/usr/sbin/ldconfig" dev="vda1" ino=4512 scontext=system_u:system_r:cloud_init_t:s0 tcontext=system_u:system_r:rpm_script_t:s0 tclass=process permissive=0
Nov 23 17:40:33 localhost cloud-init[738]: Installing : device-mapper-event-libs-1.02.93-3.fc22.x86_64 1/9
Nov 23 17:40:33 localhost cloud-init[738]: warning: Unable to get systemd shutdown inhibition lock
Nov 23 17:40:33 localhost cloud-init[738]: warning: %post(device-mapper-event-libs-1.02.93-3.fc22.x86_64) scriptlet failed, exit status 127
Nov 23 17:40:33 localhost cloud-init[738]: Non-fatal POSTIN scriptlet failure in rpm package device-mapper-event-libs
Nov 23 17:40:35 localhost audit[810]: <audit-1400> avc: denied { transition } for pid=810 comm="dnf" path="/usr/bin/bash" dev="vda1" ino=4844 scontext=system_u:system_r:cloud_init_t:s0 tcontext=system_u:system_r:rpm_script_t:s0 tclass=process permissive=0
Nov 23 17:40:35 localhost cloud-init[738]: Installing : device-mapper-event-1.02.93-3.fc22.x86_64 2/9
Nov 23 17:40:35 localhost cloud-init[738]: warning: %post(device-mapper-event-1.02.93-3.fc22.x86_64) scriptlet failed, exit status 127
Nov 23 17:40:35 localhost cloud-init[738]: Non-fatal POSTIN scriptlet failure in rpm package device-mapper-event
Nov 23 17:40:36 localhost audit[811]: <audit-1400> avc: denied { transition } for pid=811 comm="dnf" path="/usr/sbin/ldconfig" dev="vda1" ino=4512 scontext=system_u:system_r:cloud_init_t:s0 tcontext=system_u:system_r:rpm_script_t:s0 tclass=process permissive=0
Nov 23 17:40:36 localhost cloud-init[738]: Installing : lvm2-libs-2.02.116-3.fc22.x86_64 3/9
Nov 23 17:40:36 localhost cloud-init[738]: warning: %post(lvm2-libs-2.02.116-3.fc22.x86_64) scriptlet failed, exit status 127
Nov 23 17:40:36 localhost cloud-init[738]: Non-fatal POSTIN scriptlet failure in rpm package lvm2-libs
Nov 23 17:40:37 localhost audit[812]: <audit-1400> avc: denied { transition } for pid=812 comm="dnf" path="/usr/sbin/ldconfig" dev="vda1" ino=4512 scontext=system_u:system_r:cloud_init_t:s0 tcontext=system_u:system_r:rpm_script_t:s0 tclass=process permissive=0
Nov 23 17:40:37 localhost cloud-init[738]: Installing : libaio-0.3.110-4.fc22.x86_64 4/9
Nov 23 17:40:37 localhost cloud-init[738]: warning: %post(libaio-0.3.110-4.fc22.x86_64) scriptlet failed, exit status 127
Nov 23 17:40:37 localhost cloud-init[738]: Non-fatal POSTIN scriptlet failure in rpm package libaio
Nov 23 17:40:38 localhost cloud-init[738]: Installing : device-mapper-persistent-data-0.5.5-1.fc22.x86_64 5/9
Nov 23 17:40:39 localhost audit[813]: <audit-1400> avc: denied { transition } for pid=813 comm="dnf" path="/usr/bin/bash" dev="vda1" ino=4844 scontext=system_u:system_r:cloud_init_t:s0 tcontext=system_u:system_r:rpm_script_t:s0 tclass=process permissive=0
Nov 23 17:40:39 localhost cloud-init[738]: Installing : lvm2-2.02.116-3.fc22.x86_64 6/9
Nov 23 17:40:39 localhost cloud-init[738]: warning: %post(lvm2-2.02.116-3.fc22.x86_64) scriptlet failed, exit status 127
Nov 23 17:40:39 localhost cloud-init[738]: Non-fatal POSTIN scriptlet failure in rpm package lvm2
Nov 23 17:40:40 localhost audit[814]: <audit-1400> avc: denied { transition } for pid=814 comm="dnf" path="/usr/sbin/ldconfig" dev="vda1" ino=4512 scontext=system_u:system_r:cloud_init_t:s0 tcontext=system_u:system_r:rpm_script_t:s0 tclass=process permissive=0
Nov 23 17:40:40 localhost cloud-init[738]: Installing : xfsprogs-3.2.2-2.fc22.x86_64 7/9
Nov 23 17:40:40 localhost cloud-init[738]: warning: %post(xfsprogs-3.2.2-2.fc22.x86_64) scriptlet failed, exit status 127
Nov 23 17:40:40 localhost cloud-init[738]: Non-fatal POSTIN scriptlet failure in rpm package xfsprogs
Nov 23 17:40:41 localhost audit[815]: <audit-1400> avc: denied { transition } for pid=815 comm="dnf" path="/usr/bin/bash" dev="vda1" ino=4844 scontext=system_u:system_r:cloud_init_t:s0 tcontext=system_u:system_r:rpm_script_t:s0 tclass=process permissive=0
Nov 23 17:40:41 localhost cloud-init[738]: Installing : docker-selinux-1.8.2-7.gitcb216be.fc22.x86_64 8/9
Nov 23 17:40:41 localhost cloud-init[738]: warning: %post(docker-selinux-1.8.2-7.gitcb216be.fc22.x86_64) scriptlet failed, exit status 127
Nov 23 17:40:41 localhost cloud-init[738]: Non-fatal POSTIN scriptlet failure in rpm package docker-selinux
Nov 23 17:40:41 localhost audit[816]: <audit-1400> avc: denied { transition } for pid=816 comm="dnf" path="/usr/bin/bash" dev="vda1" ino=4844 scontext=system_u:system_r:cloud_init_t:s0 tcontext=system_u:system_r:rpm_script_t:s0 tclass=process permissive=0
Nov 23 17:40:41 localhost cloud-init[738]: error: %prein(docker-1.8.2-7.gitcb216be.fc22.x86_64) scriptlet failed, exit status 127
Nov 23 17:40:41 localhost cloud-init[738]: Error in PREIN scriptlet in rpm package docker
Nov 23 17:40:41 localhost cloud-init[738]: Warning: scriptlet or other non-fatal errors occurred during transaction.
Nov 23 17:40:41 localhost cloud-init[738]: docker-1.8.2-7.gitcb216be.fc22.x86_64 was supposed to be installed but is not!
Nov 23 17:40:41 localhost cloud-init[738]: Verifying : docker-1.8.2-7.gitcb216be.fc22.x86_64 1/9
Nov 23 17:40:42 localhost cloud-init[738]: Verifying : lvm2-2.02.116-3.fc22.x86_64 2/9
Nov 23 17:40:42 localhost cloud-init[738]: Verifying : docker-selinux-1.8.2-7.gitcb216be.fc22.x86_64 3/9
Nov 23 17:40:42 localhost cloud-init[738]: Verifying : device-mapper-event-libs-1.02.93-3.fc22.x86_64 4/9
Nov 23 17:40:42 localhost cloud-init[738]: Verifying : lvm2-libs-2.02.116-3.fc22.x86_64 5/9
Nov 23 17:40:42 localhost cloud-init[738]: Verifying : device-mapper-event-1.02.93-3.fc22.x86_64 6/9
Nov 23 17:40:43 localhost cloud-init[738]: Verifying : xfsprogs-3.2.2-2.fc22.x86_64 7/9
Nov 23 17:40:43 localhost cloud-init[738]: Verifying : device-mapper-persistent-data-0.5.5-1.fc22.x86_64 8/9
Nov 23 17:40:43 localhost cloud-init[738]: Verifying : libaio-0.3.110-4.fc22.x86_64 9/9
Nov 23 17:40:43 localhost cloud-init[738]: Installed:
Nov 23 17:40:43 localhost cloud-init[738]: device-mapper-event.x86_64 1.02.93-3.fc22
Nov 23 17:40:43 localhost cloud-init[738]: device-mapper-event-libs.x86_64 1.02.93-3.fc22
Nov 23 17:40:43 localhost cloud-init[738]: device-mapper-persistent-data.x86_64 0.5.5-1.fc22
Nov 23 17:40:43 localhost cloud-init[738]: docker.x86_64 1.8.2-7.gitcb216be.fc22
Nov 23 17:40:43 localhost cloud-init[738]: docker-selinux.x86_64 1.8.2-7.gitcb216be.fc22
Nov 23 17:40:43 localhost cloud-init[738]: libaio.x86_64 0.3.110-4.fc22
Nov 23 17:40:43 localhost cloud-init[738]: lvm2.x86_64 2.02.116-3.fc22
Nov 23 17:40:43 localhost cloud-init[738]: lvm2-libs.x86_64 2.02.116-3.fc22
Nov 23 17:40:43 localhost cloud-init[738]: xfsprogs.x86_64 3.2.2-2.fc22
Nov 23 17:40:43 localhost cloud-init[738]: Completion plugin: Generating completion cache...
Nov 23 17:40:43 localhost cloud-init[738]: Complete!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment