install maas from lp:maas/stable will fail due to the lack of --force-yes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Invalid
|
Undecided
|
Unassigned |
Bug Description
maas ppa changed from lp:maas-maintainers to lp:maas
When changing this cloud-init.cfg, and install maas from cloud-init. I got this following errors.
WARNING: The following packages cannot be authenticated!
python-
python-
python-psycopg2 python-django-maas maas-region-
maas-
E: There are problems and -y was used without --force-yes
2015-08-26 04:02:53,255 - util.py[WARNING]: Failed to install packages: ['maas', 'maas-dhcp', 'maas-dns', 'libvirt-bin', 'linux-
2015-08-26 04:02:53,579 - cc_package_
2015-08-26 04:02:53,585 - util.py[WARNING]: Running package-
Cloud-init v. 0.7.5 running 'modules:final' at Wed, 26 Aug 2015 04:02:53 +0000. Up 33.00 seconds.
+ sudo maas-region-admin createadmin --username=ubuntu --password=
sudo: maas-region-admin: command not found
2015-08-26 04:02:53,910 - util.py[WARNING]: Failed running /var/lib/
2015-08-26 04:02:53,912 - cc_scripts_
2015-08-26 04:02:53,912 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.
MAAS controller is now configured.
It might be useful to add additional options '--force-yes' to make sure maas packages can be installed
Hi Ray,
How are you adding the PPA to the instance?
Thanks,
Dan