#391 KeyError: 'toplevel_url'
Closed 3 years ago by lsedlar. Opened 3 years ago by ktdreyer.

I'm seeing a crash in odcs-client-0.2.46-1.fc31:

$ odcs --redhat --watch create module "go-toolset:rhel8" --arch x86_64
Waiting for command create on compose 364668 to finish.
Traceback (most recent call last):
  File "/usr/bin/odcs", line 366, in <module>
    result = client.wait_for_compose(result["id"], 3600, watch_logs=args.watch)
  File "/usr/lib/python3.7/site-packages/odcs/client/odcs.py", line 547, in wait_for_compose
    log = ComposeLog(compose)
  File "/usr/lib/python3.7/site-packages/odcs/client/odcs.py", line 49, in __init__
    self.url = os.path.join(compose["toplevel_url"], "pungi-stderr.log")
KeyError: 'toplevel_url'

The ODCS server deployed internally does not support --watch right now. We should also fix the traceback in the in odcs client to handle that, but in the meantime, you should try without --watch.

This should now be fixed.

Metadata Update from @lsedlar:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata