You have been subscribed to a public bug:

When one of the compute node is shutdown, compute node state is not
updated as down and VM are scheduled in that node as a result of this.
Since node is down, VMs scheduled in that node got stuck in
BUILD/scheduling state.

root@CC:/var/log/contrail# contrail-version
Package                                Version                        Build-ID 
| Repo | Package Name
-------------------------------------- ------------------------------ 
----------------------------------
contrail-analytics                     3.0.2.0-51                     51
contrail-config                        3.0.2.0-51                     51
contrail-config-openstack              3.0.2.0-51                     51
contrail-control                       3.0.2.0-51                     51
contrail-dns                           3.0.2.0-51                     51
contrail-docs                          3.0.2.0-51                     51
contrail-f5                            3.0.2.0-51                     51
contrail-fabric-utils                  3.0.2.0-51                     51
contrail-heat                          3.0.2.0-51                     51
contrail-install-packages              3.0.2.0-51~liberty             51
contrail-lib                           3.0.2.0-51                     51
contrail-nodemgr                       3.0.2.0-51                     51
contrail-nova-networkapi               3.0.2.0-51                     51
contrail-openstack                     3.0.2.0-51                     51
contrail-openstack-analytics           3.0.2.0-51                     51
contrail-openstack-config              3.0.2.0-51                     51
contrail-openstack-control             3.0.2.0-51                     51
contrail-openstack-dashboard           3.0.2.0-51                     51
contrail-openstack-database            3.0.2.0-51                     51
contrail-openstack-webui               3.0.2.0-51                     51
contrail-setup                         3.0.2.0-51                     51
contrail-utils                         3.0.2.0-51                     51
contrail-web-controller                3.0.2.0-51                     51
contrail-web-core                      3.0.2.0-51                     51
ifmap-python-client                    0.1-2                          51
ifmap-server                           0.3.2-1contrail2               51
neutron-plugin-contrail                3.0.2.0-51                     51
nova-api                               2:12.0.1-0ubuntu1~cloud0.1contrail51
nova-common                            2:12.0.1-0ubuntu1~cloud0.1contrail51
nova-conductor                         2:12.0.1-0ubuntu1~cloud0.1contrail51
nova-console                           2:12.0.1-0ubuntu1~cloud0.1contrail51
nova-consoleauth                       2:12.0.1-0ubuntu1~cloud0.1contrail51
nova-novncproxy                        2:12.0.1-0ubuntu1~cloud0.1contrail51
nova-objectstore                       2:12.0.1-0ubuntu1~cloud0.1contrail51
nova-scheduler                         2:12.0.1-0ubuntu1~cloud0.1contrail51
python-contrail                        3.0.2.0-51                     51
python-neutronclient                   1:3.1.0-0ubuntu1~cloud0.2contrail51
python-nova                            2:12.0.1-0ubuntu1~cloud0.1contrail51


root@CC:/var/log/contrail# nova-manage service list
No handlers could be found for logger "oslo_config.cfg"
2016-10-27 19:48:40.452 64490 WARNING oslo_config.cfg 
[req-64bb3ae5-8674-47ad-9b1d-b7ea1b940f1a - - - - -] Option "sql_max_retries" 
from group "DEFAULT" is deprecated. Use option "max_retries" from group 
"database".
Binary           Host                                 Zone             Status   
  State Updated_At
nova-scheduler   CC                                   internal         enabled  
  :-)   2016-10-27 10:48:39
nova-console     CC                                   internal         enabled  
  :-)   2016-10-27 10:48:36
nova-consoleauth CC                                   internal         enabled  
  :-)   2016-10-27 10:48:32
nova-conductor   CC                                   internal         enabled  
  :-)   2016-10-27 10:48:39
nova-compute     Comnode2                             nova             enabled  
  :-)   2016-10-27 09:04:15
nova-compute     Comnode1                             nova             enabled  
  :-)   2016-10-27 10:48:37

