Comment 2 for bug 1370933

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

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