[Kernel-packages] [Bug 1727358] Re: cloud-init is slow to complete init on minimized images
Ok, I got a question for all the interested folks out there; What is we were to have a test case that run init-local and fails if random gets imported? I'm looking at how this could be done, but that test could link to this bug and have people realise that they need to be careful about the random import. Is it a good idea or a bad idea? I honestly cannot tell and I have the tendency to think it's a good idea... -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1727358 Title: cloud-init is slow to complete init on minimized images Status in cloud-init: Won't Fix Status in cloud-init package in Ubuntu: Won't Fix Status in linux-kvm package in Ubuntu: Confirmed Status in python3.6 package in Ubuntu: Triaged Bug description: http://paste.ubuntu.com/25816789/ for the full logs. cloud-init is very slow to complete its initialization steps. Specifically, the 'init' takes over 150 seconds. Cloud-init v. 17.1 running 'init-local' at Wed, 25 Oct 2017 13:22:07 +. Up 2.39 seconds. 2017-10-25 13:22:07,157 - util.py[WARNING]: did not find either path /sys/class/dmi/id or dmidecode command Cloud-init v. 17.1 running 'init' at Wed, 25 Oct 2017 13:22:16 +. Up 11.37 seconds. ci-info: Net device info+ ci-info: ++---+-+---+---+---+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address| ci-info: ++---+-+---+---+---+ ci-info: | ens3: | True | 192.168.100.161 | 255.255.255.0 | . | 52:54:00:bb:ad:fb | ci-info: | ens3: | True |.| . | d | 52:54:00:bb:ad:fb | ci-info: | lo: | True |127.0.0.1| 255.0.0.0 | . | . | ci-info: | lo: | True |.| . | d | . | ci-info: | sit0: | False |.| . | . | . | ci-info: ++---+-+---+---+---+ ci-info: Route IPv4 info ci-info: +---+---+---+-+---+---+ ci-info: | Route | Destination |Gateway| Genmask | Interface | Flags | ci-info: +---+---+---+-+---+---+ ci-info: | 0 |0.0.0.0| 192.168.100.1 | 0.0.0.0 |ens3 | UG | ci-info: | 1 | 192.168.100.0 |0.0.0.0| 255.255.255.0 |ens3 | U | ci-info: | 2 | 192.168.100.1 |0.0.0.0| 255.255.255.255 |ens3 | UH | ci-info: +---+---+---+-+---+---+ 2017-10-25 13:24:38,187 - util.py[WARNING]: Failed to resize filesystem (cmd=('resize2fs', '/dev/root')) 2017-10-25 13:24:38,193 - util.py[WARNING]: Running module resizefs () failed Generating public/private rsa key pair. Your identification has been saved in /etc/ssh/ssh_host_rsa_key. Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub. The key fingerprint is: SHA256:LKNlCqqOgPB8KBKGfPhFO5Rs6fDMnAvVet/W9i4vLxY root@cloudimg The key's randomart image is: +---[RSA 2048]+ | | |. + | | . O . | |o . % +. | |++.o %=.S| |+=ooo=+o. . .E | |* +.+. . o o. | |=. . . .=. | |+. . B= | +[SHA256]-+ Generating public/private dsa key pair. Your identification has been saved in /etc/ssh/ssh_host_dsa_key. Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub. The key fingerprint is: SHA256:dNWNyBHqTUCl820/vL0dEhOVDFYJzqr1WeuqV1PAmjk root@cloudimg The key's randomart image is: +---[DSA 1024]+ | .oo=X==o| | =* *+.| |. = .B . | | . o =E.. .| |S .oo+o..| | o ..*+.| | . +.=o| | .o *| | .o..++| +[SHA256]-+ Generating public/private ecdsa key pair. Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key. Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub. The key fingerprint is: SHA256:N3RTlPa7KU5ryq6kJAO8Tiq90ub4P1DGSofn6jFkM3k root@cloudimg The key's randomart image is: +---[ECDSA 256]---+ | .o. | | .o | | o . o. . | | +.*. . . .| | .*XE S o .| | oo++. . . | | oo= o . . . o| |o.Oo. + o . .o.o | |oB=+.. . .o++o. | +[SHA256]-+ Generating public/private ed25519 key pair. Your identification has been saved in /etc/ssh/ssh_host_ed25519_key. Your public key has been saved in /etc/ssh/ssh_host_ed25519_
[Kernel-packages] [Bug 1727358] Re: cloud-init is slow to complete init on minimized images
Eric, this bug is about the linux-kvm kernel _in Ubuntu_. If you're seeing a cloud-init issue on Centos, then please file a separate bug. Thanks! -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1727358 Title: cloud-init is slow to complete init on minimized images Status in cloud-init: Won't Fix Status in cloud-init package in Ubuntu: Won't Fix Status in linux-kvm package in Ubuntu: Confirmed Status in python3.6 package in Ubuntu: Triaged Bug description: http://paste.ubuntu.com/25816789/ for the full logs. cloud-init is very slow to complete its initialization steps. Specifically, the 'init' takes over 150 seconds. Cloud-init v. 17.1 running 'init-local' at Wed, 25 Oct 2017 13:22:07 +. Up 2.39 seconds. 2017-10-25 13:22:07,157 - util.py[WARNING]: did not find either path /sys/class/dmi/id or dmidecode command Cloud-init v. 17.1 running 'init' at Wed, 25 Oct 2017 13:22:16 +. Up 11.37 seconds. ci-info: Net device info+ ci-info: ++---+-+---+---+---+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address| ci-info: ++---+-+---+---+---+ ci-info: | ens3: | True | 192.168.100.161 | 255.255.255.0 | . | 52:54:00:bb:ad:fb | ci-info: | ens3: | True |.| . | d | 52:54:00:bb:ad:fb | ci-info: | lo: | True |127.0.0.1| 255.0.0.0 | . | . | ci-info: | lo: | True |.| . | d | . | ci-info: | sit0: | False |.| . | . | . | ci-info: ++---+-+---+---+---+ ci-info: Route IPv4 info ci-info: +---+---+---+-+---+---+ ci-info: | Route | Destination |Gateway| Genmask | Interface | Flags | ci-info: +---+---+---+-+---+---+ ci-info: | 0 |0.0.0.0| 192.168.100.1 | 0.0.0.0 |ens3 | UG | ci-info: | 1 | 192.168.100.0 |0.0.0.0| 255.255.255.0 |ens3 | U | ci-info: | 2 | 192.168.100.1 |0.0.0.0| 255.255.255.255 |ens3 | UH | ci-info: +---+---+---+-+---+---+ 2017-10-25 13:24:38,187 - util.py[WARNING]: Failed to resize filesystem (cmd=('resize2fs', '/dev/root')) 2017-10-25 13:24:38,193 - util.py[WARNING]: Running module resizefs () failed Generating public/private rsa key pair. Your identification has been saved in /etc/ssh/ssh_host_rsa_key. Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub. The key fingerprint is: SHA256:LKNlCqqOgPB8KBKGfPhFO5Rs6fDMnAvVet/W9i4vLxY root@cloudimg The key's randomart image is: +---[RSA 2048]+ | | |. + | | . O . | |o . % +. | |++.o %=.S| |+=ooo=+o. . .E | |* +.+. . o o. | |=. . . .=. | |+. . B= | +[SHA256]-+ Generating public/private dsa key pair. Your identification has been saved in /etc/ssh/ssh_host_dsa_key. Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub. The key fingerprint is: SHA256:dNWNyBHqTUCl820/vL0dEhOVDFYJzqr1WeuqV1PAmjk root@cloudimg The key's randomart image is: +---[DSA 1024]+ | .oo=X==o| | =* *+.| |. = .B . | | . o =E.. .| |S .oo+o..| | o ..*+.| | . +.=o| | .o *| | .o..++| +[SHA256]-+ Generating public/private ecdsa key pair. Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key. Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub. The key fingerprint is: SHA256:N3RTlPa7KU5ryq6kJAO8Tiq90ub4P1DGSofn6jFkM3k root@cloudimg The key's randomart image is: +---[ECDSA 256]---+ | .o. | | .o | | o . o. . | | +.*. . . .| | .*XE S o .| | oo++. . . | | oo= o . . . o| |o.Oo. + o . .o.o | |oB=+.. . .o++o. | +[SHA256]-+ Generating public/private ed25519 key pair. Your identification has been saved in /etc/ssh/ssh_host_ed25519_key. Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub. The key fingerprint is: SHA256:B6B/1SyUB/TFPfmU1ADIotnD+wjISO5L2JZkWe2lDUA root@cloudimg The key's randomart image is: +--[ED25519 256]--+ | .E . o++.o+++| | + ...++...++| |o o=o.o.+ .o| | .o oo=+o ..| | o+o .+ So. | | =o.
[Kernel-packages] [Bug 1727358] Re: cloud-init is slow to complete init on minimized images
Tracked in Github Issues as https://github.com/canonical/cloud- init/issues/3042 ** Bug watch added: github.com/canonical/cloud-init/issues #3042 https://github.com/canonical/cloud-init/issues/3042 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1727358 Title: cloud-init is slow to complete init on minimized images Status in cloud-init: Won't Fix Status in cloud-init package in Ubuntu: Won't Fix Status in linux-kvm package in Ubuntu: Confirmed Status in python3.6 package in Ubuntu: Triaged Bug description: http://paste.ubuntu.com/25816789/ for the full logs. cloud-init is very slow to complete its initialization steps. Specifically, the 'init' takes over 150 seconds. Cloud-init v. 17.1 running 'init-local' at Wed, 25 Oct 2017 13:22:07 +. Up 2.39 seconds. 2017-10-25 13:22:07,157 - util.py[WARNING]: did not find either path /sys/class/dmi/id or dmidecode command Cloud-init v. 17.1 running 'init' at Wed, 25 Oct 2017 13:22:16 +. Up 11.37 seconds. ci-info: Net device info+ ci-info: ++---+-+---+---+---+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address| ci-info: ++---+-+---+---+---+ ci-info: | ens3: | True | 192.168.100.161 | 255.255.255.0 | . | 52:54:00:bb:ad:fb | ci-info: | ens3: | True |.| . | d | 52:54:00:bb:ad:fb | ci-info: | lo: | True |127.0.0.1| 255.0.0.0 | . | . | ci-info: | lo: | True |.| . | d | . | ci-info: | sit0: | False |.| . | . | . | ci-info: ++---+-+---+---+---+ ci-info: Route IPv4 info ci-info: +---+---+---+-+---+---+ ci-info: | Route | Destination |Gateway| Genmask | Interface | Flags | ci-info: +---+---+---+-+---+---+ ci-info: | 0 |0.0.0.0| 192.168.100.1 | 0.0.0.0 |ens3 | UG | ci-info: | 1 | 192.168.100.0 |0.0.0.0| 255.255.255.0 |ens3 | U | ci-info: | 2 | 192.168.100.1 |0.0.0.0| 255.255.255.255 |ens3 | UH | ci-info: +---+---+---+-+---+---+ 2017-10-25 13:24:38,187 - util.py[WARNING]: Failed to resize filesystem (cmd=('resize2fs', '/dev/root')) 2017-10-25 13:24:38,193 - util.py[WARNING]: Running module resizefs () failed Generating public/private rsa key pair. Your identification has been saved in /etc/ssh/ssh_host_rsa_key. Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub. The key fingerprint is: SHA256:LKNlCqqOgPB8KBKGfPhFO5Rs6fDMnAvVet/W9i4vLxY root@cloudimg The key's randomart image is: +---[RSA 2048]+ | | |. + | | . O . | |o . % +. | |++.o %=.S| |+=ooo=+o. . .E | |* +.+. . o o. | |=. . . .=. | |+. . B= | +[SHA256]-+ Generating public/private dsa key pair. Your identification has been saved in /etc/ssh/ssh_host_dsa_key. Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub. The key fingerprint is: SHA256:dNWNyBHqTUCl820/vL0dEhOVDFYJzqr1WeuqV1PAmjk root@cloudimg The key's randomart image is: +---[DSA 1024]+ | .oo=X==o| | =* *+.| |. = .B . | | . o =E.. .| |S .oo+o..| | o ..*+.| | . +.=o| | .o *| | .o..++| +[SHA256]-+ Generating public/private ecdsa key pair. Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key. Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub. The key fingerprint is: SHA256:N3RTlPa7KU5ryq6kJAO8Tiq90ub4P1DGSofn6jFkM3k root@cloudimg The key's randomart image is: +---[ECDSA 256]---+ | .o. | | .o | | o . o. . | | +.*. . . .| | .*XE S o .| | oo++. . . | | oo= o . . . o| |o.Oo. + o . .o.o | |oB=+.. . .o++o. | +[SHA256]-+ Generating public/private ed25519 key pair. Your identification has been saved in /etc/ssh/ssh_host_ed25519_key. Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub. The key fingerprint is: SHA256:B6B/1SyUB/TFPfmU1ADIotnD+wjISO5L2JZkWe2lDUA root@cloudimg The key's randomart image is: +--[ED25519 256]--+ | .E . o++.o+++| | + ...++...++| |o o=o.o.+ .
[Kernel-packages] [Bug 1727358] Re: cloud-init is slow to complete init on minimized images
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux-kvm (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1727358 Title: cloud-init is slow to complete init on minimized images Status in cloud-init: Won't Fix Status in cloud-init package in Ubuntu: Won't Fix Status in linux-kvm package in Ubuntu: Confirmed Status in python3.6 package in Ubuntu: Triaged Bug description: http://paste.ubuntu.com/25816789/ for the full logs. cloud-init is very slow to complete its initialization steps. Specifically, the 'init' takes over 150 seconds. Cloud-init v. 17.1 running 'init-local' at Wed, 25 Oct 2017 13:22:07 +. Up 2.39 seconds. 2017-10-25 13:22:07,157 - util.py[WARNING]: did not find either path /sys/class/dmi/id or dmidecode command Cloud-init v. 17.1 running 'init' at Wed, 25 Oct 2017 13:22:16 +. Up 11.37 seconds. ci-info: Net device info+ ci-info: ++---+-+---+---+---+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address| ci-info: ++---+-+---+---+---+ ci-info: | ens3: | True | 192.168.100.161 | 255.255.255.0 | . | 52:54:00:bb:ad:fb | ci-info: | ens3: | True |.| . | d | 52:54:00:bb:ad:fb | ci-info: | lo: | True |127.0.0.1| 255.0.0.0 | . | . | ci-info: | lo: | True |.| . | d | . | ci-info: | sit0: | False |.| . | . | . | ci-info: ++---+-+---+---+---+ ci-info: Route IPv4 info ci-info: +---+---+---+-+---+---+ ci-info: | Route | Destination |Gateway| Genmask | Interface | Flags | ci-info: +---+---+---+-+---+---+ ci-info: | 0 |0.0.0.0| 192.168.100.1 | 0.0.0.0 |ens3 | UG | ci-info: | 1 | 192.168.100.0 |0.0.0.0| 255.255.255.0 |ens3 | U | ci-info: | 2 | 192.168.100.1 |0.0.0.0| 255.255.255.255 |ens3 | UH | ci-info: +---+---+---+-+---+---+ 2017-10-25 13:24:38,187 - util.py[WARNING]: Failed to resize filesystem (cmd=('resize2fs', '/dev/root')) 2017-10-25 13:24:38,193 - util.py[WARNING]: Running module resizefs () failed Generating public/private rsa key pair. Your identification has been saved in /etc/ssh/ssh_host_rsa_key. Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub. The key fingerprint is: SHA256:LKNlCqqOgPB8KBKGfPhFO5Rs6fDMnAvVet/W9i4vLxY root@cloudimg The key's randomart image is: +---[RSA 2048]+ | | |. + | | . O . | |o . % +. | |++.o %=.S| |+=ooo=+o. . .E | |* +.+. . o o. | |=. . . .=. | |+. . B= | +[SHA256]-+ Generating public/private dsa key pair. Your identification has been saved in /etc/ssh/ssh_host_dsa_key. Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub. The key fingerprint is: SHA256:dNWNyBHqTUCl820/vL0dEhOVDFYJzqr1WeuqV1PAmjk root@cloudimg The key's randomart image is: +---[DSA 1024]+ | .oo=X==o| | =* *+.| |. = .B . | | . o =E.. .| |S .oo+o..| | o ..*+.| | . +.=o| | .o *| | .o..++| +[SHA256]-+ Generating public/private ecdsa key pair. Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key. Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub. The key fingerprint is: SHA256:N3RTlPa7KU5ryq6kJAO8Tiq90ub4P1DGSofn6jFkM3k root@cloudimg The key's randomart image is: +---[ECDSA 256]---+ | .o. | | .o | | o . o. . | | +.*. . . .| | .*XE S o .| | oo++. . . | | oo= o . . . o| |o.Oo. + o . .o.o | |oB=+.. . .o++o. | +[SHA256]-+ Generating public/private ed25519 key pair. Your identification has been saved in /etc/ssh/ssh_host_ed25519_key. Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub. The key fingerprint is: SHA256:B6B/1SyUB/TFPfmU1ADIotnD+wjISO5L2JZkWe2lDUA root@cloudimg The key's randomart image is: +--[ED25519 256]--+ | .E . o++.o+++| | + ...++...++| |o o=o.o.+ .o| | .o oo=+o ..| | o+o .+ So. | | =o.o
[Kernel-packages] [Bug 1727358] Re: cloud-init is slow to complete init on minimized images
In Openstack Newton (linux-kvm) with Centos 7 (latest cloud-image) with cloud-init 19.3, the delay is observed. I think this is due to the version that Centos ships with for python (2.7.5). The problem is at the init-local stage. https://github.com/canonical /cloud-init/pull/103 here is the attached cloud-init.log ** Attachment added: "cloud-init.log" https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1727358/+attachment/5312004/+files/cloud-init.log -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-kvm in Ubuntu. https://bugs.launchpad.net/bugs/1727358 Title: cloud-init is slow to complete init on minimized images Status in cloud-init: Won't Fix Status in cloud-init package in Ubuntu: Won't Fix Status in linux-kvm package in Ubuntu: Confirmed Status in python3.6 package in Ubuntu: Triaged Bug description: http://paste.ubuntu.com/25816789/ for the full logs. cloud-init is very slow to complete its initialization steps. Specifically, the 'init' takes over 150 seconds. Cloud-init v. 17.1 running 'init-local' at Wed, 25 Oct 2017 13:22:07 +. Up 2.39 seconds. 2017-10-25 13:22:07,157 - util.py[WARNING]: did not find either path /sys/class/dmi/id or dmidecode command Cloud-init v. 17.1 running 'init' at Wed, 25 Oct 2017 13:22:16 +. Up 11.37 seconds. ci-info: Net device info+ ci-info: ++---+-+---+---+---+ ci-info: | Device | Up | Address | Mask | Scope | Hw-Address| ci-info: ++---+-+---+---+---+ ci-info: | ens3: | True | 192.168.100.161 | 255.255.255.0 | . | 52:54:00:bb:ad:fb | ci-info: | ens3: | True |.| . | d | 52:54:00:bb:ad:fb | ci-info: | lo: | True |127.0.0.1| 255.0.0.0 | . | . | ci-info: | lo: | True |.| . | d | . | ci-info: | sit0: | False |.| . | . | . | ci-info: ++---+-+---+---+---+ ci-info: Route IPv4 info ci-info: +---+---+---+-+---+---+ ci-info: | Route | Destination |Gateway| Genmask | Interface | Flags | ci-info: +---+---+---+-+---+---+ ci-info: | 0 |0.0.0.0| 192.168.100.1 | 0.0.0.0 |ens3 | UG | ci-info: | 1 | 192.168.100.0 |0.0.0.0| 255.255.255.0 |ens3 | U | ci-info: | 2 | 192.168.100.1 |0.0.0.0| 255.255.255.255 |ens3 | UH | ci-info: +---+---+---+-+---+---+ 2017-10-25 13:24:38,187 - util.py[WARNING]: Failed to resize filesystem (cmd=('resize2fs', '/dev/root')) 2017-10-25 13:24:38,193 - util.py[WARNING]: Running module resizefs () failed Generating public/private rsa key pair. Your identification has been saved in /etc/ssh/ssh_host_rsa_key. Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub. The key fingerprint is: SHA256:LKNlCqqOgPB8KBKGfPhFO5Rs6fDMnAvVet/W9i4vLxY root@cloudimg The key's randomart image is: +---[RSA 2048]+ | | |. + | | . O . | |o . % +. | |++.o %=.S| |+=ooo=+o. . .E | |* +.+. . o o. | |=. . . .=. | |+. . B= | +[SHA256]-+ Generating public/private dsa key pair. Your identification has been saved in /etc/ssh/ssh_host_dsa_key. Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub. The key fingerprint is: SHA256:dNWNyBHqTUCl820/vL0dEhOVDFYJzqr1WeuqV1PAmjk root@cloudimg The key's randomart image is: +---[DSA 1024]+ | .oo=X==o| | =* *+.| |. = .B . | | . o =E.. .| |S .oo+o..| | o ..*+.| | . +.=o| | .o *| | .o..++| +[SHA256]-+ Generating public/private ecdsa key pair. Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key. Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub. The key fingerprint is: SHA256:N3RTlPa7KU5ryq6kJAO8Tiq90ub4P1DGSofn6jFkM3k root@cloudimg The key's randomart image is: +---[ECDSA 256]---+ | .o. | | .o | | o . o. . | | +.*. . . .| | .*XE S o .| | oo++. . . | | oo= o . . . o| |o.Oo. + o . .o.o | |oB=+.. . .o++o. | +[SHA256]-+ Generating public/private ed25519 key pair. Your identification has been saved in /etc/ssh/ssh_host_ed25519_key. Your publi