Validated on xenial yakkety and zesty on Azure:
--- xenial
blackboxsw@xen-azure:~$ sudo apt install cloud-init

...
blackboxsw@xen-azure:~$ sudo rm -Rf /var/lib/cloud /var/log/cloud-init
blackboxsw@xen-azure:~$ sudo reboot
Connection to 52.170.93.100 closed by remote host.

$ ssh blackboxsw@52.170.93.100 -- grep WARN /var/log/cloud-init.log
$ ssh blackboxsw@52.170.93.100 -- sudo reboot

#2nd boot
$ ssh blackboxsw@52.170.93.100 -- grep WARN /var/log/cloud-init.log
$ ssh blackboxsw@52.170.93.100 -- dpkg-query --show cloud-init
cloud-init      0.7.9-153-g16a7302f-0ubuntu1~16.04.1


--- yakkety no warnings on reboots w/ proposed cloud-init

blackboxsw@yak-azure:~$ sudo apt install cloud-init
...

blackboxsw@yak-azure:~$ sudo rm -Rf /var/log/cloud-init /var/lib/cloud/
blackboxsw@yak-azure:~$ sudo reboot
Connection to 52.168.131.3 closed by remote host.
Connection to 52.168.131.3 closed.
csmith@uptown:~$ ssh blackboxsw@52.168.131.3
^C
csmith@uptown:~$ ssh blackboxsw@52.168.131.3
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
...
$   ssh-keygen -f "/home/csmith/.ssh/known_hosts" -R 52.168.131.3
# Host 52.168.131.3 found: line 1013
/home/csmith/.ssh/known_hosts updated.

$ ssh blackboxsw@52.168.131.3 -- grep WARN /var/log/cloud-init.log
$ ssh blackboxsw@52.168.131.3 -- sudo reboot
Connection to 52.168.131.3 closed by remote host.
$ ssh blackboxsw@52.168.131.3 -- grep WARN /var/log/cloud-init.log
^C
$ ssh blackboxsw@52.168.131.3 -- grep WARN /var/log/cloud-init.log
$ ssh blackboxsw@52.168.131.3 -- dpkg-query --show cloud-init
cloud-init      0.7.9-153-g16a7302f-0ubuntu1~16.10.1



---- zesty no warnings
blackboxsw@zest-azure:~$ sudo apt install cloud-init
...
Leaving 'diversion of /etc/init/ureadahead.conf to 
/etc/init/ureadahead.conf.disabled by cloud-init'

blackboxsw@zest-azure:~$ rm -Rf /var/lib/cloud/ /var/log/cloud-init;
sudo reboot

csmith@uptown:~$ ssh blackboxsw@40.71.85.211 -- grep WARN 
/var/log/cloud-init.log
csmith@uptown:~$ ssh blackboxsw@40.71.85.211 -- sudo reboot
Connection to 40.71.85.211 closed by remote host.
csmith@uptown:~$ ssh blackboxsw@40.71.85.211 -- grep WARN 
/var/log/cloud-init.log
csmith@uptown:~$ ssh blackboxsw@40.71.85.211 -- uptime
 22:39:44 up 0 min,  0 users,  load average: 0.34, 0.08, 0.03
csmith@uptown:~$ ssh blackboxsw@40.71.85.211 -- dpkg-query --show cloud-init
cloud-init      0.7.9-153-g16a7302f-0ubuntu1~17.04.1



** Tags removed: verification-needed
** Tags added: verification-done-xenial verification-done-yakkety 
verification-done-zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636345

Title:
  [Hyper-V][Azure] cloud-init on FreeBSD for Azure does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1636345/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to