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
And post the results? You can run it from even a maas node that has been manually 'started' if your environment is not up. Also, you can do a bit more debugging in this area by looking at the following askubuntu question:
If you look at that, it will tell you how to get access to the juju environment where you can use standard juju commands for debugging a bit, maybe cut the triage cycle down for you.
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 '. 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. client- 0[16306] : 2015-05-12 01:15:29 INFO unit.landscape- client/ 0.install logger.go:40 Traceback (most recent call last): 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> client- 0[16306] : 2015-05-12 01:15:29 INFO unit.landscape- client/ 0.install logger.go:40 sys.exit( hooks.execute( sys.argv) ) 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/charmhelp ers/core/ hookenv. py", line 502, in execute client- 0[16306] : 2015-05-12 01:15:29 INFO unit.landscape- client/ 0.install logger.go:40 self._hooks[ hook_name] () 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 client- 0[16306] : 2015-05-12 01:15:29 INFO unit.landscape- client/ 0.install logger.go:40 add_apt_ source( origin) 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 client- 0[16306] : 2015-05-12 01:15:29 INFO unit.landscape- client/ 0.install logger.go:40 return add_source(url, key) 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/charmhelp ers/fetch/ __init_ _.py", line 238, in add_source 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]) 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 client- 0[16306] : 2015-05-12 01:15:29 INFO unit.landscape- client/ 0.install logger.go:40 raise CalledProcessEr ror(retcode, cmd) client- 0[16306] : 2015-05-12 01:15:29 INFO unit.landscape- client/ 0.install logger.go:40 subprocess. CalledProcessEr ror: Command '['add- apt-repository' , '--yes', u'ppa:landscape /landscape- client- cloud-installer ']' returned non-zero exit status 1 client- 0[16306] : 2015-05-12 01:15:29 ERROR juju.worker. uniter. operation runhook.go:86 hook "install" failed: exit status 1
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
unit-landscape-
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 is not up. Also, you can do a bit more debugging in this area by looking at the following askubuntu question:
http:// askubuntu. com/questions/ 606422/ how-can- i-see-what- openstack- services- have-been- deployed- to-which- servers- once-o
If you look at that, it will tell you how to get access to the juju environment where you can use standard juju commands for debugging a bit, maybe cut the triage cycle down for you.