发起问题

Panasonic1 的档案 - activity

2019-06-18 13:13:53 -0500 获得奖牌  著名问题 (source)
2019-06-18 13:13:53 -0500 获得奖牌  热门的问题 (source)
2017-01-21 08:23:38 -0500 获得奖牌  著名问题 (source)
2016-09-26 00:37:23 -0500 获得奖牌  热门的问题 (source)
2016-09-25 01:03:53 -0500 获得奖牌  受欢迎的问题 (source)
2016-09-22 02:55:03 -0500 获得奖牌  受欢迎的问题 (source)
2016-09-05 07:09:12 -0500 获得奖牌  编辑 (source)
2016-09-05 03:46:47 -0500 问了问题 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
2016-08-31 20:02:19 -0500 问了问题 Migration attached volume between cinder pools

Hello!

Migration unattached volumes between cinder pools works well. Trying to migrate attached volume between cinder pools and getting this problem:

2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager [req-7be4cfc3-2cc0-4f5d-870b-fba5e2e9f123 baf75e27adb5440c835e48947cf67920 e736edfea898467ca4b1066bdd422349 - - -] Failed to copy volume 38603c8c-4f23-4332-bb8a-30b2ad5e4245 to ae4bcc42-1b9d-4b55-9ae9-ba65b61adb35
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager Traceback (most recent call last):
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 1783, in _migrate_volume_generic
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager     new_volume.id)
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/cinder/compute/nova.py", line 169, in update_server_volume
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager     novaclient(context).volumes.update_server_volume(server_id,
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/cinder/compute/nova.py", line 133, in novaclient
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager     **region_filter)
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager   File "/usr/lib/python2.7/site-packages/novaclient/service_catalog.py", line 84, in url_for
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager     raise novaclient.exceptions.EndpointNotFound()
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager EndpointNotFound
2016-08-31 15:51:50.974 12435 ERROR cinder.volume.manager
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher [req-7be4cfc3-2cc0-4f5d-870b-fba5e2e9f123 baf75e27adb5440c835e48947cf67920 e736edfea898467ca4b1066bdd422349 - - -] Exception during message handling:
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last):
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 138, in _dispatch_and_reply
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher     incoming.message))
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 183, in _dispatch
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher     return self._do_dispatch(endpoint, method, ctxt, args)
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 127, in _do_dispatch
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher     result = func(ctxt, **new_args)
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/cinder/volume/manager.py", line 1982, in migrate_volume
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher     volume.save()
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher     self.force_reraise()
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher     six.reraise(self.type_, self.value, self.tb)
2016-08-31 15:51:51.063 12435 ERROR oslo_messaging.rpc.dispatcher   File "/usr/lib/python2.7/site-packages/cinder ...
(more)