Error adding PPA, should retry

Bug #1454012 reported by Takenori MATSUMOTO
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
landscape-client-charm
Confirmed
Undecided
Unassigned

Bug Description

Landscape version: "15.01.3-0ubuntu2"

I still got error when I made above changes. Then I changed MAAS's main archive configuration from local mirror (i.e. http://jp.archive.ubuntu.com/ubuntu) to http://archive.ubuntu.com/ubuntu, then OpenStack deployment via AP starts. But I AP failed around 80%. I've attached log files download from Landscape GUI.

Revision history for this message
Takenori MATSUMOTO (takenori-matsumoto) wrote :
Revision history for this message
David Britton (dpb) wrote :
Download full text (3.5 KiB)

This is the Landscape-client installation error:

unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 Cannot add PPA: 'ppa:landscape/landscape-client-cloud-installer'.
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 Please check that the PPA name or format is correct.
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 Traceback (most recent call last):
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 File "/var/lib/juju/agents/unit-landscape-client-0/charm/hooks/install", line 92, in <module>
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 sys.exit(hooks.execute(sys.argv))
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 File "/var/lib/juju/agents/unit-landscape-client-0/charm/hooks/charmhelpers/core/hookenv.py", line 502, in execute
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 self._hooks[hook_name]()
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 File "/var/lib/juju/agents/unit-landscape-client-0/charm/hooks/install", line 34, in install
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 add_apt_source(origin)
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 File "/var/lib/juju/agents/unit-landscape-client-0/charm/hooks/install", line 88, in add_apt_source
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 return add_source(url, key)
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 File "/var/lib/juju/agents/unit-landscape-client-0/charm/hooks/charmhelpers/fetch/__init__.py", line 238, in add_source
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 subprocess.check_call(['add-apt-repository', '--yes', source])
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 raise CalledProcessError(retcode, cmd)
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 INFO unit.landscape-client/0.install logger.go:40 subprocess.CalledProcessError: Command '['add-apt-repository', '--yes', u'ppa:landscape/landscape-client-cloud-installer']' returned non-zero exit status 1
unit-landscape-client-0[16306]: 2015-05-12 01:15:29 ERROR juju.worker.uniter.operation runhook.go:86 hook "install" failed: exit status 1

Can you attempt to run the command:

    sudo add-apt-repository --yes ppa:landscape/landscape-client-cloud-installer

And post the results? You can run it from even a maas node that has been manually 'started' if your environment i...

Read more...

Changed in landscape:
status: New → Incomplete
David Britton (dpb)
information type: Proprietary → Public
Changed in landscape-client-charm:
status: New → Incomplete
no longer affects: landscape
summary: - Roadshow: Autopilot error around 80%
+ Error adding PPA
Changed in landscape-client-charm:
status: Incomplete → New
David Britton (dpb)
summary: - Error adding PPA
+ Error adding PPA, should retry
mahmoh (mahmoh)
tags: added: roadshow
Revision history for this message
🤖 Landscape Builder (landscape-builder) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

Landscape Team

Changed in landscape-client-charm:
status: New → Invalid
Changed in landscape-client-charm:
status: Invalid → Confirmed
tags: added: cloud-install-failure
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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