Wrong "can_host" field of compute node resource providers

Bug #1622538 reported by Yingxin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Medium
Yingxin

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)

Tags: placement
Yingxin (cyx1231st)
Changed in nova:
assignee: nobody → Yingxin (cyx1231st)
tags: added: placement
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/369218

Changed in nova:
status: New → In Progress
Changed in nova:
importance: Undecided → Medium
Revision history for this message
Chris Dent (cdent) wrote :

Jay Pipes, Dan Smith and others decided in a hangout that the can_host file is not going to be used and will remain as a vestigial column in the database tables.

Changed in nova:
status: In Progress → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Yingxin Cheng (<email address hidden>) on branch: master
Review: https://review.openstack.org/369218
Reason: No longer needed, because the usage of can_host field is still undetermined.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.