[2.1] Fail to add PPA behind maas-proxy

Bug #1618466 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Critical
Unassigned

Bug Description

I have an environment behind maas-proxy, this is how machines connect to the external world. I've added an additional repository in MAAS to add a PPA, however, when the PPA is added, it fails with:

2016-08-30 13:39:39,473 - util.py[WARNING]: Failed to run debconf-set-selections for grub-dpkg
2016-08-30 13:39:52,061 - cc_apt_configure.py[ERROR]: add-apt-repository failed.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cloudinit/config/cc_apt_configure.py", line 397, in add_apt_sources
    util.subp(["add-apt-repository", source], target=target)
  File "/usr/lib/python3/dist-packages/cloudinit/util.py", line 1832, in subp
    cmd=args)
cloudinit.util.ProcessExecutionError: Unexpected error while running command.
Command: ['add-apt-repository', 'ppa:andreserl/maas']
Exit code: 1
Reason: -
Stdout: "Cannot add PPA: 'ppa:~andreserl/ubuntu/maas'.\nERROR: '~andreserl' user or team does not exist.\n"
Stderr: ''
2016-08-30 13:39:52,124 - util.py[WARNING]: Running module apt-configure (<module 'cloudinit.config.cc_apt_configure' from '/usr/lib/python3/dist-packages/cloudinit/config/cc_apt_configure.py'>) failed
ubuntu@node01:/var/log$ sudo add-apt-repository ppa:andreserl/maas

Changed in maas:
importance: Undecided → Critical
milestone: none → 2.1.0
status: New → Triaged
Changed in maas:
milestone: 2.1.0 → 2.1.1
Changed in maas:
milestone: 2.1.1 → 2.1.2
Changed in maas:
milestone: 2.1.2 → 2.1.3
Revision history for this message
Scott Moser (smoser) wrote :

This is probably a dupe of bug 1618467 which has more info in it.
I'm going to dupe it, if you disagree un-dupe it.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.