发起问题

niket 的档案 - activity

2020-04-22 03:02:15 -0500 获得奖牌  著名问题 (source)
2020-04-21 21:58:57 -0500 获得奖牌  著名问题 (source)
2020-04-21 21:58:57 -0500 获得奖牌  热门的问题 (source)
2020-03-12 10:18:27 -0500 获得奖牌  著名问题 (source)
2019-09-25 10:37:17 -0500 获得奖牌  热门的问题 (source)
2019-07-03 09:25:25 -0500 评论问题 Policy doesn't allow os_compute_api:os-flavor-manage:create to be performed

thanks for your response Bernd Bausch. Added the boolean operator, still it isn't working.

2019-07-03 05:04:15 -0500 获得奖牌  受欢迎的问题 (source)
2019-06-18 08:59:42 -0500 问了问题 Policy doesn't allow os_compute_api:os-flavor-manage:create to be performed

Hi,

I need to create flavor using different user (not admin). Updated the policy in /etc/nova/policy.json file under nova_compute container in kolla openstack. Still i am unable to create flavor. Could you please guide me on the same.

please find below the policy.json file

{ "context_is_admin": "role:admin", "owner": "tenant_id:%(tenant_id)s", "admin_or_owner": "rule:context_is_admin or rule:owner", "regular_user": "role:member", "default": "rule:admin_or_owner",

"os_compute_api:os-flavor-manage": "rule:admin_api or rule:admin_or_owner or rule:regular_user",
"os_compute_api:os-flavor-manage:create": "rule:os_compute_api:os-flavor-manage rule:admin_or_owner or rule:regular_user",
"os_compute_api:os-flavor-manage:delete": "rule:os_compute_api:os-flavor-manage rule:admin_or_owner or rule:regular_user"

}

Note: current user is assigned the role as member

2019-06-18 05:02:32 -0500 获得奖牌  热门的问题 (source)
2019-06-18 05:02:22 -0500 获得奖牌  受欢迎的问题 (source)
2019-05-19 18:47:15 -0500 获得奖牌  受欢迎的问题 (source)
2019-05-16 07:02:30 -0500 评论问题 cinder containers are restarting again again

All kola logs you can find at /var/lib/docker/volumes/kolla_logs/_data/cinder other then this , i don't thing there are any logs which kolla maintains.

2019-05-16 03:10:13 -0500 评论问题 cinder containers are restarting again again

Hi Bernd,

Thanks for your quick response. I have gone through logs also. it didn't help out.

unable to attach logs here.

2019-05-16 03:10:05 -0500 回答问题 cinder containers are restarting again again

logs for your reference

cinder-backup.log

2019-05-14 17:52:09.233 6 INFO cinder.cmd.backup [-] Backup running in single process mode. 2019-05-14 17:52:09.739 6 CRITICAL cinder [req-2eb0d613-3509-49f1-8927-fd6859437616 - - - - -] Unhandled error: ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'cinder.services' doesn't exist") [SQL: u'SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.binary AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen \nFROM services \nWHERE services.deleted = false AND services.binary= %(binary_1)s'] [parameters: {u'binary_1': 'cinder-backup'}] (Background on this error at: http://sqlalche.me/e/f405) 2019-05-14 17:52:09.739 6 ERROR cinder Traceback (most recent call last): 2019-05-14 17:52:09.739 6 ERROR cinder File "/var/lib/kolla/venv/bin/cinder-backup", line 10, in <module> 2019-05-14 17:52:09.739 6 ERROR cinder sys.exit(main()) 2019-05-14 17:52:09.739 6 ERROR cinder File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/cmd/backup.py", line 112, in main 2019-05-14 17:52:09.739 6 ERROR cinder process_number=1) 2019-05-14 17:52:09.739 6 ERROR cinder File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/service.py", line 392, in create 2019-05-14 17:52:09.739 6 ERROR cinder cluster=cluster, </module>*kwargs) 2019-05-14 17:52:09.739 6 ERROR cinder File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/service.py", line 155, in __init__ 2019-05-14 17:52:09.739 6 ERROR cinder *args, *kwargs) 2019-05-14 17:52:09.739 6 ERROR cinder File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/backup/manager.py", line 117, in __init__ 2019-05-14 17:52:09.739 6 ERROR cinder self.backup_rpcapi = backup_rpcapi.BackupAPI() 2019-05-14 17:52:09.739 6 ERROR cinder File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/rpc.py", line 207, in __init__ 2019-05-14 17:52:09.739 6 ERROR cinder obj_version_cap = self.determine_obj_version_cap() 2019-05-14 17:52:09.739 6 ERROR cinder File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/rpc.py", line 260, in determine_obj_version_cap 2019-05-14 17:52:09.739 6 ERROR cinder cinder.context.get_admin_context(), cls.BINARY) 2019-05-14 17:52:09.739 6 ERROR cinder File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/objects/service.py", line 222, in get_minimum_obj_version 2019-05-14 17:52:09.739 6 ERROR cinder binary) 2019-05-14 17:52:09.739 6 ERROR cinder File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/objects/service.py", line 192, in _get_minimum_version 2019-05-14 17:52:09.739 6 ERROR cinder services = ServiceList.get_all_by_binary(context, binary) 2019-05-14 17:52:09.739 6 ERROR cinder File "/var ... (more)

