Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12.3
    • Fix Version/s: None
    • Component/s: Compute
    • Labels:

      Description

      The current vm memory validation in libcloud/compute/drivers/vcloud.py only allows memory in MB of [4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536, 131072, 262144]

      vCloud 5.1 allows a wider range of vm memory assignments as long as it is a multiple of 4MB.

      1. vcd5_1.patch
        1 kB
        Trevor Powell (RMS)

        Activity

        Hide
        trevor-powell-rms Trevor Powell (RMS) added a comment -

        Suggested work around for memory validation for vcd5.1

        Show
        trevor-powell-rms Trevor Powell (RMS) added a comment - Suggested work around for memory validation for vcd5.1
        Hide
        jira-bot ASF subversion and git services added a comment -

        Commit 1467555 from Tomaz Muraus
        [ https://svn.apache.org/r1467555 ]

        Add support for API version 5.1 to the vCloud driver and accept any value
        which is a multiple of four for ex_vm_memory kwarg in create_node method.

        Contributed by Trevor Powell part of LIBCLOUD-314.

        Show
        jira-bot ASF subversion and git services added a comment - Commit 1467555 from Tomaz Muraus [ https://svn.apache.org/r1467555 ] Add support for API version 5.1 to the vCloud driver and accept any value which is a multiple of four for ex_vm_memory kwarg in create_node method. Contributed by Trevor Powell part of LIBCLOUD-314 .
        Hide
        kami Tomaz Muraus added a comment -

        Added a test case and merged it into trunk.

        Thanks.

        Show
        kami Tomaz Muraus added a comment - Added a test case and merged it into trunk. Thanks.
        Hide
        trevor-powell-rms Trevor Powell (RMS) added a comment -

        Thanks!

        Show
        trevor-powell-rms Trevor Powell (RMS) added a comment - Thanks!

          People

          • Assignee:
            kami Tomaz Muraus
            Reporter:
            trevor-powell-rms Trevor Powell (RMS)
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development