It happens every now and then. I just got another cloud deploy where this failed, this time in the glance-simplestreams-sync charm:
2016-06-22 15:19:05 INFO install Cannot add PPA: 'ppa:landscape/glance-simplestreams-sync'.
2016-06-22 15:19:05 INFO install Please check that the PPA name or format is correct.
2016-06-22 15:19:05 INFO install Traceback (most recent call last):
2016-06-22 15:19:05 INFO install File "/var/lib/juju/agents/unit-glance-simplestreams-sync-0/charm/hooks/install", line 281, in <module>
2016-06-22 15:19:05 INFO install hooks.execute(sys.argv)
2016-06-22 15:19:05 INFO install File "/var/lib/juju/agents/unit-glance-simplestreams-sync-0/charm/hooks/charmhelpers/core/hookenv.py", line 704, in execute
2016-06-22 15:19:05 INFO install self._hooks[hook_name]()
2016-06-22 15:19:05 INFO install File "/var/lib/juju/agents/unit-glance-simplestreams-sync-0/charm/hooks/install", line 199, in install
2016-06-22 15:19:05 INFO install add_source(hookenv.config('source'), hookenv.config('key'))
2016-06-22 15:19:05 INFO install File "/var/lib/juju/agents/unit-glance-simplestreams-sync-0/charm/hooks/charmhelpers/fetch/__init__.py", line 281, in add_source
2016-06-22 15:19:05 INFO install subprocess.check_call(['add-apt-repository', '--yes', source])
2016-06-22 15:19:05 INFO install File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
2016-06-22 15:19:05 INFO install raise CalledProcessError(retcode, cmd)
2016-06-22 15:19:05 INFO install subprocess.CalledProcessError: Command '['add-apt-repository', '--yes', u'ppa:landscape/glance-simplestreams-sync']' returned non-zero exit status 1
It happens every now and then. I just got another cloud deploy where this failed, this time in the glance- simplestreams- sync charm:
2016-06-22 15:19:05 INFO install Cannot add PPA: 'ppa:landscape/ glance- simplestreams- sync'. juju/agents/ unit-glance- simplestreams- sync-0/ charm/hooks/ install" , line 281, in <module> sys.argv) juju/agents/ unit-glance- simplestreams- sync-0/ charm/hooks/ charmhelpers/ core/hookenv. py", line 704, in execute hook_name] () juju/agents/ unit-glance- simplestreams- sync-0/ charm/hooks/ install" , line 199, in install hookenv. config( 'source' ), hookenv. config( 'key')) juju/agents/ unit-glance- simplestreams- sync-0/ charm/hooks/ charmhelpers/ fetch/_ _init__ .py", line 281, in add_source check_call( ['add-apt- repository' , '--yes', source]) python2. 7/subprocess. py", line 540, in check_call ror(retcode, cmd) CalledProcessEr ror: Command '['add- apt-repository' , '--yes', u'ppa:landscape /glance- simplestreams- sync']' returned non-zero exit status 1
2016-06-22 15:19:05 INFO install Please check that the PPA name or format is correct.
2016-06-22 15:19:05 INFO install Traceback (most recent call last):
2016-06-22 15:19:05 INFO install File "/var/lib/
2016-06-22 15:19:05 INFO install hooks.execute(
2016-06-22 15:19:05 INFO install File "/var/lib/
2016-06-22 15:19:05 INFO install self._hooks[
2016-06-22 15:19:05 INFO install File "/var/lib/
2016-06-22 15:19:05 INFO install add_source(
2016-06-22 15:19:05 INFO install File "/var/lib/
2016-06-22 15:19:05 INFO install subprocess.
2016-06-22 15:19:05 INFO install File "/usr/lib/
2016-06-22 15:19:05 INFO install raise CalledProcessEr
2016-06-22 15:19:05 INFO install subprocess.