Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-323

Make vCloud driver more robust

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.12.3
    • 0.13.0
    • Compute
    • None

    Description

      There are several small and easy-to-fix problems in VCloud driver:

      1. VCloud_1_5_NodeDriver._validate_vm_memory(): now there is a specialized list of acceptable Virtual memory sizes for vCloud 1.5, but it seems that these values don't work in version 1.5. The old values from vCloud 0.8 work well
      2. VCloudNodeDriver.ex_list_nodes(): because node listing has two phases (in first phase we send request for getting URLs of all the VMs and in the second we send one request per VM for getting all info about the VM), there can happen a situation where some VM is deleted between these two phases. Then we want to ignore this VM and we don't want to report any error (=raise an exception). The existing checker of this situation is too generic and can silence any other exception satisfying some other conditions
      3. VCloud_1_5_NodeDriver._to_node(): the OS XML element is not required, so when not present, we cannot get its attributes

      We have fixed all these three problems in the patch attached below

      Attachments

        1. LIBCLOUD-vcloud_minor_patches.patch
          3 kB
          Michel Samia
        2. LIBCLOUD-323_withTests.patch
          36 kB
          Michel Samia

        Activity

          People

            kami Tomaz Muraus
            msamia Michel Samia
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified