[Openstack] how to use extra_specs??
Mauch, Viktor (SCC)
mauch at kit.edu
Tue Nov 6 10:51:23 UTC 2012
Yes sure,
But in this example you use an existing key free_ram_rmb?! Ist that right?
What I want to do is to create my own key value paris for compute nodes (who
can I do that) and for the extra_specs variable of the flavors
Best Regards
Viktor
From: Razique Mahroua [mailto:razique.mahroua at gmail.com]
Sent: Tuesday, November 06, 2012 11:49 AM
To: Mauch, Viktor (SCC)
Cc: openstack at lists.launchpad.net
Subject: Re: [Openstack] how to use extra_specs??
You can also use the cli, does the job too
nova boot --flavor 1 --image 1f3fbdde-4c8a-4b3b-9cf1-a3b9fd0f1d9e --key_name
key1 --hint query='[">=", "free_ram_mb", 1024]' vm1
Nuage & Co - Razique Mahroua
razique.mahroua at gmail.com
Le 6 nov. 2012 à 11:46, "Mauch, Viktor (SCC)" <mauch at kit.edu> a écrit :
Or being more specific,
How can a add key/value pairs to a compute node???
So I can check the extra_specs data with the key/value paris of the compute
node?
Cheers Viktor
From: openstack-bounces+mauch=kit.edu at lists.launchpad.net
[mailto:openstack-bounces+mauch=kit.edu at lists.launchpad.net] On Behalf Of
Mauch, Viktor (SCC)
Sent: Tuesday, November 06, 2012 11:37 AM
To: openstack at lists.launchpad.net
Subject: Re: [Openstack] how to use extra_specs??
Just one more noob question.
Is it normal that If I set a set key/value pair lets say
{my_special_key:my_special_value} to an existing flavor, that the
scheduler failed to find a host for an instance of this flavor.
(I use devstack with folsom stable code)
Cheers Viktor
From: Vinay Bannai [ <mailto:vbannai at gmail.com> mailto:vbannai at gmail.com]
Sent: Tuesday, November 06, 2012 5:09 AM
To: Mauch, Viktor (SCC)
Cc: <mailto:openstack at lists.launchpad.net> openstack at lists.launchpad.net
Subject: Re: [Openstack] how to use extra_specs??
The simplest way would be to create key/value pairs for flavor types
(instance types).
This information would be associated in a separate table in nova db
(instance_type_extra_specs) and would go along with the instance type.
Once it is in the database, you can use this information to customize all
kinds of things like the nova scheduler, additional data that can be passed
to the instance at the time of the creation. This is the high level
overview. If you search the mailing list archives you will find some
additional discussion about this topic.
Vinay
On Mon, Nov 5, 2012 at 5:57 PM, Mauch, Viktor (SCC) < <mailto:mauch at kit.edu>
mauch at kit.edu> wrote:
Hi guys,
can anyone tell me (with an example) how to use the extra_specs variable for
an instance_type??
Best Regards
Viktor
_______________________________________________
Mailing list: <https://launchpad.net/~openstack>
https://launchpad.net/~openstack
Post to : <mailto:openstack at lists.launchpad.net>
openstack at lists.launchpad.net
Unsubscribe : <https://launchpad.net/~openstack>
https://launchpad.net/~openstack
More help : <https://help.launchpad.net/ListHelp>
https://help.launchpad.net/ListHelp
--
Vinay Bannai
Email: <mailto:vbannai at gmail.com> vbannai at gmail.com
Google Voice: 415 938 7576
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121106/d4921d5a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 10122 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121106/d4921d5a/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5978 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121106/d4921d5a/attachment.bin>
More information about the Openstack
mailing list