blog.oyasu.info、oyasu.info は ConoHa で CentOS のサーバーで運用しています。
先日、CentOS 7.7 (1908) がリリースされたので、早速アップデートしてみました。
最後に cloud-init に関するエラーについても簡単に紹介しています。
アップデートされたパッケージ
================================================================================ Package Arch Version Repository Size ================================================================================ Installing: kernel x86_64 3.10.0-1062.1.1.el7 updates 50 M python-requests noarch 2.6.0-5.el7 base 94 k replacing python2-requests.noarch 2.6.0-0.el7 urw-base35-fonts noarch 20170801-10.el7 base 7.6 k replacing urw-fonts.noarch 2.4-16.el7 Updating: GeoIP x86_64 1.5.0-14.el7 base 1.5 M ImageMagick x86_64 6.7.8.9-18.el7 base 2.1 M ImageMagick-perl x86_64 6.7.8.9-18.el7 base 148 k NetworkManager x86_64 1:1.18.0-5.el7_7.1 updates 1.9 M NetworkManager-libnm x86_64 1:1.18.0-5.el7_7.1 updates 1.7 M NetworkManager-ppp x86_64 1:1.18.0-5.el7_7.1 updates 169 k NetworkManager-team x86_64 1:1.18.0-5.el7_7.1 updates 163 k NetworkManager-tui x86_64 1:1.18.0-5.el7_7.1 updates 326 k abrt x86_64 2.1.11-55.el7.centos base 537 k abrt-addon-ccpp x86_64 2.1.11-55.el7.centos base 194 k abrt-addon-kerneloops x86_64 2.1.11-55.el7.centos base 106 k abrt-addon-pstoreoops x86_64 2.1.11-55.el7.centos base 97 k abrt-addon-python x86_64 2.1.11-55.el7.centos base 103 k abrt-addon-vmcore x86_64 2.1.11-55.el7.centos base 107 k abrt-addon-xorg x86_64 2.1.11-55.el7.centos base 98 k abrt-cli x86_64 2.1.11-55.el7.centos base 88 k abrt-console-notification x86_64 2.1.11-55.el7.centos base 89 k abrt-dbus x86_64 2.1.11-55.el7.centos base 122 k abrt-libs x86_64 2.1.11-55.el7.centos base 110 k abrt-python x86_64 2.1.11-55.el7.centos base 110 k abrt-retrace-client x86_64 2.1.11-55.el7.centos base 123 k abrt-tui x86_64 2.1.11-55.el7.centos base 100 k alsa-lib x86_64 1.1.8-1.el7 base 425 k apr x86_64 1.4.8-5.el7 base 103 k audit x86_64 2.8.5-4.el7 base 256 k audit-libs i686 2.8.5-4.el7 base 102 k audit-libs x86_64 2.8.5-4.el7 base 102 k audit-libs-python x86_64 2.8.5-4.el7 base 76 k augeas-libs x86_64 1.4.0-9.el7 base 356 k bash x86_64 4.2.46-33.el7 base 1.0 M bind-libs x86_64 32:9.11.4-9.P2.el7 base 154 k bind-libs-lite x86_64 32:9.11.4-9.P2.el7 base 1.1 M bind-license noarch 32:9.11.4-9.P2.el7 base 88 k bind-utils x86_64 32:9.11.4-9.P2.el7 base 258 k binutils x86_64 2.27-41.base.el7 base 5.9 M biosdevname x86_64 0.7.3-2.el7 base 38 k blktrace x86_64 1.0.5-9.el7 base 134 k cairo x86_64 1.15.12-4.el7 base 741 k centos-release x86_64 7-7.1908.0.el7.centos base 26 k chrony x86_64 3.4-1.el7 base 251 k cloud-init x86_64 18.5-3.el7.centos base 861 k coreutils x86_64 8.22-24.el7 base 3.3 M cpp x86_64 4.8.5-39.el7 base 5.9 M cronie x86_64 1.4.11-23.el7 base 92 k cronie-anacron x86_64 1.4.11-23.el7 base 36 k cryptsetup x86_64 2.0.3-5.el7 base 154 k cryptsetup-libs x86_64 2.0.3-5.el7 base 338 k cups-libs x86_64 1:1.6.3-40.el7 base 358 k curl x86_64 7.29.0-54.el7 base 270 k desktop-file-utils x86_64 0.23-2.el7 base 67 k device-mapper x86_64 7:1.02.158-2.el7 base 294 k device-mapper-event x86_64 7:1.02.158-2.el7 base 189 k device-mapper-event-libs x86_64 7:1.02.158-2.el7 base 189 k device-mapper-libs x86_64 7:1.02.158-2.el7 base 322 k device-mapper-persistent-data x86_64 0.8.5-1.el7 base 423 k dhclient x86_64 12:4.2.5-77.el7.centos base 285 k dhcp-common x86_64 12:4.2.5-77.el7.centos base 176 k dhcp-libs x86_64 12:4.2.5-77.el7.centos base 133 k diffutils x86_64 3.3-5.el7 base 322 k dmidecode x86_64 1:3.2-3.el7 base 81 k dracut x86_64 033-564.el7 base 329 k dracut-config-rescue x86_64 033-564.el7 base 60 k dracut-network x86_64 033-564.el7 base 103 k dyninst x86_64 9.3.1-3.el7 base 3.5 M e2fsprogs x86_64 1.42.9-16.el7 base 700 k e2fsprogs-libs x86_64 1.42.9-16.el7 base 167 k elfutils x86_64 0.176-2.el7 base 305 k elfutils-default-yama-scope noarch 0.176-2.el7 base 33 k elfutils-libelf i686 0.176-2.el7 base 200 k elfutils-libelf x86_64 0.176-2.el7 base 194 k elfutils-libs i686 0.176-2.el7 base 318 k elfutils-libs x86_64 0.176-2.el7 base 291 k ethtool x86_64 2:4.8-10.el7 base 127 k firewalld noarch 0.6.3-2.el7_7.1 updates 441 k firewalld-filesystem noarch 0.6.3-2.el7_7.1 updates 50 k freetype x86_64 2.8-14.el7 base 380 k gcc x86_64 4.8.5-39.el7 base 16 M gcc-c++ x86_64 4.8.5-39.el7 base 7.2 M gdb x86_64 7.6.1-115.el7 base 2.4 M ghostscript x86_64 9.25-2.el7_7.2 updates 111 k glib2 x86_64 2.56.1-5.el7 base 2.5 M glibc i686 2.17-292.el7 base 4.3 M glibc x86_64 2.17-292.el7 base 3.6 M glibc-common x86_64 2.17-292.el7 base 11 M glibc-devel x86_64 2.17-292.el7 base 1.1 M glibc-headers x86_64 2.17-292.el7 base 687 k gpm-libs x86_64 1.20.7-6.el7 base 32 k grub2 x86_64 1:2.02-0.80.el7.centos base 32 k grub2-common noarch 1:2.02-0.80.el7.centos base 730 k grub2-pc x86_64 1:2.02-0.80.el7.centos base 32 k grub2-pc-modules noarch 1:2.02-0.80.el7.centos base 848 k grub2-tools x86_64 1:2.02-0.80.el7.centos base 1.8 M grub2-tools-extra x86_64 1:2.02-0.80.el7.centos base 997 k grub2-tools-minimal x86_64 1:2.02-0.80.el7.centos base 174 k grubby x86_64 8.28-26.el7 base 71 k httpd x86_64 2.4.6-90.el7.centos base 2.7 M httpd-tools x86_64 2.4.6-90.el7.centos base 91 k hwdata x86_64 0.252-9.3.el7 base 2.4 M initscripts x86_64 9.49.47-1.el7 base 439 k iproute x86_64 4.11.0-25.el7 base 803 k iprutils x86_64 2.4.17.1-2.el7 base 243 k ipset x86_64 7.1-1.el7 base 39 k ipset-libs x86_64 7.1-1.el7 base 64 k iptables x86_64 1.4.21-33.el7 base 433 k irqbalance x86_64 3:1.0.7-12.el7 base 45 k iwl100-firmware noarch 39.31.5.1-72.el7 base 159 k iwl1000-firmware noarch 1:39.31.5.1-72.el7 base 222 k iwl105-firmware noarch 18.168.6.1-72.el7 base 243 k iwl135-firmware noarch 18.168.6.1-72.el7 base 252 k iwl2000-firmware noarch 18.168.6.1-72.el7 base 245 k iwl2030-firmware noarch 18.168.6.1-72.el7 base 254 k iwl3160-firmware noarch 22.0.7.0-72.el7 base 1.7 M iwl3945-firmware noarch 15.32.2.9-72.el7 base 97 k iwl4965-firmware noarch 228.61.2.24-72.el7 base 110 k iwl5000-firmware noarch 8.83.5.1_1-72.el7 base 303 k iwl5150-firmware noarch 8.24.2.2-72.el7 base 155 k iwl6000-firmware noarch 9.221.4.1-72.el7 base 176 k iwl6000g2a-firmware noarch 17.168.5.3-72.el7 base 318 k iwl6000g2b-firmware noarch 17.168.5.2-72.el7 base 319 k iwl6050-firmware noarch 41.28.5.1-72.el7 base 251 k iwl7260-firmware noarch 22.0.7.0-72.el7 base 1.1 M iwl7265-firmware noarch 22.0.7.0-72.el7 base 7.3 M kernel-headers x86_64 3.10.0-1062.1.1.el7 updates 8.7 M kernel-tools x86_64 3.10.0-1062.1.1.el7 updates 7.8 M kernel-tools-libs x86_64 3.10.0-1062.1.1.el7 updates 7.7 M kexec-tools x86_64 2.0.15-33.el7 base 346 k kmod x86_64 20-25.el7 base 122 k kmod-libs x86_64 20-25.el7 base 51 k kpartx x86_64 0.4.9-127.el7 base 78 k kpatch noarch 0.6.1-4.el7 base 11 k krb5-devel x86_64 1.15.1-37.el7_7.2 updates 272 k krb5-libs x86_64 1.15.1-37.el7_7.2 updates 805 k langtable noarch 0.0.31-4.el7 base 32 k langtable-data noarch 0.0.31-4.el7 base 620 k langtable-python noarch 0.0.31-4.el7 base 28 k libX11 x86_64 1.6.7-2.el7 base 607 k libX11-common noarch 1.6.7-2.el7 base 164 k libblkid x86_64 2.23.2-61.el7 base 181 k libcap i686 2.22-10.el7 base 48 k libcap x86_64 2.22-10.el7 base 47 k libcgroup x86_64 0.41-21.el7 base 66 k libcom_err x86_64 1.42.9-16.el7 base 41 k libcom_err-devel x86_64 1.42.9-16.el7 base 32 k libcurl x86_64 7.29.0-54.el7 base 222 k libdb i686 5.3.21-25.el7 base 731 k libdb x86_64 5.3.21-25.el7 base 720 k libdb-utils x86_64 5.3.21-25.el7 base 132 k libdrm x86_64 2.4.97-2.el7 base 151 k libgcc i686 4.8.5-39.el7 base 110 k libgcc x86_64 4.8.5-39.el7 base 102 k libgomp x86_64 4.8.5-39.el7 base 158 k libicu x86_64 50.2-3.el7 base 6.9 M libjpeg-turbo x86_64 1.2.90-8.el7 base 135 k libkadm5 x86_64 1.15.1-37.el7_7.2 updates 178 k libmount x86_64 2.23.2-61.el7 base 183 k libndp x86_64 1.2-9.el7 base 32 k libreport x86_64 2.1.11-43.el7.centos base 456 k libreport-centos x86_64 2.1.11-43.el7.centos base 50 k libreport-cli x86_64 2.1.11-43.el7.centos base 52 k libreport-filesystem x86_64 2.1.11-43.el7.centos base 40 k libreport-plugin-mailx x86_64 2.1.11-43.el7.centos base 66 k libreport-plugin-mantisbt x86_64 2.1.11-43.el7.centos base 72 k libreport-plugin-rhtsupport x86_64 2.1.11-43.el7.centos base 78 k libreport-plugin-ureport x86_64 2.1.11-43.el7.centos base 58 k libreport-python x86_64 2.1.11-43.el7.centos base 70 k libreport-web x86_64 2.1.11-43.el7.centos base 57 k libsmartcols x86_64 2.23.2-61.el7 base 141 k libss x86_64 1.42.9-16.el7 base 46 k libssh2 x86_64 1.8.0-3.el7 base 88 k libsss_idmap x86_64 1.16.4-21.el7 base 152 k libsss_nss_idmap x86_64 1.16.4-21.el7 base 158 k libstdc++ i686 4.8.5-39.el7 base 318 k libstdc++ x86_64 4.8.5-39.el7 base 305 k libstdc++-devel x86_64 4.8.5-39.el7 base 1.5 M libstoragemgmt x86_64 1.7.3-3.el7 base 243 k libstoragemgmt-python noarch 1.7.3-3.el7 base 167 k libstoragemgmt-python-clibs x86_64 1.7.3-3.el7 base 19 k libteam x86_64 1.27-9.el7 base 49 k libtiff x86_64 4.0.3-32.el7 base 171 k libtirpc x86_64 0.2.4-0.16.el7 base 89 k libuuid x86_64 2.23.2-61.el7 base 83 k linux-firmware noarch 20190429-72.gitddde598.el7 base 73 M lm_sensors-libs x86_64 3.4.0-8.20160601gitf9185e5.el7 base 42 k lvm2 x86_64 7:2.02.185-2.el7 base 1.3 M lvm2-libs x86_64 7:2.02.185-2.el7 base 1.1 M lz4 i686 1.7.5-3.el7 base 111 k lz4 x86_64 1.7.5-3.el7 base 99 k make x86_64 1:3.82-24.el7 base 421 k man-pages-ja noarch 20130615-5.el7 base 5.4 M man-pages-overrides x86_64 7.7.3-1.el7 base 1.3 M mdadm x86_64 4.1-1.el7 base 435 k mesa-libEGL x86_64 18.3.4-5.el7 base 109 k mesa-libGL x86_64 18.3.4-5.el7 base 165 k mesa-libgbm x86_64 18.3.4-5.el7 base 39 k mesa-libglapi x86_64 18.3.4-5.el7 base 45 k microcode_ctl x86_64 2:2.1-53.el7 base 2.0 M mod_ssl x86_64 1:2.4.6-90.el7.centos base 112 k net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k nmap x86_64 2:6.40-19.el7 base 3.9 M nmap-ncat x86_64 2:6.40-19.el7 base 206 k nspr x86_64 4.21.0-1.el7 base 127 k nss x86_64 3.44.0-4.el7 base 854 k nss-pem x86_64 1.0.3-7.el7 base 74 k nss-softokn x86_64 3.44.0-5.el7 base 329 k nss-softokn-freebl i686 3.44.0-5.el7 base 214 k nss-softokn-freebl x86_64 3.44.0-5.el7 base 224 k nss-sysinit x86_64 3.44.0-4.el7 base 64 k nss-tools x86_64 3.44.0-4.el7 base 528 k nss-util x86_64 3.44.0-3.el7 base 79 k ntp x86_64 4.2.6p5-29.el7.centos base 548 k ntpdate x86_64 4.2.6p5-29.el7.centos base 86 k numactl-libs x86_64 2.0.12-3.el7 base 30 k openssh x86_64 7.4p1-21.el7 base 510 k openssh-clients x86_64 7.4p1-21.el7 base 655 k openssh-server x86_64 7.4p1-21.el7 base 459 k openssl x86_64 1:1.0.2k-19.el7 base 493 k openssl-devel x86_64 1:1.0.2k-19.el7 base 1.5 M openssl-libs x86_64 1:1.0.2k-19.el7 base 1.2 M pango x86_64 1.42.4-4.el7_7 updates 280 k parted x86_64 3.1-31.el7 base 609 k passwd x86_64 0.79-5.el7 base 105 k plymouth x86_64 0.8.9-0.32.20140113.el7.centos base 116 k plymouth-core-libs x86_64 0.8.9-0.32.20140113.el7.centos base 108 k plymouth-scripts x86_64 0.8.9-0.32.20140113.el7.centos base 39 k policycoreutils x86_64 2.5-33.el7 base 916 k policycoreutils-python x86_64 2.5-33.el7 base 457 k polkit x86_64 0.112-22.el7_7.1 updates 170 k procps-ng x86_64 3.3.10-26.el7 base 291 k python x86_64 2.7.5-86.el7 base 95 k python-chardet noarch 2.2.1-3.el7 base 227 k python-devel x86_64 2.7.5-86.el7 base 398 k python-firewall noarch 0.6.3-2.el7_7.1 updates 352 k python-jinja2 noarch 2.7.2-4.el7 base 519 k python-libs x86_64 2.7.5-86.el7 base 5.6 M python-linux-procfs noarch 0.4.11-4.el7 base 33 k python-perf x86_64 3.10.0-1062.1.1.el7 updates 7.8 M python-tools x86_64 2.7.5-86.el7 base 857 k python-urllib3 noarch 1.10.2-7.el7 base 103 k qemu-guest-agent x86_64 10:2.12.0-3.el7 base 116 k quota x86_64 1:4.01-19.el7 base 179 k quota-nls noarch 1:4.01-19.el7 base 90 k rdma-core i686 22.1-3.el7 base 50 k rdma-core x86_64 22.1-3.el7 base 50 k readline x86_64 6.2-11.el7 base 193 k readline-devel x86_64 6.2-11.el7 base 139 k redhat-rpm-config noarch 9.1.0-88.el7.centos base 81 k rng-tools x86_64 6.3.1-4.el7 base 49 k rpcbind x86_64 0.2.0-48.el7 base 60 k rpm x86_64 4.11.3-40.el7 base 1.2 M rpm-build-libs x86_64 4.11.3-40.el7 base 107 k rpm-libs x86_64 4.11.3-40.el7 base 278 k rpm-python x86_64 4.11.3-40.el7 base 83 k rsyslog x86_64 8.24.0-41.el7_7 updates 616 k selinux-policy noarch 3.13.1-252.el7.1 updates 492 k selinux-policy-targeted noarch 3.13.1-252.el7.1 updates 7.0 M sg3_utils-libs x86_64 1.37-18.el7_7.1 updates 65 k shadow-utils x86_64 2:4.6-5.el7 base 1.2 M smartmontools x86_64 1:7.0-1.el7 base 546 k sos noarch 3.7-6.el7.centos updates 502 k sssd-client x86_64 1.16.4-21.el7 base 207 k sudo x86_64 1.8.23-4.el7 base 841 k sysstat x86_64 10.1.5-18.el7 base 315 k systemd x86_64 219-67.el7_7.1 updates 5.1 M systemd-libs i686 219-67.el7_7.1 updates 417 k systemd-libs x86_64 219-67.el7_7.1 updates 411 k systemd-python x86_64 219-67.el7_7.1 updates 137 k systemd-sysv x86_64 219-67.el7_7.1 updates 88 k systemtap-runtime x86_64 4.0-9.el7 base 443 k tcpdump x86_64 14:4.9.2-4.el7 base 421 k teamd x86_64 1.27-9.el7 base 113 k tkinter x86_64 2.7.5-86.el7 base 327 k tuned noarch 2.11.0-5.el7_7.1 updates 268 k unzip x86_64 6.0-20.el7 base 170 k usermode x86_64 1.111-6.el7 base 193 k util-linux x86_64 2.23.2-61.el7 base 2.0 M vim-common x86_64 2:7.4.629-6.el7 base 5.9 M vim-enhanced x86_64 2:7.4.629-6.el7 base 1.1 M vim-filesystem x86_64 2:7.4.629-6.el7 base 11 k vim-minimal x86_64 2:7.4.629-6.el7 base 443 k xfsprogs x86_64 4.5.0-20.el7 base 896 k yum noarch 3.4.3-163.el7.centos base 1.2 M yum-plugin-fastestmirror noarch 1.1.31-52.el7 base 34 k yum-utils noarch 1.1.31-52.el7 base 121 k Removing: kernel x86_64 3.10.0-957.21.2.el7 @updates 63 M Installing for dependencies: adobe-mappings-cmap noarch 20171205-3.el7 base 2.1 M adobe-mappings-cmap-deprecated noarch 20171205-3.el7 base 114 k adobe-mappings-pdf noarch 20180407-1.el7 base 703 k bind-export-libs x86_64 32:9.11.4-9.P2.el7 base 1.1 M geoipupdate x86_64 2.5.0-1.el7 base 35 k libXcursor x86_64 1.1.15-1.el7 base 30 k libXi x86_64 1.7.9-1.el7 base 40 k libXinerama x86_64 1.1.3-2.1.el7 base 14 k libXmu x86_64 1.1.2-2.el7 base 71 k libXrandr x86_64 1.5.1-2.el7 base 27 k libXxf86misc x86_64 1.0.3-7.1.el7 base 19 k libfontenc x86_64 1.1.3-3.el7 base 31 k libgs x86_64 9.25-2.el7_7.2 updates 4.6 M libpaper x86_64 1.1.24-8.el7 base 37 k openjpeg2 x86_64 2.3.1-1.el7 base 153 k python-rpm-macros noarch 3-32.el7 base 8.8 k python-srpm-macros noarch 3-32.el7 base 8.4 k python2-rpm-macros noarch 3-32.el7 base 7.7 k urw-base35-bookman-fonts noarch 20170801-10.el7 base 852 k urw-base35-c059-fonts noarch 20170801-10.el7 base 879 k urw-base35-d050000l-fonts noarch 20170801-10.el7 base 75 k urw-base35-fonts-common noarch 20170801-10.el7 base 19 k urw-base35-gothic-fonts noarch 20170801-10.el7 base 650 k urw-base35-nimbus-mono-ps-fonts noarch 20170801-10.el7 base 796 k urw-base35-nimbus-roman-fonts noarch 20170801-10.el7 base 860 k urw-base35-nimbus-sans-fonts noarch 20170801-10.el7 base 1.3 M urw-base35-p052-fonts noarch 20170801-10.el7 base 978 k urw-base35-standard-symbols-ps-fonts noarch 20170801-10.el7 base 40 k urw-base35-z003-fonts noarch 20170801-10.el7 base 275 k xorg-x11-font-utils x86_64 1:7.5-21.el7 base 104 k xorg-x11-server-utils x86_64 7.7-20.el7 base 178 k Transaction Summary ================================================================================ Install 3 Packages (+31 Dependent packages) Upgrade 283 Packages Remove 1 Package Total download size: 375 M Is this ok [y/d/N]:
アップデート後のバージョン
# cat /etc/redhat-release CentOS Linux release 7.7.1908 (Core) # uname -a Linux oyasu-info 3.10.0-1062.1.1.el7.x86_64 #1 SMP Fri Sep 13 22:55:44 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
カーネルバージョンが 3.10.0-957 から、3.10.0-1062 に変わりました。
ついに1000超えましたね。
アップデート後の問題
SSH ログインするとこのようなエラーが・・・
ABRT has detected 1 problem(s). For more info run: abrt-cli list --since 1568812060 [[email protected] ~]# abrt-cli list --since 1568812060 id 1cca2b933ab7cbad08a96c54ff7b42cf7725e46b reason: __init__.py:95:load_module:ImportError: No module named 'requests.packages.urllib3' time: Wed 18 Sep 2019 10:07:33 PM JST cmdline: /usr/bin/python /usr/bin/cloud-init init --local package: cloud-init-18.5-3.el7.centos uid: 0 (root) count: 2 Directory: /var/spool/abrt/Python-2019-09-18-22:07:33-721
どうやら cloud-init でエラーが起きているようです。
一度目のエラー確認した後再起動したので、count が2になっています。
cloud-init とは何か
cloud-init は、VM の初期設定を行うプログラムであり、この VM をイメージ保存して再作成や再構築をなどしない限り、大丈夫だと思います。
といっても、CentOS 7.6 では発生していなかったので気になりますね。
エラーの原因
CentOS 7.6 の時は、cloud-init 18.2 だったのですが、CentOS 7.7 では、18.5 に更新されています。
それにより、今まで動いていた設定が対応しなくなったことが原因だと思われます。
エラーメッセージは下記です。
Sep 18 22:08:32 oyasu-info cloud-init: Traceback (most recent call last): Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/bin/cloud-init", line 9, in <module> Sep 18 22:08:32 oyasu-info cloud-init: load_entry_point('cloud-init==18.5', 'console_scripts', 'cloud-init')() Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 476, in load_entry_point Sep 18 22:08:32 oyasu-info cloud-init: return get_distribution(dist).load_entry_point(group, name) Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2700, in load_entry_point Sep 18 22:08:32 oyasu-info cloud-init: return ep.load() Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2318, in load Sep 18 22:08:32 oyasu-info cloud-init: return self.resolve() Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2324, in resolve Sep 18 22:08:32 oyasu-info cloud-init: module = __import__(self.module_name, fromlist=['__name__'], level=0) Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/cloudinit/cmd/main.py", line 26, in <module> Sep 18 22:08:32 oyasu-info cloud-init: from cloudinit import netinfo Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/cloudinit/netinfo.py", line 15, in <module> Sep 18 22:08:32 oyasu-info cloud-init: from cloudinit.net.network_state import net_prefix_to_ipv4_mask Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/cloudinit/net/__init__.py", line 13, in <module> Sep 18 22:08:32 oyasu-info cloud-init: from cloudinit.net.network_state import mask_to_net_prefix Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/cloudinit/net/network_state.py", line 15, in <module> Sep 18 22:08:32 oyasu-info cloud-init: from cloudinit import util Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 49, in <module> Sep 18 22:08:32 oyasu-info cloud-init: from cloudinit import url_helper Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/cloudinit/url_helper.py", line 13, in <module> Sep 18 22:08:32 oyasu-info cloud-init: import requests Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 58, in <module> Sep 18 22:08:32 oyasu-info cloud-init: from . import utils Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/requests/utils.py", line 32, in <module> Sep 18 22:08:32 oyasu-info cloud-init: from .exceptions import InvalidURL Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/requests/exceptions.py", line 10, in <module> Sep 18 22:08:32 oyasu-info cloud-init: from .packages.urllib3.exceptions import HTTPError as BaseHTTPError Sep 18 22:08:32 oyasu-info cloud-init: File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 95, in load_module Sep 18 22:08:32 oyasu-info cloud-init: raise ImportError("No module named '%s'" % (name,)) Sep 18 22:08:32 oyasu-info cloud-init: ImportError: No module named 'requests.packages.urllib3'
urllib3 はインストールされていました。
[[email protected] instance]# pip list | grep urllib3 urllib3 (1.10.2)
影響はなさそうですが、毎回再起動の度に出るのもあれなので、disable しておきます。
[[email protected] instance]# systemctl status cloud-init ● cloud-init.service - Initial cloud-init job (metadata service crawler) Loaded: loaded (/usr/lib/systemd/system/cloud-init.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Wed 2019-09-18 22:08:32 JST; 1h 19min ago Process: 1123 ExecStart=/usr/bin/cloud-init init (code=exited, status=1/FAILURE) Main PID: 1123 (code=exited, status=1/FAILURE) Sep 18 22:08:32 oyasu-info cloud-init[1123]: from .exceptions import InvalidURL Sep 18 22:08:32 oyasu-info cloud-init[1123]: File "/usr/lib/python2.7/site-packages/requests/exceptions.py", line 10, in <module> Sep 18 22:08:32 oyasu-info cloud-init[1123]: from .packages.urllib3.exceptions import HTTPError as BaseHTTPError Sep 18 22:08:32 oyasu-info cloud-init[1123]: File "/usr/lib/python2.7/site-packages/requests/packages/__init__.py", line 95, in load_module Sep 18 22:08:32 oyasu-info cloud-init[1123]: raise ImportError("No module named '%s'" % (name,)) Sep 18 22:08:32 oyasu-info cloud-init[1123]: ImportError: No module named 'requests.packages.urllib3' Sep 18 22:08:32 oyasu-info systemd[1]: cloud-init.service: main process exited, code=exited, status=1/FAILURE Sep 18 22:08:32 oyasu-info systemd[1]: Failed to start Initial cloud-init job (metadata service crawler). Sep 18 22:08:32 oyasu-info systemd[1]: Unit cloud-init.service entered failed state. Sep 18 22:08:32 oyasu-info systemd[1]: cloud-init.service failed. [[email protected] instance]# systemctl disable cloud-init Removed symlink /etc/systemd/system/multi-user.target.wants/cloud-init.service.
cloud-init 以外は今のところ問題なさそうです。
ウェブサイト閲覧上何かございましたら、コメント等でご連絡いただけたらと思います。