Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-5989

VMs in locked state - Fix issues with nova-manage volume_attachment subcommand

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhos-18.0.0
    • None
    • openstack-nova
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • openstack-nova-27.2.1-18.0.20240331154659.f2adeeb.el9osttrunk
    • ?
    • ?
    • Moderate

      >> This may be by design, but I'll say it here and let the compute team
      >> decide on the correct behavior.
      >>
      >> On some failures, like the one from step #1, the refresh script leaves
      >> the instance in a locked state instead of clearing it.
      >
      > ya that kind of a bug.
      > we put it in the locked state to make sure the end user cannot make any action like hard rebooting the instace
      > while we are messing with the db. that is also why we require the vm to be off so that they cant power it off
      > by sshing in.
      >
      > regardless of the success or failure the reshsh command shoudl restore the lock state
      >
      > so if it was locked before leave it locked and if it was unlocked leave it unlocked.
      > so this sound like a bug in our error handeling and clean up

      ref-bug: https://bugzilla.redhat.com/show_bug.cgi?id=2178506

      The thread where Gorka explains his feedback is at [1]. I'll try to break it down into specific fixes/work items in subsequent comments in this BZ.
      [1] https://lists.corp.redhat.com/archives/rhos-compute/2022-December/000883.html

            rh-ee-auniyal Amit Uniyal
            rh-ee-auniyal Amit Uniyal
            rhos-dfg-compute
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: