通过manageiq错误配置openstack vms

时间:2018-06-21 00:06:55

标签: openstack openstack-cinder manageiq

1天 您好,我不确定这是否是问这个问题的正确地点,所以如果不正确,请原谅我。我正在开发一个Openstack集群,并将其作为云提供商添加到ManageIQ。看起来工作正常,我可以看到实例/卷等。但是,当我配置虚拟机时,它总是在存储创建步骤中失败。在cinder.log文件中,我看到了:

|__Flow ‘volume_create_manager’: ProcessExecutionError: Unexpected error while running command.
Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf mmchattr -P system /gpfs/gpctestfs/openstack/cinder/volume-4db8d972-da16-49a6-b54e-63d53c94cb95
Exit code: 1
Stdout: u’’
Stderr: u"File cannot be assigned to storage pool ‘system’.\n"
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager Traceback (most recent call last):
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager File “/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/executor.py”, line 53, in _execute_task
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager result = task.execute(**arguments)
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager File “/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py”, line 938, in execute
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager model_update = self._create_raw_volume(volume, **volume_spec)
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager File “/usr/lib/python2.7/site-packages/cinder/volume/flows/manager/create_volume.py”, line 906, in _create_raw_volume
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager ret = self.driver.create_volume(volume)
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager File “/usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/gpfs.py”, line 563, in create_volume
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager self._set_volume_attributes(volume, volume_path, volume.metadata)
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager File “/usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/gpfs.py”, line 538, in _set_volume_attributes
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager self._gpfs_change_attributes(options, path)
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager File “/usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/gpfs.py”, line 510, in _gpfs_change_attributes
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager self.gpfs_execute(*cmd)
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager File “/usr/lib/python2.7/site-packages/cinder/volume/drivers/ibm/gpfs.py”, line 173, in _gpfs_local_execute
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager return utils.execute(*cmd, **kwargs)
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager File “/usr/lib/python2.7/site-packages/cinder/utils.py”, line 123, in execute
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager return processutils.execute(*cmd, **kwargs)
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager File “/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py”, line 419, in execute
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager cmd=sanitized_cmd)
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager ProcessExecutionError: Unexpected error while running command.
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager Command: sudo cinder-rootwrap /etc/cinder/rootwrap.conf mmchattr -P system /gpfs/gpctestfs/openstack/cinder/volume-4db8d972-da16-49a6-b54e-63d53c94cb95
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager Exit code: 1
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager Stdout: u’’
2018-06-19 16:00:09.016 32123 ERROR cinder.volume.manager Stderr: u"File cannot be assigned to storage pool ‘system’.\n"

I can create volumes/vms just fine from Horizon. Anybody have an idea what’s wrong?

0 个答案:

没有答案