Closed ubuntu-server-builder closed 1 year ago
Launchpad user Dan Watkins(oddbloke) wrote on 2015-09-01T11:56:59.746470+00:00
Hi Ray,
How are you adding the PPA to the instance?
Thanks,
Dan
Launchpad user Ray Wang(raywang) wrote on 2015-09-02T00:56:08.991117+00:00
Hi Dan,
I change cloud-init will add maas PPA, since I put the ppa in cloud-init.cfg, I maybe wrong but I guess cloud-init use add-apt-repository to add this PPA
Launchpad user Dan Watkins(oddbloke) wrote on 2015-09-02T10:02:39.011967+00:00
Hi Ray,
Could you paste the cloud-init.cfg you are using somewhere?
Thanks,
Dan
Launchpad user Ray Wang(raywang) wrote on 2015-09-04T05:36:59.873443+00:00
Hi Dan, here is the cloud-init.cfg that I use
Thanks Launchpad attachments: cloud-init.cfg
Launchpad user Dan Watkins(oddbloke) wrote on 2015-09-04T10:09:18.405416+00:00
I just booted up a trusty instance in a cloud using this configuration, and the install worked fine. Have you been able to reproduce?
Launchpad user Ray Wang(raywang) wrote on 2015-09-06T01:38:19.326886+00:00
I can not test it at the moment, please feel free to close it, and I will re-open it if I have a chance to test it again.
Launchpad user Dan Watkins(oddbloke) wrote on 2015-09-06T01:52:48.669787+00:00
Hi Ray,
I've closed this out, but please do reopen it if you can reproduce.
Thanks,
Dan
This bug was originally filed in Launchpad as LP: #1490081
Launchpad details
Launchpad user Ray Wang(raywang) wrote on 2015-08-29T02:22:43.614000+00:00
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-maas-client maas-cli maas-common maas-dhcp python-maas-provisioningserver maas-cluster-controller maas-proxy python-psycopg2 python-django-maas maas-region-controller-min maas-region-controller maas maas-dns 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-image-extra-virtual', 'jq', 'juju-core', 'juju-deployer', 'python-bson', 'python-httplib2', 'python-jinja2', 'python-maas-client', 'python-yaml'] 2015-08-26 04:02:53,579 - cc_package_update_upgrade_install.py[WARNING]: 1 failed with exceptions, re-raising the last one 2015-08-26 04:02:53,585 - util.py[WARNING]: Running package-update-upgrade-install (<module 'cloudinit.config.cc_package_update_upgrade_install' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_package_update_upgrade_install.pyc'>) failed Cloud-init v. 0.7.5 running 'modules:final' at Wed, 26 Aug 2015 04:02:53 +0000. Up 33.00 seconds.
It might be useful to add additional options '--force-yes' to make sure maas packages can be installed