Comment 2 for bug 1816967

Tommi Rantala (tt-rantala) wrote :

Hi,

I can reproduce the warning by launching Ubuntu disco image with the following steps (in fedora 29).

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
wget https://cloud-images.ubuntu.com/disco/20190211/disco-server-cloudimg-amd64.img

cat >my-user-data <<EOF
#cloud-config
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True
EOF

echo "instance-id: $(uuidgen)" >my-meta-data
cloud-localds my-seed.img my-user-data my-meta-data

qemu-img create -f qcow2 -b disco-server-cloudimg-amd64.img my-disk.qcow2
qemu-system-x86_64 -nographic -enable-kvm -cdrom my-seed.img -hda my-disk.qcow2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

The FutureWarning then seen in the VM serial console output:

...
[ 8.207739] cloud-init[364]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
[ 8.212932] cloud-init[364]: ci-info: +-------+-------------+---------+-----------+-------+
[ 8.220609] cloud-init[364]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[ 8.225923] cloud-init[364]: ci-info: +-------+-------------+---------+-----------+-------+
[ 8.231616] cloud-init[364]: ci-info: | 1 | fe80::/64 | :: | ens3 | U |
[ 8.238636] cloud-init[364]: ci-info: | 2 | fec0::/64 | :: | ens3 | Ue |
[ 8.244156] cloud-init[364]: ci-info: | 3 | ::/0 | fe80::2 | ens3 | UGe |
[ 8.247698] cloud-init[364]: ci-info: | 5 | local | :: | ens3 | U |
[ 8.252484] cloud-init[364]: ci-info: | 6 | ff00::/8 | :: | ens3 | U |
[ 8.255744] cloud-init[364]: ci-info: +-------+-------------+---------+-----------+-------+
[ 8.738562] cloud-init[364]: /usr/lib/python3/dist-packages/cloudinit/config/cc_rsyslog.py:205: FutureWarning: Possible nested set at position 23
[ 8.740304] cloud-init[364]: r'^(?P<proto>[@]{0,2})'
[ 8.741799] cloud-init[364]: Generating public/private rsa key pair.
[ 8.745423] cloud-init[364]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key.
[ 8.748589] cloud-init[364]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub.
...