GitHub user nitin-maharana opened a pull request:
https://github.com/apache/cloudstack/pull/1321
CLOUDSTACK-8847: ListServiceOfferings is returning incompatible tagged
offerings when called with VM id
When calling listServiceOfferings with VM id as parameter. It is returning
incompatible tagged offerings. It should only list all compatible tagged
offerings. Compatible means the new service offering should contain all the
tags of the existing service offering(Existing offering SUBSET of new
offering). If that is the case It should list in the result and can be upgraded
to that offering.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/nitin-maharana/CloudStack
CloudStack-Nitin5_4.7
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/1321.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1321
----
commit ba0503d000250e233701a71bd8e406e52b6ad110
Author: Nitin Kumar Maharana <[email protected]>
Date: 2015-09-14T16:32:37Z
CLOUDSTACK-8847: ListServiceOfferings is returning incompatible tagged
offerings when called with VM id
Fixed the subset and superset issue.
Added unit test for the same.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---