Bug 1568217
Summary: | beaker-provision fails to poll for queued commands: AttributeError: 'NoneType' object has no attribute 'arch' | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
Component: | general | Assignee: | Dan Callaghan <dcallagh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | urgent | ||
Version: | 25 | CC: | dcallagh, ebaak, mtyson, rjoost |
Target Milestone: | 25.2 | Keywords: | Patch, Regression |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-04-19 03:50:59 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dan Callaghan
2018-04-17 01:27:02 UTC
Indeed, there were two recipes in the database which had been provisioned right before the upgrade started, with power commands still queued: mysql> SELECT * FROM command_queue INNER JOIN installation ON command_queue.installation_id = installation.id WHERE status = 'Queued' AND installation.arch_id IS NULL; [...] 5 rows in set (0.01 sec) The queued command ids were: 59742975, 59742976, 59742977, 59742978, 59742979. Corresponding recipes were 5047226 and 5047398. As a workaround, we ran the following to forcibly mark the commands Aborted so that they would no longer appear in the queue: UPDATE command_queue SET status = 'Aborted' WHERE status = 'Queued' AND id IN (59742975, 59742976, 59742977, 59742978, 59742979); and cancelled the corresponding recipes so that they are not left in a zombie state. Released with 25.2: https://beaker-project.org/docs/whats-new/release-25.html#beaker-25-2 Due to their importance and impact on systems in use, we've decided to skip an expensive self test, rely on our automated tests and get them deployed ASAP. |