2019-05-16 02:58:02 -0500 获得奖牌  粉丝
2019-05-15 06:41:18 -0500 问了问题 cinder containers are restarting again again

Using openstack kolla as my infrastructure. trying to bring cinder service up but cinder containers (cinder_scheduler, cinder_volume, cinder_backup and iscsid) are restarting again n again.

#globals.yml
enable_cinder: "yes"
enable_cinder_backend_lvm: "yes"

Could you please guide me on the same.

logs for your reference

cinder-backup.log

2019-05-14 17:52:09.233 6 INFO cinder.cmd.backup [-] Backup running in single process mode.
2019-05-14 17:52:09.739 6 CRITICAL cinder [req-2eb0d613-3509-49f1-8927-fd6859437616 - - - - -] Unhandled error: ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'cinder.services' doesn't exist") [SQL: u'SELECT services.created_at AS services_created_at, services.deleted_at AS services_deleted_at, services.deleted AS services_deleted, services.id AS services_id, services.uuid AS services_uuid, services.cluster_name AS services_cluster_name, services.host AS services_host, services.`binary` AS services_binary, services.updated_at AS services_updated_at, services.topic AS services_topic, services.report_count AS services_report_count, services.disabled AS services_disabled, services.availability_zone AS services_availability_zone, services.disabled_reason AS services_disabled_reason, services.modified_at AS services_modified_at, services.rpc_current_version AS services_rpc_current_version, services.object_current_version AS services_object_current_version, services.replication_status AS services_replication_status, services.active_backend_id AS services_active_backend_id, services.frozen AS services_frozen \nFROM services \nWHERE services.deleted = false AND services.`binary` = %(binary_1)s'] [parameters: {u'binary_1': 'cinder-backup'}] (Background on this error at: http://sqlalche.me/e/f405)
2019-05-14 17:52:09.739 6 ERROR cinder Traceback (most recent call last):
2019-05-14 17:52:09.739 6 ERROR cinder   File "/var/lib/kolla/venv/bin/cinder-backup", line 10, in <module>
2019-05-14 17:52:09.739 6 ERROR cinder     sys.exit(main())
2019-05-14 17:52:09.739 6 ERROR cinder   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/cmd/backup.py", line 112, in main
2019-05-14 17:52:09.739 6 ERROR cinder     process_number=1)
2019-05-14 17:52:09.739 6 ERROR cinder   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/service.py", line 392, in create
2019-05-14 17:52:09.739 6 ERROR cinder     cluster=cluster, **kwargs)
2019-05-14 17:52:09.739 6 ERROR cinder   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/service.py", line 155, in __init__
2019-05-14 17:52:09.739 6 ERROR cinder     *args, **kwargs)
2019-05-14 17:52:09.739 6 ERROR cinder   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/backup/manager.py", line 117, in __init__
2019-05-14 17:52:09.739 6 ERROR cinder     self.backup_rpcapi = backup_rpcapi.BackupAPI()
2019-05-14 17:52:09.739 6 ERROR cinder   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/rpc.py", line 207, in __init__
2019-05-14 17:52:09.739 6 ERROR cinder     obj_version_cap = self.determine_obj_version_cap()
2019-05-14 17:52:09.739 6 ERROR cinder   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/rpc.py", line 260, in determine_obj_version_cap
2019-05-14 17:52:09.739 6 ERROR cinder     cinder.context.get_admin_context(), cls.BINARY)
2019-05-14 17:52:09.739 6 ERROR cinder   File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/cinder/objects/service.py", line 222, in get_minimum_obj_version
2019-05-14 17:52:09.739 6 ERROR cinder     binary)
2019-05-14 17:52:09.739 6 ERROR cinder   File "/var/lib ...
(more)
2019-05-15 06:41:18 -0500 问了问题 cinder containers are restarting again and again

I am using openstack kolla as my infrastructure. i am trying to bring cinder services up. Facing issues while bringing it up. cinder_backup, cinder_volume, iscsid and cinder_scheduler are restarting again and again. Could you please guide me on the same.

As part of the globals.yml i have enabled enable_cinder: "yes" enable_cinder_backend_lvm: "yes"

2019-03-18 06:39:20 -0500 问了问题 tacker vim status is in pending state.

Hi All,

i installed openstack using kolla-ansible. Trying to register a vim but it's coming in pending state only. could anyone help me out with this