multiple key:value pairs in instance_type_extra_specs does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
High
|
Unassigned |
Bug Description
OS: CentOS 6.4
Installation: using RDO Packstack.
When one key:value pair is described in instance_
However, when multiple key:value pairs are described in instance_
So, it always fails to find proper nova-compute.
I could use the same instance_
but it fails with Havana.
Here is the flags that I used:
/etc/nova/nova.conf
instance_
flavor:
nova flavor-list --extra-specs
+----+-
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
+----+-
| 10 | cg1.small | 2048 | 10 | 0 | | 2 | 1.0 | True | {u'gpus': u'= 1', u'hypervisor_type': u's== LXC', u'gpu_arch': u's== fermi', u'cpu_arch': u's== x86_64'} |
Changed in nova: | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: havana-backport-potential |
It looks like that any key in instance_ type_extra_ specs field is not recognized by the compute_ capabilities_ filter at all.
For testing, I've added the following code into libvirt. HostState. update_ status( ) function:
+ data["test_key"] = 'test_value'
Scheduler cannot find the value of the key from the state of compute node.
Should the new key:value pair be inserted somewhere else?