← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1245541] Re: multiple key:value pairs in instance_type_extra_specs does not work

 

This capability was marked as deprecated in
https://review.openstack.org/#/c/62088/

** Changed in: nova
       Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1245541

Title:
  multiple key:value pairs in instance_type_extra_specs does not work

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  
   OS: CentOS 6.4
   Installation: using RDO Packstack.
   
   When one key:value pair is described in instance_type_extra_specs, the scheduler works fine.
  However, when multiple key:value pairs are described in instance_type_extra_specs in /etc/nova/nova.conf, only one of them are properly filtered, but the other keys are recognized by None by the scheduler filter.
  So, it always fails to find proper nova-compute.
  I could use the same instance_type_extra_specs with Grizzly,
  but it fails with Havana.

   Here is the flags that I used:

  /etc/nova/nova.conf
  instance_type_extra_specs=cpu_arch:x86_64, gpu_arch:fermi, gpus:2, hypervisor_type:LXC

  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'} |

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1245541/+subscriptions