Upgrade of ironic sets ports pxe_enabled field to null
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
Jim Rollenhagen |
Bug Description
Hi there
I just upgraded Ironic on my bifrost server and was getting the following deployment failure:
<snip>
TASK [bifrost-
task path: /opt/stack/
ESTABLISH LOCAL CONNECTION FOR USER: stack
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.
localhost PUT /tmp/tmpArAcDX TO /home/stack/
localhost EXEC LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=
fatal: [compute031.
</snip>
Running a simple port list would show the same problem:
<snip>
stack@baremetal
Field `pxe_enabled' cannot be None (HTTP 500)
</snip>
Running DML 'sudo mysql ironic -e "update ports set pxe_enabled=TRUE"' fixed the issue.
I assume the real fix should be put in the DB migration scripts, making sure the pxe_enabled field is non null.
Regards
Changed in ironic: | |
assignee: | Jim Rollenhagen (jim-rollenhagen) → Vladyslav Drok (vdrok) |
Changed in ironic: | |
assignee: | Vladyslav Drok (vdrok) → Jim Rollenhagen (jim-rollenhagen) |
Changed in ironic: | |
assignee: | Jim Rollenhagen (jim-rollenhagen) → Vladyslav Drok (vdrok) |
Changed in ironic: | |
assignee: | Vladyslav Drok (vdrok) → Jim Rollenhagen (jim-rollenhagen) |
Changed in ironic: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. openstack. org/279663
Review: https:/