juju bootstrap fail behind a proxy when a gpg key must be imported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Triaged
|
Critical
|
abhishek | ||
Bug Description
This is related to a Maas environment hosted behind a proxy.
I'm trying to use
juju 0.6.0.1+
ubuntu@maas:~$ cat .juju/environme
environments:
mymaas:
type: maas
maas-server: 'http://
maas-oauth: 'UP5Qay8Nsku8K9
admin-secret: 'nothing'
default-series: precise
juju-origin: ppa
When juju boostrap, things do not behave as expected on the zookeeper node.
Excerpt from the cloud-init-
W: GPG error: http://
On the zookeeper node, if i try to apt-add-repository , the needed gpg key is not injected, but the scrpit does not return any error code:
ubuntu@
ubuntu@
ubuntu@
gpg: keyring `/tmp/tmpmlP7VA
gpg: keyring `/tmp/tmpmlP7VA
gpg: requesting key C8068B11 from hkp server keyserver.
gpgkeys: key A2EB2DEC0BD7519
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
recv failed
ubuntu@
0
Trying to inject key while setting the http_proxy environment variable works better:
ubuntu@
gpg: keyring `/tmp/tmp1pAd6X
gpg: keyring `/tmp/tmp1pAd6X
gpg: requesting key C8068B11 from hkp server keyserver.
gpg: /tmp/tmp1pAd6X/
gpg: key C8068B11: public key "Launchpad Ensemble PPA" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
ubuntu@
0
On the zookeeper node, python-
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-
ProcVersionSign
Uname: Linux 3.2.0-34-generic x86_64
ApportVersion: 2.0.1-0ubuntu15
Architecture: amd64
Date: Wed Dec 12 14:40:21 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MarkForUpload: True
PackageArchitec
SourcePackage: software-properties
UpgradeStatus: Upgraded to precise on 2012-05-14 (212 days ago)
Changed in software-properties (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in software-properties (Ubuntu): | |
status: | Confirmed → New |
tags: | added: cloud |
Changed in software-properties (Ubuntu): | |
status: | New → Fix Committed |
Changed in software-properties (Ubuntu): | |
assignee: | nobody → fill (brak29) |
status: | Fix Committed → New |
status: | New → Confirmed |
Changed in software-properties (Ubuntu): | |
assignee: | fill (brak29) → nobody |
Changed in software-properties (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in software-properties (Ubuntu): | |
assignee: | nobody → abhishek (abhishekgc1992) |
summary: |
- juju bootstrap fail behind a proxy when a gpg key must be imported + Buy Xanax pills online for the treatment of mental health condition |
description: | updated |
summary: |
- Buy Xanax pills online for the treatment of mental health condition + juju bootstrap fail behind a proxy when a gpg key must be imported |
description: | updated |
description: | updated |
description: | updated |
summary: |
- juju bootstrap fail behind a proxy when a gpg key must be imported + Buy Ambien Online for Handling Short-Term Treatment of Insomnia |
summary: |
- Buy Ambien Online for Handling Short-Term Treatment of Insomnia + juju bootstrap fail behind a proxy when a gpg key must be imported |
description: | updated |
tags: | removed: hwcert-server |
The key point above is that: sources. list.d/ <ppa>.list in place, meaning subsequent 'apt-get update' was guaranteed to fail.
sudo apt-add-repository ppa:juju/pkgs --yes
failed to import keys to apt, but
a.) exited success (0) meaning its caller did not even log error
b.) left /etc/apt/