Total capacity gb equals to Zero 0
Hello!
After rebooting the storage nodes i cannot create new volumes. The scheduler says that there is "No valid hosts was found"
What should i do?
2016-09-05 13:54:21.034 16293 INFO cinder.service [-] Starting cinder-scheduler node (version 8.0.0)
2016-09-05 14:05:48.604 16293 WARNING cinder.scheduler.filters.capacity_filter [req-2abfb211-9760-44e4-9b94-2a5abe18ad77 baf75e27adb5440c835e48947cf67920 e736edfea898467ca4b1066bdd422349 - - -] Insufficient free space for volume creation. Total capacity is 0.00 on host node1@lvm-ssd-gps5#LVM.
2016-09-05 14:05:48.608 16293 WARNING cinder.scheduler.filters.capacity_filter [req-2abfb211-9760-44e4-9b94-2a5abe18ad77 baf75e27adb5440c835e48947cf67920 e736edfea898467ca4b1066bdd422349 - - -] Insufficient free space for volume creation. Total capacity is 0.00 on host node2@lvm-ssd-gps8#LVM.
2016-09-05 14:05:48.608 16293 WARNING cinder.scheduler.filters.capacity_filter [req-2abfb211-9760-44e4-9b94-2a5abe18ad77 baf75e27adb5440c835e48947cf67920 e736edfea898467ca4b1066bdd422349 - - -] Insufficient free space for volume creation. Total capacity is 0.00 on host node1@lvm#LVM.
2016-09-05 14:05:48.609 16293 INFO cinder.scheduler.base_filter [req-2abfb211-9760-44e4-9b94-2a5abe18ad77 baf75e27adb5440c835e48947cf67920 e736edfea898467ca4b1066bdd422349 - - -] Filter CapacityFilter returned 0 host(s)
2016-09-05 14:05:48.610 16293 WARNING cinder.scheduler.filter_scheduler [req-2abfb211-9760-44e4-9b94-2a5abe18ad77 baf75e27adb5440c835e48947cf67920 e736edfea898467ca4b1066bdd422349 - - -] No weighed hosts found for volume with properties: {}
2016-09-05 14:05:48.620 16293 ERROR cinder.scheduler.flows.create_volume [req-2abfb211-9760-44e4-9b94-2a5abe18ad77 baf75e27adb5440c835e48947cf67920 e736edfea898467ca4b1066bdd422349 - - -] Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid host was found. No weighed hosts available
Cinder pools details:
# cinder get-pools --detail
+-----------------------------+---------------------------------------------------------------+
| Property | Value |
+-----------------------------+---------------------------------------------------------------+
| QoS_support | False |
| allocated_capacity_gb | 0 |
| driver_version | 3.0.0 |
| filter_function | None |
| free_capacity_gb | 0.0 |
| goodness_function | None |
| location_info | LVMVolumeDriver:node1:ssd-cinder-volumes:thin:0 |
| max_over_subscription_ratio | 1.0 |
| multiattach | True |
| name | node1@lvm-ssd-gps5#ssd-gps5 |
| pool_name | ssd-gps5 |
| provisioned_capacity_gb | 0.0 |
| reserved_percentage | 0 |
| storage_protocol | iSCSI |
| thick_provisioning_support | False |
| thin_provisioning_support | True |
| timestamp | 2016-09-05T08:39:07.230859 |
| total_capacity_gb | 0.0 |
| total_volumes | 1 |
| vendor_name | Open Source |
| volume_backend_name | ssd-gps5 |
+-----------------------------+---------------------------------------------------------------+
+-----------------------------+-----------------------------------------------------------+
| Property | Value |
+-----------------------------+-----------------------------------------------------------+
| QoS_support | False |
| allocated_capacity_gb | 0 |
| driver_version | 3.0.0 |
| filter_function | None |
| free_capacity_gb | 0.0 |
| goodness_function | None |
| location_info | LVMVolumeDriver:node1:cinder-volumes:thin:0 |
| max_over_subscription_ratio | 1.0 |
| multiattach | True |
| name | node1@lvm#sata |
| pool_name | sata |
| provisioned_capacity_gb | 0.0 |
| reserved_percentage | 0 |
| storage_protocol | iSCSI |
| thick_provisioning_support | False |
| thin_provisioning_support | True |
| timestamp | 2016-09-05T08:39:26.819513 |
| total_capacity_gb | 0.0 |
| total_volumes | 12 |
| vendor_name | Open Source |
| volume_backend_name | sata |
+-----------------------------+-----------------------------------------------------------+
+-----------------------------+-----------------------------------------------------------+
| Property | Value |
+-----------------------------+-----------------------------------------------------------+
| QoS_support | False |
| allocated_capacity_gb | 200 |
| driver_version | 3.0.0 |
| filter_function | None |
| free_capacity_gb | 0.0 |
| goodness_function | None |
| location_info | LVMVolumeDriver:node2:cinder-volumes:thin:0 |
| max_over_subscription_ratio | 1.0 |
| multiattach | True |
| name | node2@lvm-ssd-gps8#LVM |
| pool_name | LVM |
| provisioned_capacity_gb | 0.0 |
| reserved_percentage | 0 |
| storage_protocol | iSCSI |
| thick_provisioning_support | False |
| thin_provisioning_support | True |
| timestamp | 2016-09-05T08:38:56.041135 |
| total_capacity_gb | 0.0 |
| total_volumes | 2 |
| vendor_name | Open Source |
| volume_backend_name | LVM |
+-----------------------------+-----------------------------------------------------------+
Sep 5 15:48:07 gps5 cinder-volume: 2016-09-05 15:48:07.815 17508 DEBUG oslo_concurrency.processutils [req-80b2776e-dc2d-41b2-8211-ab69b1130eb6 - - - - -] CMD "sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvs --noheadings --unit=g -o vg_name,name,size --nosuffix cinder-volumes" returned: 0 in 0.136s execute /usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py:374
Running
`sudo cinder-rootwrap /etc/cinder/rootwrap.conf env LC_ALL=C lvs --noheadings --unit=g -o vg_name,name,size --nosuffix cinder-volumes`
gives
cinder-volumes cinder-volumes-pool 386.16
cinder-volumes volume-07fd0333-26a5-43c6-870f-7e4312efa495 200.00
Hi there! I seeing the same issue with my newton setup on debian. were you able to resolve this ?