Browse Source

Merge "Allow INSPECTWAIT state for lookup"

tags/15.0.0
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
041ffa7781
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      ironic/common/states.py

+ 5
- 4
ironic/common/states.py View File

@@ -244,15 +244,16 @@ to fail state.
"""

_LOOKUP_ALLOWED_STATES = (DEPLOYING, DEPLOYWAIT, CLEANING, CLEANWAIT,
INSPECTING, RESCUING, RESCUEWAIT)
INSPECTING, INSPECTWAIT, RESCUING, RESCUEWAIT)
LOOKUP_ALLOWED_STATES = frozenset(_LOOKUP_ALLOWED_STATES)

"""States when API lookups are normally allowed for nodes."""

_FASTTRACK_LOOKUP_ALLOWED_STATES = (ENROLL, MANAGEABLE, AVAILABLE,
DEPLOYING, DEPLOYWAIT, CLEANING,
CLEANWAIT, INSPECTING, RESCUING,
RESCUEWAIT)
DEPLOYING, DEPLOYWAIT,
CLEANING, CLEANWAIT,
INSPECTING, INSPECTWAIT,
RESCUING, RESCUEWAIT)
FASTTRACK_LOOKUP_ALLOWED_STATES = frozenset(_FASTTRACK_LOOKUP_ALLOWED_STATES)
"""States where API lookups are permitted with fast track enabled."""



Loading…
Cancel
Save