root@CC:/var/log/contrail# nova hypervisor-show Comnode2
+---------------------------+------------------------------------------+
| Property                  | Value                                    |
+---------------------------+------------------------------------------+
| cpu_info_arch             | x86_64                                   |
| cpu_info_features         | ["pge", "avx", "clflush", "sep",         |
|                           | "syscall", "vme", "dtes64", "invpcid",   |
|                           | "tsc", "fsgsbase", "xsave", "vmx",       |
|                           | "erms", "xtpr", "cmov", "smep", "ssse3", |
|                           | "est", "pat", "monitor", "smx", "pbe",   |
|                           | "lm", "msr", "nx", "fxsr", "tm",         |
|                           | "sse4.1", "pae", "sse4.2", "pclmuldq",   |
|                           | "acpi", "fma", "tsc-deadline", "mmx",    |
|                           | "osxsave", "cx8", "mce", "de", "tm2",    |
|                           | "ht", "dca", "lahf_lm", "abm", "popcnt", |
|                           | "mca", "pdpe1gb", "apic", "sse", "f16c", |
|                           | "pse", "ds", "invtsc", "pni", "rdtscp",  |
|                           | "avx2", "aes", "sse2", "ss", "ds_cpl",   |
|                           | "bmi1", "bmi2", "pcid", "fpu", "cx16",   |
|                           | "pse36", "mtrr", "movbe", "pdcm",        |
|                           | "rdrand", "x2apic"]                      |
| cpu_info_model            | Haswell-noTSX                            |
| cpu_info_topology_cells   | 1                                        |
| cpu_info_topology_cores   | 12                                       |
| cpu_info_topology_sockets | 2                                        |
| cpu_info_topology_threads | 2                                        |
| cpu_info_vendor           | Intel                                    |
| current_workload          | 0                                        |
| disk_available_least      | 677                                      |
| free_disk_gb              | 752                                      |
| free_ram_mb               | 34349                                    |
| host_ip                   | 10.183.10.14                             |
| hypervisor_hostname       | Comnode2                                 |
| hypervisor_type           | QEMU                                     |
| hypervisor_version        | 2003000                                  |
| id                        | 1                                        |
| local_gb                  | 1033                                     |
| local_gb_used             | 281                                      |
| memory_mb                 | 64045                                    |
| memory_mb_used            | 29696                                    |
| running_vms               | 8                                        |
| service_disabled_reason   | None                                     |
| service_host              | Comnode2                                 |
| service_id                | 5                                        |
| state                     | up                                       |
| status                    | enabled                                  |
| vcpus                     | 48                                       |
| vcpus_used                | 15                                       |
+---------------------------+------------------------------------------+
root@CC:/var/log/contrail# ping 10.183.10.14
PING 10.183.10.14 (10.183.10.14) 56(84) bytes of data.


^C
--- 10.183.10.14 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2016ms

root@CC:/var/log/contrail# nova list
+--------------------------------------+-------+--------+------------+-------------+-----------------------+
| ID                                   | Name  | Status | Task State | Power 
State | Networks              |
+--------------------------------------+-------+--------+------------+-------------+-----------------------+
| 99cae549-cb18-4d8a-8f46-e80a79569f88 | TES-1 | BUILD  | scheduling | NOSTATE  
   |                       |
| 07a3926e-e8b7-4d11-97ca-b01a6f0677ba | TES-2 | BUILD  | scheduling | NOSTATE  
   |                       |
| 6f3c9907-7d86-435f-9d49-12ddda0fb66c | TES-3 | ACTIVE | -          | Running  
   | mgmt-VN=10.172.51.216 |
| 3b4e54de-577e-4df7-a30a-6639f8e0a7f3 | TES-4 | BUILD  | scheduling | NOSTATE  
   |                       |
| 95b4b397-b78c-41c2-b9ec-d3154f9ff5f3 | TES-5 | ACTIVE | -          | Running  
   | mgmt-VN=10.172.51.218 |
+--------------------------------------+-------+--------+------------+-------------+-----------------------+

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
compute node status is not updated when it is brougt down
https://bugs.launchpad.net/bugs/1637164
You received this bug notification because you are a member of Ubuntu Bugs, 
which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to