Nova and Horizon allow inappropriate actions to be performed on baremetal nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Incomplete
|
Low
|
Unassigned | ||
OpenStack Compute (nova) |
Confirmed
|
Undecided
|
Unassigned | ||
OpenStack Dashboard (Horizon) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Ironic baremetal nodes do not support all variety of operations that nova virtual instances do.
But Nova and Horizon still offers to perform actions with ironic baremetal nodes that can be applied to virtual instances only.
Examples of steps:
root@node-1:~# nova pause NEW1
root@node-1:~# nova suspend NEW1
As result Nova silently accepts commands without any warning or error messages. Same actions can be performed via Horizon with green "Success" popup.
Also see list of actions over baremetal node on screenshot.
One more example:
Backup to image baremetal instance:
root@node-1:~# nova image-create --poll --show NEW1 IMAGENEW1
Server snapshotting... 0% complete
and process stalls showing 0% in console infinitely.
Expected that nova will not try do this with baremetal node at all.
Currently baremetal nodes do not support following actions:
a) Create Snapshot
b) Pause
c) Suspend
d) Migrate
e) Live Migrate
f) Only one kind or reboot should be supported (Hard reboot?)
g) Resize
These actions should be disabled for baremetal machines in Nova and Horizon.
Currently there are no destructive aftermaths detected, therefore this bug affects user by confusing him when using Horizon and Nova.
no longer affects: | mos |
Changed in horizon: | |
importance: | Undecided → Medium |
Changed in ironic: | |
status: | New → Confirmed |
Changed in nova: | |
status: | New → Confirmed |
Changed in horizon: | |
status: | New → Confirmed |
summary: |
- Nova and Horizon allow to perform inappropriate actions for baremetal - node + Nova and Horizon allow inappropriate actions to be performed on + baremetal nodes |
Changed in ironic: | |
assignee: | nobody → Michael Davies (mrda) |
Changed in horizon: | |
assignee: | nobody → Zhenguo Niu (niu-zglinux) |
Changed in horizon: | |
milestone: | none → liberty-rc1 |
Changed in horizon: | |
milestone: | liberty-rc1 → mitaka-1 |
Changed in ironic: | |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | nobody → Wen Zhi Yu (yuywz) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in horizon: | |
assignee: | Zhenguo Niu (niu-zglinux) → nobody |
status: | In Progress → New |
milestone: | mitaka-1 → next |
Changed in horizon: | |
status: | New → Confirmed |
hi, Is it possible to find hypervisor of instance belongs to? seems there's no extend attrbute like hypervisor_type in instance object.