Uploaded image for project: 'DeltaCloud'
  1. DeltaCloud
  2. DTACLOUD-484

RHEVm Need to handle GET for instances while some could be being destroyed.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: Server
    • Labels:
      None

      Description

      If an instance (vm) is being destroyed a GET for all instances could fail.

      This needs to be fix in rbovirt by adding a rescue in vm_interfaces to
      catch where a vm is being destroyed.

      pseudo code:
      lib/client/vm_api.rb
      def vm_interfaces vm_id
      begin
      http_get("/vms/%s/nics" % vm_id, http_headers).xpath('/nics/nic').collect do |nic|
      OVIRT::Interface::new(self, nic)
      end
      rescue # Catch case were vm_id is destroyed.
      []
      end
      end

        Attachments

          Activity

            People

            • Assignee:
              jvlcek Joseph J. VLcek
              Reporter:
              jvlcek Joseph J. VLcek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: