Uploaded image for project: 'Multiple Architecture Enablement'
  1. Multiple Architecture Enablement
  2. MULTIARCH-3028

Handle failed powervs instance in create and destroy command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • None
    • False
    • None
    • False
    • NEW
    • NEW

      Getting below error while deleting infra with failed powervs instance

       

      Failed to destroy infrastructure        {"error": "error in destroying infra: provided cloud instance id is not in active state, current state: failed"}

       

      Also need to take care of create infra process in case of powervs instance goes to failed state. Looping on printing same statement while waiting for it to become active.

       

      2022-11-11T13:03:01+05:30       INFO    hyp-dhar-osa-2  Waiting for cloud instance to up        {"id": "crn:v1:bluemix:public:power-iaas:osa21:a/c265c8cefda241ca9c107adcbbacaa84:cd743ba9-195b-46ba-951e-639f97f443d2::", "state": "failed"}

            dravicha Dharaneeshwaran Ravichandran
            dravicha Dharaneeshwaran Ravichandran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: