← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1483639] [NEW] Nova and Horizon allow to perform inappropriate actions for baremetal node

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
         Status: New

** Affects: ironic
     Importance: Undecided
         Status: New

** Affects: mos
     Importance: Medium
     Assignee: MOS Ironic (mos-ironic)
         Status: New

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: horizon ironic nova

** Attachment added: "bm_instance.png"
   https://bugs.launchpad.net/bugs/1483639/+attachment/4442838/+files/bm_instance.png

** Also affects: ironic
   Importance: Undecided
       Status: New

** Also affects: nova
   Importance: Undecided
       Status: New

** Also affects: horizon
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1483639

Title:
  Nova and Horizon allow to perform inappropriate actions for baremetal
  node

Status in OpenStack Dashboard (Horizon):
  New
Status in Ironic:
  New
Status in Mirantis OpenStack:
  New
Status in OpenStack Compute (nova):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1483639/+subscriptions


Follow ups