Comment 4 for bug 1993652

Revision history for this message
Alex Kavanagh (ajkavanagh) wrote :

So the issue is:

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.