← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1622538] [NEW] Wrong "can_host" field of compute node resource providers

 

Public bug reported:

The "can_host" field of compute node records should be 1. However,
according to the latest placement implementation, it is 0.

mysql> select * from resource_providers;
+---------------------+---------------------+----+--------------------------------------+-----------------+------------+----------+
| created_at          | updated_at          | id | uuid                                 | name            | generation | can_host |
+---------------------+---------------------+----+--------------------------------------+-----------------+------------+----------+
| 2016-09-12 08:54:19 | 2016-09-12 09:33:41 |  1 | 508f3973-8e1a-4241-afec-ee3e21be0611 | host1 |         80 |        0 |
+---------------------+---------------------+----+--------------------------------------+-------+------------+----------+
1 row in set (0.00 sec)

** Affects: nova
     Importance: Undecided
     Assignee: Yingxin (cyx1231st)
         Status: New


** Tags: placement

** Changed in: nova
     Assignee: (unassigned) => Yingxin (cyx1231st)

** Tags added: placement

** Description changed:

  The "can_host" field of compute node records should be 1. However,
- according to the latest placement code, it is 0.
- 
+ according to the latest placement implementation, it is 0.
  
  mysql> select * from resource_providers;
  +---------------------+---------------------+----+--------------------------------------+-----------------+------------+----------+
  | created_at          | updated_at          | id | uuid                                 | name            | generation | can_host |
  +---------------------+---------------------+----+--------------------------------------+-----------------+------------+----------+
  | 2016-09-12 08:54:19 | 2016-09-12 09:33:41 |  1 | 508f3973-8e1a-4241-afec-ee3e21be0611 | host1 |         80 |        0 |
  +---------------------+---------------------+----+--------------------------------------+-------+------------+----------+
  1 row in set (0.00 sec)

-- 
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/1622538

Title:
  Wrong "can_host" field of compute node resource providers

Status in OpenStack Compute (nova):
  New

Bug description:
  The "can_host" field of compute node records should be 1. However,
  according to the latest placement implementation, it is 0.

  mysql> select * from resource_providers;
  +---------------------+---------------------+----+--------------------------------------+-----------------+------------+----------+
  | created_at          | updated_at          | id | uuid                                 | name            | generation | can_host |
  +---------------------+---------------------+----+--------------------------------------+-----------------+------------+----------+
  | 2016-09-12 08:54:19 | 2016-09-12 09:33:41 |  1 | 508f3973-8e1a-4241-afec-ee3e21be0611 | host1 |         80 |        0 |
  +---------------------+---------------------+----+--------------------------------------+-------+------------+----------+
  1 row in set (0.00 sec)

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


Follow ups