cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nitin-maharana <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8847: ListServiceOfferings is ...
Date Fri, 30 Oct 2015 07:54:19 GMT
Github user nitin-maharana commented on the pull request:

    https://github.com/apache/cloudstack/pull/823#issuecomment-152453158
  
    I tested this with this scenario.
    
    There are three service offerings.
    
    {
        "listserviceofferingsresponse": {
            "count": 3,
            "serviceoffering": [
                {
                    "id": "7482d1bb-9acb-4688-b448-d7bd7f70916a",
                    "name": "CO-z",
                    "displaytext": "CO-z",
                    "cpunumber": 1,
                    "cpuspeed": 64,
                    "memory": 64,
                    "created": "2014-05-08T17:02:54+0530",
                    "storagetype": "shared",
                    "offerha": false,
                    "limitcpuuse": false,
                    "isvolatile": false,
                    "tags": "z",
                    "issystem": false,
                    "defaultuse": false,
                    "iscustomized": false
                },
                {
                    "id": "d9ae1945-ff42-43d3-bddd-3ec54ea49bbf",
                    "name": "To_Error",
                    "displaytext": "To_Error",
                    "cpunumber": 4,
                    "cpuspeed": 4,
                    "memory": 256,
                    "created": "2014-05-26T12:14:25+0530",
                    "storagetype": "shared",
                    "offerha": false,
                    "limitcpuuse": false,
                    "isvolatile": false,
                    "tags": "anusha",
                    "issystem": false,
                    "defaultuse": false,
                    "iscustomized": false
                },
                {
                    "id": "a0ffbdf4-861c-4de2-a353-852a870281e5",
                    "name": "MultiTagOffering",
                    "displaytext": "MultiTagOffering",
                    "cpunumber": 1,
                    "cpuspeed": 64,
                    "memory": 64,
                    "created": "2014-05-28T16:10:55+0530",
                    "storagetype": "shared",
                    "offerha": false,
                    "limitcpuuse": false,
                    "isvolatile": false,
                    "tags": "anusha,z",
                    "issystem": false,
                    "defaultuse": false,
                    "iscustomized": false
                }
            ]
        }
    }
    
    Now, VM's current service offering name is "To_Error", which has tag named "anusha".
    When I upgrade the service offering to "CO-z". I get the below error. SS attached.
    
    ![ccp_incompatible_compute_offering](https://cloud.githubusercontent.com/assets/12583725/10840826/537c927e-7f09-11e5-9583-3f58546c42bd.png)
    
    But we can upgrade from "To_Error" to "MultiTagOffering". As "MultiTagOffering" contains
tags "anusha" and some extra tags.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message