← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1591381] [NEW] Instance tags can be set before an instance is active

 

Public bug reported:

As opposed to metadata or other attributes of an instance tags can be
set very early in the instance lifecycle. This will eventually lead to
issues if the boot process makes use of these tags because setting them
before boot will be a race condition. And there is a proposed spec which
intends to do exactly that, use tags in the scheduling process.

To be consistent and to avoid future racy behavior instance tags should
only be settable after a boot request after it has gone to ACTIVE
status. Passing instance tags in as part of the boot request would be
desirable behavior but requires a spec and is outside the scope of this
bug.

** Affects: nova
     Importance: Undecided
     Assignee: melanie witt (melwitt)
         Status: In Progress

-- 
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/1591381

Title:
  Instance tags can be set before an instance is active

Status in OpenStack Compute (nova):
  In Progress

Bug description:
  As opposed to metadata or other attributes of an instance tags can be
  set very early in the instance lifecycle. This will eventually lead to
  issues if the boot process makes use of these tags because setting
  them before boot will be a race condition. And there is a proposed
  spec which intends to do exactly that, use tags in the scheduling
  process.

  To be consistent and to avoid future racy behavior instance tags
  should only be settable after a boot request after it has gone to
  ACTIVE status. Passing instance tags in as part of the boot request
  would be desirable behavior but requires a spec and is outside the
  scope of this bug.

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


Follow ups