PythonArgs: ['/usr/share/glance-simplestreams-sync/glance_simplestreams_sync.py']
Traceback:
Traceback (most recent call last):
File "/usr/share/glance-simplestreams-sync/glance_simplestreams_sync.py", line 633, in <module>
sys.exit(main())
File "/usr/share/glance-simplestreams-sync/glance_simplestreams_sync.py", line 599, in main
update_product_streams_service(ksc, services, region_name)
File "/usr/share/glance-simplestreams-sync/glance_simplestreams_sync.py", line 383, in update_product_streams_service
update_endpoint_urls(
File "/usr/share/glance-simplestreams-sync/glance_simplestreams_sync.py", line 498, in update_endpoint_urls
for rid in juju_run_cmd(['relation-ids', 'identity-service']).split():
File "/usr/share/glance-simplestreams-sync/glance_simplestreams_sync.py", line 472, in juju_run_cmd
out = subprocess.check_output(_cmd)
File "/usr/lib/python3.8/subprocess.py", line 415, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 493, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'juju-run'
I notice that this is running on juju 3.0rc which I guess isn't supported yet.
So the issue is:
PythonArgs: ['/usr/ share/glance- simplestreams- sync/glance_ simplestreams_ sync.py' ] glance- simplestreams- sync/glance_ simplestreams_ sync.py" , line 633, in <module> exit(main( )) glance- simplestreams- sync/glance_ simplestreams_ sync.py" , line 599, in main product_ streams_ service( ksc, services, region_name) glance- simplestreams- sync/glance_ simplestreams_ sync.py" , line 383, in update_ product_ streams_ service endpoint_ urls( glance- simplestreams- sync/glance_ simplestreams_ sync.py" , line 498, in update_ endpoint_ urls cmd(['relation- ids', 'identity- service' ]).split( ): glance- simplestreams- sync/glance_ simplestreams_ sync.py" , line 472, in juju_run_cmd check_output( _cmd) python3. 8/subprocess. py", line 415, in check_output python3. 8/subprocess. py", line 493, in run python3. 8/subprocess. py", line 858, in __init__ _execute_ child(args, executable, preexec_fn, close_fds, python3. 8/subprocess. py", line 1704, in _execute_child _type(errno_ num, err_msg, err_filename)
Traceback:
Traceback (most recent call last):
File "/usr/share/
sys.
File "/usr/share/
update_
File "/usr/share/
update_
File "/usr/share/
for rid in juju_run_
File "/usr/share/
out = subprocess.
File "/usr/lib/
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/
self.
File "/usr/lib/
raise child_exception
FileNotFoundError: [Errno 2] No such file or directory: 'juju-run'
I notice that this is running on juju 3.0rc which I guess isn't supported yet.