[openstack-dev] Openstack NOVA and Metadata.

Trinath Somanchi trinath.somanchi at gmail.com
Fri Aug 31 17:01:11 UTC 2012


Hi Vish-

Thanks for the reply.

I need much more info on these.

[1] Where this Metadata comes into picture., while launching the instance,
or after instance is launched ?
[2] In the Essex release, how can he see what metadata is being prepared
and used ?
[3] What is the use of this metadata.
[4] In scenario of Nova+Quantum+OVS (Essex Release) at what places this
metadata is used, How is it prepared, where it is parsed and understood,
What data does it contain?

Though I have too many questions, I'm in need of these since, Want to
understand the ROLE of metadata concept?

Kindly please help me understand the same.

--
TNS


On Fri, Aug 31, 2012 at 9:21 PM, Vishvananda Ishaya
<vishvananda at gmail.com>wrote:

> Server Metadata:
> http://docs.openstack.org/api/openstack-compute/2/content/Server_Metadata-d1e2529.html
>
> More Metadata Info:
> http://docs.openstack.org/api/openstack-compute/2/content/MetadataSection.html
>
> Personalities:
> http://docs.openstack.org/api/openstack-compute/2/content/Server_Personality-d1e2543.html
>
> Vish
>
> On Aug 31, 2012, at 2:52 AM, Trinath Somanchi <trinath.somanchi at gmail.com>
> wrote:
>
> Hi-
>
> While going through the source code of the Nova API, i came across the
> following comments.
>
> class CommonDeserializer(wsgi.MetadataXMLDeserializer):
>     """
>     Common deserializer to handle xml-formatted server create
>     requests.
>
>     Handles standard server attributes as well as optional metadata
>     and personality attributes
>     """
>
>     metadata_deserializer = common.MetadataXMLDeserializer()
>
>     def _extract_personality(self, server_node):
>         """Marshal the personality attribute of a parsed request"""
>         node = self.find_first_child_named(server_node, "personality")
>         if node is not None:
>             personality = []
>             for file_node in self.find_children_named(node, "file"):
>                 item = {}
>                 if file_node.hasAttribute("path"):
>                     item["path"] = file_node.getAttribute("path")
>                 item["contents"] = self.extract_text(file_node)
>                 personality.append(item)
>             return personality
>         else:
>             return None
>
>
> ..............
> .................
>
> Just very interested to know, what kind of metadata is possible here and
> what doest this PERSONALITY attribute mean.
>
> Can any me help understand the role of METADATA and its attributes with an
> example. Even When I brought up the instance, when I view the logs, haven't
> found any information regarding the metadata.
>
> Please help me in this regard.
>
> Thanking you all.
>
> --
> Regards,
> ----------------------------------------------
> Trinath Somanchi,
> +91 9866 235 130
>
>  _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20120831/99eab530/attachment.html>


More information about the OpenStack-dev mailing list