no way to tell when boot-source info has synced and boot-source-selections can be made
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
High
|
Unassigned |
Bug Description
After adding a boot source, there is nothing to indicate that the boot source's information has been synced into maas's db and maas is ready to allow boot source selections to be made.
In this log, I try to make a boot source selection immediately after adding a boot source, and it fails. If I way another 20 seconds and try again, it works. But, there is nothing to read from the API that says "ok, you can make a boot source selection." So, I just have to add a 'sleep', which is racy.
ubuntu@
Success.
Machine-readable output follows:
{
"created": "2018-12-
"url": "http://
"keyring_data": "",
"resource_uri": "/MAAS/
"updated": "2018-12-
"keyring_
"id": 4
}
{"os": ["OS ubuntu with release xenial has no available images for download"]}
ubuntu@
Success.
Machine-readable output follows:
{
"release": "xenial",
"labels": [
"*"
],
"arches": [
"amd64"
],
"id": 4,
"boot_
"os": "ubuntu",
"resource_uri": "/MAAS/
"subarches": [
"*"
]
}
This is with maas 2.3.5.
description: | updated |
Changed in maas: | |
status: | New → Incomplete |
status: | Incomplete → Opinion |
status: | Opinion → Invalid |
status: | Invalid → Triaged |
importance: | Undecided → Medium |
Changed in maas: | |
importance: | Medium → High |
milestone: | none → 3.4.0 |
subscribed to field-high as this has been hit in the field.