-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inventory plugin group by VPC #106
Comments
I think this is because the API allows to filter by VPC, but does not return VPC information in the instance, which seems odd. |
Without having this information returned by the API an implementation would be a very nasty workaround that would break the inventory plugin architecture. So, I have asked for that information returned by the API and then we will be able to cleanly implement in the inventory plugin: Meanwhile a viable workaround is to have 2 inventory files (using an inventory directory), one using the inventory plugin, and another using plain text to create supergroups like this:
This would create 2 groups vpc and vpc2, that would include the hosts in the related tiers. For that to work first the inventory plugin must group by network like this:
Unfortunately this setup is only viable for few stable VPCs, as the tier to VPC supergroups file needs to be maintained manually. |
good news, apache/cloudstack#6452 has been implemented and will be released in ACS 4.17.1 |
thanks @Pearl1594 for implementing this. |
The inventory plugin documentation states that it is possible to filter instances by VPC,
However, it does not seem possible to group instances by VPC.
Is it possible?
The text was updated successfully, but these errors were encountered: