cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alena Prokharchyk <Alena.Prokharc...@citrix.com>
Subject Re: [Proposal] Ability to retrieve user data via Admin API - 4.4
Date Tue, 14 Jan 2014 20:45:40 GMT
Here is the Jira ticket to track the feature progress:

https://issues.apache.org/jira/browse/CLOUDSTACK-5870

Alena.

From: Alena Prokharchyk <alena.prokharchyk@citrix.com<mailto:alena.prokharchyk@citrix.com>>
Date: Monday, January 13, 2014 at 9:57 AM
To: "dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>" <dev@cloudstack.apache.org<mailto:dev@cloudstack.apache.org>>
Subject: [Proposal] Ability to retrieve user data via Admin API - 4.4

I would like to propose to introduce API (Admin only, 4.4) that returns user data to the admin.
Current UserData behavior:

 * userData is passed to the deployVm/updateVm call
 * its stored in CS db and on the VR
 * the only one way to retrieve the data, is to request it from the user vm inside the network
by sending http request to the Virtual Router.

 We've adopted this model from Amazon EC2 APIs. But along the way I've noticed that some third
party integrators needed to read UserData by Admin to get the information about all vms in
the system/network. To solve the problem, people were using different kinds of workarounds
- db scripts to read userData from cloudstack DB, or writing CS API extensions: https://github.com/jasonhancock/cloudstack-api-extension.

So the API I'm proposing, will let you to retrieve User Data via Admin API. It will be available
to Root admin only.

If anyone has any objection, or see the flaws in the proposal, please signal.

-Alena.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message