Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] - Scheduling new cloud is stating No Active Assignments for cloud04 #478

Closed
QuantumPosix opened this issue May 10, 2024 · 0 comments
Closed

Comments

@QuantumPosix
Copy link
Contributor

  • QUADS version (rpm -qa | grep quads and/or quads-cli --version): quads 2.0 (currently it is displaying "QUADS version 1.1.7 gaucho"
  • Python version: Python 3.11.9
  • Operating System: Fedora release 38 (Thirty Eight)

Describe the bug
Went to define a cloud on the quads2.0 host, allowed me to define the cloud but gave the following traceback when adding the schedule to the hosts using the following command:
quads --host-list 3464 --add-schedule --schedule-start "2024-05-10 15:00" --schedule-end "2024-05-12 22:00" --schedule-cloud cloud04

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/quads/cli/cli.py", line 1238, in action_add_schedule
    self.quads.insert_schedule(data)
  File "/usr/lib/python3.11/site-packages/quads/quads_api.py", line 224, in insert_schedule
    return self.post("schedules", data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/quads/quads_api.py", line 66, in post
    raise APIBadRequest(response_json.get("message"))
quads.quads_api.APIBadRequest: No active assignment for cloud: cloud04

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/quads", line 33, in <module>
    sys.exit(load_entry_point('quads==2.0', 'console_scripts', 'quads')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/quads/cli/main.py", line 63, in main
    return qcli.run(
           ^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/quads/cli/cli.py", line 63, in run
    return action_meth()
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/quads/cli/cli.py", line 1240, in action_add_schedule
    raise CliException(str(ex))
quads.exceptions.CliException: No active assignment for cloud: cloud04
@QuantumPosix QuantumPosix changed the title Scheduling new cloud is stating No Active Assignments for cloud04 [Bug] - Scheduling new cloud is stating No Active Assignments for cloud04 May 10, 2024
sadsfae pushed a commit that referenced this issue May 10, 2024
docs: README sync
fix: version bump
closes: #478
Change-Id: Ie4ae224054d0eaa0439e5d17fd23fcc91e4108f1
@grafuls grafuls closed this as completed May 11, 2024
@sadsfae sadsfae added this to the 2.0 Series - Bowie milestone May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Completed
Development

No branches or pull requests

3 participants