yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #76833
[Bug 1814294] [NEW] ubuntu-core: installing extra snap fails
Public bug reported:
Ubuntu core 16
installed of additional snap package fails:
error log:
[ 157.323966] cloud-init[2240]: Cloud-init v. 18.4-0ubuntu1~16.04.2 running 'modules:config' at Fri, 01 Feb 2019 16:59:48 +0000. Up 156.63 seconds.
[ 157.324909] cloud-init[2240]: 2019-02-01 16:59:49,081 - cc_snap_config.py[WARNING]: DEPRECATION: snap_config module will be dropped in 18.3 release. Use snap module instead
[ OK ] Started Apply the settings specified in cloud-config.
Starting Execute cloud user/final scripts...
[ 160.964231] cloud-init[2332]: Cloud-init v. 18.4-0ubuntu1~16.04.2 running 'modules:final' at Fri, 01 Feb 2019 16:59:52 +0000. Up 160.30 seconds.
[ 160.965120] cloud-init[2332]: 2019-02-01 16:59:52,721 - cc_snappy.py[WARNING]: DEPRECATION: snappy module will be dropped in 18.3 release. Use snap module instead
[ 161.138377] cloud-init[2332]: 2019-02-01 16:59:52,895 - cc_snappy.py[WARNING]: 'install' failed for 'avahi': Unexpected error while running command.
[ 161.139225] cloud-init[2332]: Command: ['snap', 'install', 'avahi', '/run/cloud-init/tmp/tmp0q2ncq6p']
[ 161.139866] cloud-init[2332]: Exit code: 1
[ 161.140509] cloud-init[2332]: Reason: -
[ 161.141106] cloud-init[2332]: Stdout:
[ 161.141687] cloud-init[2332]: Stderr: error: only one snap file can be installed at a time
[ OK ] Started OpenBSD Secure Shell server.
[ 161.162035] cloud-init[2332]: 2019-02-01 16:59:52,918 - util.py[WARNING]: Running module snappy (<module 'cloudinit.config.cc_snappy' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_snappy.py'>) failed
Cloud config
#cloud-config
debug:
verbose: true
users:
- name: ubuntu
lock_passwd: False
groups: [adm, audio, cdrom, dialout, dip, floppy, lxd, netdev, plugdev, sudo, video]
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
plain_text_passwd: 'ubuntu'
snappy:
email: me@xxxxxxxx
packages: [avahi]
config:
avahi:
host-name: db-test
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1814294
Title:
ubuntu-core: installing extra snap fails
Status in cloud-init:
New
Bug description:
Ubuntu core 16
installed of additional snap package fails:
error log:
[ 157.323966] cloud-init[2240]: Cloud-init v. 18.4-0ubuntu1~16.04.2 running 'modules:config' at Fri, 01 Feb 2019 16:59:48 +0000. Up 156.63 seconds.
[ 157.324909] cloud-init[2240]: 2019-02-01 16:59:49,081 - cc_snap_config.py[WARNING]: DEPRECATION: snap_config module will be dropped in 18.3 release. Use snap module instead
[ OK ] Started Apply the settings specified in cloud-config.
Starting Execute cloud user/final scripts...
[ 160.964231] cloud-init[2332]: Cloud-init v. 18.4-0ubuntu1~16.04.2 running 'modules:final' at Fri, 01 Feb 2019 16:59:52 +0000. Up 160.30 seconds.
[ 160.965120] cloud-init[2332]: 2019-02-01 16:59:52,721 - cc_snappy.py[WARNING]: DEPRECATION: snappy module will be dropped in 18.3 release. Use snap module instead
[ 161.138377] cloud-init[2332]: 2019-02-01 16:59:52,895 - cc_snappy.py[WARNING]: 'install' failed for 'avahi': Unexpected error while running command.
[ 161.139225] cloud-init[2332]: Command: ['snap', 'install', 'avahi', '/run/cloud-init/tmp/tmp0q2ncq6p']
[ 161.139866] cloud-init[2332]: Exit code: 1
[ 161.140509] cloud-init[2332]: Reason: -
[ 161.141106] cloud-init[2332]: Stdout:
[ 161.141687] cloud-init[2332]: Stderr: error: only one snap file can be installed at a time
[ OK ] Started OpenBSD Secure Shell server.
[ 161.162035] cloud-init[2332]: 2019-02-01 16:59:52,918 - util.py[WARNING]: Running module snappy (<module 'cloudinit.config.cc_snappy' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_snappy.py'>) failed
Cloud config
#cloud-config
debug:
verbose: true
users:
- name: ubuntu
lock_passwd: False
groups: [adm, audio, cdrom, dialout, dip, floppy, lxd, netdev, plugdev, sudo, video]
sudo: ALL=(ALL) NOPASSWD:ALL
shell: /bin/bash
plain_text_passwd: 'ubuntu'
snappy:
email: me@xxxxxxxx
packages: [avahi]
config:
avahi:
host-name: db-test
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1814294/+subscriptions
Follow ups