← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1490081] Re: install maas from lp:maas/stable will fail due to the lack of --force-yes

 

Hi Ray,

I've closed this out, but please do reopen it if you can reproduce.


Thanks,

Dan

** Changed in: cloud-init
       Status: New => Invalid

-- 
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/1490081

Title:
  install maas from lp:maas/stable will fail due to the lack of --force-
  yes

Status in cloud-init:
  Invalid

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-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.
  + sudo maas-region-admin createadmin --username=ubuntu --password=huawei@123 --email=ubuntu@localhost
  sudo: maas-region-admin: command not found
  2015-08-26 04:02:53,910 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/config-maas.sh [1]
  2015-08-26 04:02:53,912 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
  2015-08-26 04:02:53,912 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
  MAAS controller is now configured.

  
  It might be useful to add additional options '--force-yes' to make sure maas packages can be installed

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


References