为何OPENSTACK-210模拟环境中执行 openstack compute service list 报错? 5C

本人刚开始学红帽openstack 210的课程,在导入模拟环境到VMware中后,在开启classroom,workstation,power,director,后,在director上以用户stack执行命令 openstack compute service list 时,报错代码如下,请各位大神指点下,谢谢。

[stack@director ~]$ openstack compute service list
Discovering versions from the identity service failed when creating the password plugin. Attempting to determine version from URL.
SSL exception connecting to https://172.25.249.201:13000/v2.0/tokens: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

以下是日志信息:

May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main [-] Periodic clean up of node cache failed
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main Traceback (most recent call last):
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironic_inspector/main.py", line 325, in periodic_clean_up
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     sync_with_ironic()
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironic_inspector/main.py", line 333, in sync_with_ironic
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     ironic_nodes = ironic.node.list(limit=0)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironicclient/v1/node.py", line 135, in list
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     limit=limit)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironicclient/common/base.py", line 129, in _list_pagination
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     resp, body = self.api.json_request('GET', url)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironicclient/common/http.py", line 553, in json_request
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     resp = self._http_request(url, method, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironicclient/common/http.py", line 190, in wrapper
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return func(self, url, method, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/ironicclient/common/http.py", line 526, in _http_request
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     raise_exc=False, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return wrapped(*args, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 462, in request
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     auth_headers = self.get_auth_headers(auth)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 733, in get_auth_headers
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return auth.get_headers(self, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/plugin.py", line 90, in get_headers
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     token = self.get_token(session)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 90, in get_token
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return self.get_access(session).auth_token
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 136, in get_access
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     self.auth_ref = self.get_auth_ref(session)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 181, in get_auth_ref
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return self._plugin.get_auth_ref(session, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v2.py", line 65, in get_auth_ref
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     authenticated=False, log=False)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 681, in post
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return self.request(url, 'POST', **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     return wrapped(*args, **kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 555, in request
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     resp = send(**kwargs)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main   File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 593, in _send_request
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main     raise exceptions.SSLError(msg)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main SSLError: SSL exception connecting to https://172.25.249.201:13000/v2.0/tokens: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
May 11 02:35:47 director ironic-inspector: 2019-05-11 02:35:47.107 669 ERROR ironic_inspector.main


1个回答

qq_19671603
Allastair 谢谢,但是这个与我的报错信息不一样
大约一年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
执行指令OpenStack compute service list 出现HTTP(500)

2017-11-08 19:18:52.833 ERROR nova.compute.manager [req-e4abe3b9-f679-41cb-bed6-064ca37a3f7f - - - - -]更新节点controller时发生错误 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager Traceback (most recent call last): 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6571, in update_available_resource_for_node 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager rt.update_available_resource(context, nodename) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 551, in update_available_resource 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self._update_available_resource(context, resources) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return f(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 575, in _update_available_resource 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self._init_compute_node(context, resources) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 438, in _init_compute_node 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self.scheduler_client.update_resource_stats(cn) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 60, in update_resource_stats 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self.reportclient.update_resource_stats(compute_node) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return getattr(self.instance, __name)(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 631, in update_resource_stats 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager compute_node.hypervisor_hostname) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 407, in _ensure_resource_provider 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager rp = self._get_resource_provider(uuid) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 55, in wrapper 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return f(self, *a, **k) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 309, in _get_resource_provider 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager resp = self.get("/resource_providers/%s" % uuid) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 209, in get 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager endpoint_filter=self.ks_filter, raise_exc=False, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 758, in get 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self.request(url, 'GET', **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return wrapped(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 491, in request 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager auth_headers = self.get_auth_headers(auth) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 818, in get_auth_headers 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return auth.get_headers(self, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/plugin.py", line 90, in get_headers 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager token = self.get_token(session) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 90, in get_token 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self.get_access(session).auth_token 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 136, in get_access 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self.auth_ref = self.get_auth_ref(session) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 198, in get_auth_ref 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self._plugin.get_auth_ref(session, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager authenticated=False, log=False, **rkwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 766, in post 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self.request(url, 'POST', **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return wrapped(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 655, in request 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager raise exceptions.from_response(resp, method, url) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager InternalServerError: Internal Server Error (HTTP 500) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager

检查Nova服务时,nova-compute出现xxx怎么解决?求大神指点!菇凉在线等

root@ubuntu:~# nova-manage service list Binary Host Zone Status State Updated At nova-consoleauth ubuntu nova enabled :-) 2015-08-06 12:42:18 nova-scheduler ubuntu nova enabled :-) 2015-08-06 12:42:18 nova-compute ubuntu nova enabled XXX None nova-network ubuntu nova enabled :-) 2015-08-06 12:42:19

kolla安装单节点openstack ocata版本过程中报错

kolla-ansible deploy /home/all-in-one一安装一大半成功了,到nova-compute就卡住了。对ansible不太熟悉,这种错误怎么解决呢,求教 相关配置文件./ansible/roles/nova/tasks/simple_cell_setup.yml TASK [nova : Waiting for nova-compute service up] ****************************** FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (20 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (19 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (18 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (17 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (16 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (15 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (14 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (13 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (12 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (11 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (10 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (9 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (8 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (7 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (6 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (5 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (4 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (3 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (2 retries left). FAILED – RETRYING: TASK: nova : Waiting for nova-compute service up (1 retries left). fatal: [localhost -> localhost]: FAILED! => {“attempts”: 20, “changed”: false, “cmd”: [“docker”, “exec”, “kolla_toolbox”, “openstack”, “–os-interface”, “internal”, “–os-auth-url”, “http://10.0.0.100:35357/v3”, “–os-identity-api-version”, “3”, “–os-project-domain-name”, “default”, “–os-tenant-name”, “admin”, “–os-username”, “admin”, “–os-password”, “zyops”, “–os-user-domain-name”, “default”, “compute”, “service”, “list”, “-f”, “json”, “–service”, “nova-compute”], “delta”: “0:00:01.242621”, “end”: “2017-03-24 20:31:43.880186”, “failed”: true, “rc”: 0, “start”: “2017-03-24 20:31:42.637565”, “stderr”: “”, “stdout”: “[]”, “stdout_lines”: [“[]”], “warnings”: []} NO MORE HOSTS LEFT ************************************************************* to retry, use: –limit @/usr/share/kolla-ansible/ansible/site.retry PLAY RECAP ********************************************************************* localhost : ok=145 changed=0 unreachable=0 failed=1 Command failed ansible-playbook -i /usr/share/kolla-ansible/ansible/inventory/all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e action=deploy /usr/share/kolla-ansible/ansible/site.yml

openstack-在centos7上源码安装ocata版,创建实例时,报401的错,求助!

环境:centos7 + ocata版本 + OpenPower 服务器 tail -f /var/log/nova/compute.log 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager [req-48ad4de2-cfb6-4166-94bb-cb5525ce6f76 8a19a07251864ea79ec9e21c5ded1737 40a3463da5d744dd90868e2436d2da94 - - -] Instance failed network setup after 1 attempt(s): Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-f162b5bb-209d-4fa7-8c21-1f24c439ee11) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager Traceback (most recent call last): 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1403, in _allocate_network_async 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager bind_host_id=bind_host_id) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 873, in allocate_for_instance 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager bind_host_id, dhcp_options, available_macs) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 992, in _update_ports_for_instance 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager vif.destroy() 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager self.force_reraise() 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager six.reraise(self.type_, self.value, self.tb) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 962, in _update_ports_for_instance 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager port_client, instance, port_id, port_req_body) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 427, in _update_port 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager port_response = port_client.update_port(port_id, port_req_body) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 99, in wrapper 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager ret = obj(*args, **kwargs) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 780, in update_port 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager return self.put(self.port_path % (port), body=body) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 99, in wrapper 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager ret = obj(*args, **kwargs) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 370, in put 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager headers=headers, params=params) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 99, in wrapper 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager ret = obj(*args, **kwargs) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 338, in retry_request 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager headers=headers, params=params) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/network/neutronv2/api.py", line 99, in wrapper 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager ret = obj(*args, **kwargs) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 289, in do_request 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager resp, replybody = self.httpclient.do_request(action, method, body=body) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 314, in do_request 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager return self.request(url, method, **kwargs) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/neutronclient/client.py", line 302, in request 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager resp = super(SessionClient, self).request(*args, **kwargs) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 189, in request 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager return self.session.request(url, method, **kwargs) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 573, in request 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager auth_headers = self.get_auth_headers(auth) 2017-11-02 09:47:06.248 5999 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 900, in get_auth_headers

在检查服务时,nova-compute出错,nova-compute root nova enabled XXX None

root@root:~# nova-manage service list nova-compute root nova enabled XXX None nova-consoleauth root nova enabled :-) 2015-08-06 01:43:01 nova-network root nova enabled :-) 2015-08-06 01:43:03 查看日志,里面是这样显示的: 2015-08-06 09:20:53 CRITICAL nova [-] Cannot recv data: Connection reset by peer 2015-08-06 09:20:54 AUDIT nova.service [-] Starting compute node (version 2012.1.4-LOCALBRANCH:LOCALREVISION) 请问各路大神,这个应该怎么解决!

openstack验证nova时执行openstack host list命令报错

``` ``` 这是执行命令后报的错误 The server is currently unavailable. Please try again at a later time.<br /><br /> (HTTP 503) (Request-ID: req-cc86ee4c-b854-4577-ba9a-57190d2cf39c) 这是日志中报的错误 2019-04-09 20:37:56.792 1778 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}} 2019-04-09 20:37:56.793 1778 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Identity server rejected authorization necessary to fetch token data 这是我改的配置文件(基于n版) [root@bogon ~]# egrep "^[a-z]" /etc/nova/nova.conf use_neutron=True firewall_driver = nova.virt.firewall.NoopFirewallDriver enabled_apis=osapi_compute,metadata auth_strategy=keystone connection=mysql+pymysql://nova:nova@192.168.131.129/nova_api connection=mysql+pymysql://nova:nova@192.168.131.129/nova api_servers=http://192.168.131.129:9292 auth_uri = http://192.168.131.129:5000 auth_url = http://192.168.131.129:35357 memcached_servers = 192.168.131.129:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = nova password = nova lock_path=/var/lib/nova/tmp transport_url=rabbit://openstack:openstack@192.168.131.129 vncserver_listen=0.0.0.0 vncserver_proxyclient_address=192.168.131.129 我确定nova的用户和密码是正确的,以及服务也创建成功了的 ```

安装OpenStack,服务器硬盘容量规划问题

关于OpenStack安装有一些问题: 1. 部署OpenStack,1 x Block Storage Node(Cinder)和 2 x Object Storage Node(Swift)是必须的吗? 1. 我看官方文档说这些Node是optional的,那么如果不提供这两个node,那么Cinder和Swift是安装在Controller Node中的吗?还是说压根就没有它们了?那么OpenStack是用什么东西替代它们呢? 1. Block Storage Node对物理设备有什么特别要求? 1. Object Storage Node对物理设备有什么特别要求? 1. 如果部署了Block Storage Node和Object Storage Node,那么应该怎样规划Controller Node和Computer Node的硬盘容量? 1. 如果没有Block Storage Node和Object Storage Node,那么应该怎样规划Controller Node和Computer Node的硬盘容量? 1. 欢迎分享一些你们遇到过的坑。

openstack 登陆不上dashboard 500

systemctl restart httpd memcached重启正常无报错,但是在网页访问 http://192.168.10.11/dashboard就报错了!! 网页显示内容: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. **error_log:** [Tue Apr 16 12:12:21.668699 2019] [suexec:notice] [pid 17748] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue Apr 16 12:12:21.683331 2019] [auth_digest:notice] [pid 17748] AH01757: generating secret for digest authentication ... [Tue Apr 16 12:12:21.684405 2019] [lbmethod_heartbeat:notice] [pid 17748] AH02282: No slotmem from mod_heartmonitor [Tue Apr 16 12:12:21.692264 2019] [mpm_prefork:notice] [pid 17748] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations [Tue Apr 16 12:12:21.692312 2019] [core:notice] [pid 17748] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Tue Apr 16 12:12:44.497412 2019] [:error] [pid 17753] WARNING:root:Use of this 'djano.wsgi' file has been deprecated since the Rocky release in favor of 'wsgi.py' in the 'openstack_dashboard' module. This file is a legacy naming from before Django 1.4 and an importable 'wsgi.py' is now the default. This file will be removed in the T release cycle. [Tue Apr 16 12:12:45.992718 2019] [:error] [pid 17753] [remote 192.168.10.1:68] mod_wsgi (pid=17753): Target WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' cannot be loaded as Python module. [Tue Apr 16 12:12:45.992801 2019] [:error] [pid 17753] [remote 192.168.10.1:68] mod_wsgi (pid=17753): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'. [Tue Apr 16 12:12:45.992834 2019] [:error] [pid 17753] [remote 192.168.10.1:68] Traceback (most recent call last): [Tue Apr 16 12:12:45.992852 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi", line 40, in <module> [Tue Apr 16 12:12:45.992936 2019] [:error] [pid 17753] [remote 192.168.10.1:68] application = get_wsgi_application() [Tue Apr 16 12:12:45.992949 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application [Tue Apr 16 12:12:45.992985 2019] [:error] [pid 17753] [remote 192.168.10.1:68] django.setup(set_prefix=False) [Tue Apr 16 12:12:45.992994 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/django/__init__.py", line 22, in setup [Tue Apr 16 12:12:45.993032 2019] [:error] [pid 17753] [remote 192.168.10.1:68] configure_logging(settings.LOGGING_CONFIG, settings.LOGGING) [Tue Apr 16 12:12:45.993042 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 56, in __getattr__ [Tue Apr 16 12:12:45.993109 2019] [:error] [pid 17753] [remote 192.168.10.1:68] self._setup(name) [Tue Apr 16 12:12:45.993118 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 41, in _setup [Tue Apr 16 12:12:45.993131 2019] [:error] [pid 17753] [remote 192.168.10.1:68] self._wrapped = Settings(settings_module) [Tue Apr 16 12:12:45.993137 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/django/conf/__init__.py", line 110, in __init__ [Tue Apr 16 12:12:45.993146 2019] [:error] [pid 17753] [remote 192.168.10.1:68] mod = importlib.import_module(self.SETTINGS_MODULE) [Tue Apr 16 12:12:45.993154 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module [Tue Apr 16 12:12:45.993191 2019] [:error] [pid 17753] [remote 192.168.10.1:68] __import__(name) [Tue Apr 16 12:12:45.993199 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/share/openstack-dashboard/openstack_dashboard/settings.py", line 460, in <module> [Tue Apr 16 12:12:45.993304 2019] [:error] [pid 17753] [remote 192.168.10.1:68] '.secret_key_store')) [Tue Apr 16 12:12:45.993313 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/horizon/utils/secret_key.py", line 70, in generate_or_read_from_file [Tue Apr 16 12:12:45.993380 2019] [:error] [pid 17753] [remote 192.168.10.1:68] key = read_from_file(key_file) [Tue Apr 16 12:12:45.993398 2019] [:error] [pid 17753] [remote 192.168.10.1:68] File "/usr/lib/python2.7/site-packages/horizon/utils/secret_key.py", line 52, in read_from_file [Tue Apr 16 12:12:45.993413 2019] [:error] [pid 17753] [remote 192.168.10.1:68] with open(key_file, 'r') as f: [Tue Apr 16 12:12:45.993428 2019] [:error] [pid 17753] [remote 192.168.10.1:68] IOError: [Errno 13] Permission denied: '/usr/share/openstack-dashboard/openstack_dashboard/local/.secret_key_store' **acces_log:** 192.168.10.128 - - [16/Apr/2019:12:12:30 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/allocations HTTP/1.1" 200 54 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:12:38 +0800] "GET /resource_providers?in_tree=96408690-7cca-44ad-b187-13ee8fadbca6 HTTP/1.1" 200 807 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.1 - - [16/Apr/2019:12:12:43 +0800] "GET /dashboard HTTP/1.1" 500 527 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36" 192.168.10.128 - - [16/Apr/2019:12:12:45 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/inventories HTTP/1.1" 200 395 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:12:48 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/aggregates HTTP/1.1" 200 53 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:12:48 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/traits HTTP/1.1" 200 368 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:12:49 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/inventories HTTP/1.1" 200 395 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:31 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/allocations HTTP/1.1" 200 54 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:31 +0800] "GET /resource_providers?in_tree=96408690-7cca-44ad-b187-13ee8fadbca6 HTTP/1.1" 200 807 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:31 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/inventories HTTP/1.1" 200 395 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:32 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/aggregates HTTP/1.1" 200 53 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:32 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/traits HTTP/1.1" 200 368 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5" 192.168.10.128 - - [16/Apr/2019:12:13:32 +0800] "GET /resource_providers/96408690-7cca-44ad-b187-13ee8fadbca6/inventories HTTP/1.1" 200 395 "-" "nova-compute keystoneauth1/3.10.0 python-requests/2.19.1 CPython/2.7.5"

openstack ssh登录远程实例

各位大神们,本人刚接触openstack,有好多问题还是不明白,请求各位大神们帮忙。在此谢谢各位了! 问题就是:现在有两台机器:ip分别为192.168.8.175、192.168.8.147,其中192.168.8.175是controller+compute节点,192.168.8.147是一个compute节点,分给虚拟机的ip网段是203.0.113.0/24.现在在这两个节点上都可以创建虚拟机,在dashboard也可以看到,也可以通过VNC控制台登录。但是在controller节点上通过ssh无法登录compute节点上虚拟机,但可以通过ssh登录controller节点上虚拟机,现在我想在controller节点上通过ssh登录compute节点上虚拟机该如何设置?从controller节点ssh登录compute上名为“compute_test_1”,ip为203.0.113.5的虚拟机,报错: ssh: connect to host 203.0.113.5 port 22: No route to host

fuel openstack安装时错误。

求助各位大侠!我用fuel openstack6.0上在2台联想think stationS30和1台HP DL580服务器上安装实验环境。其中HP DL580是compute节点,其他两个工作站分别是master和control节点,整个安装过程都没有报错,openstack也安装成功,其master的管理页面也是正常打开,唯一就是在control节点的web页面中Hypervisor中看不到compute节点的计算资源,通过查看compue节点的openvswitch-agent和compute的log日志,出现了192.168.0.2:5672 closed connection.check login credentials :socked closed错误。刚开始以为![图片说明](https://img-ask.csdn.net/upload/201609/04/1473000976_128951.jpg)是用户名和密码问题,就分别查看compute和control节点中rabbitMQ的配置文件,发现用户名和密码都一样。这个问题好几天都解决不了,跪求各位高人帮忙指点迷津。错误日志如下图:

openstack创建实例成功但是启动实例报错

以下是nova报错详情: ``` /var/log/nova/nova-compute.log:2020-02-11 08:43:18.893 1327 ERROR nova.virt.libvirt.guest [req-ecfa9ec9-82fd-42dd-838f-ff5938af32e7 a7756266208f439bbb8324fb22853932 e7af6fe8f68647ab8010beaa7cb440ed - - -] Error launching a defined domain with XML: <domain type='kvm'> /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [req-ecfa9ec9-82fd-42dd-838f-ff5938af32e7 a7756266208f439bbb8324fb22853932 e7af6fe8f68647ab8010beaa7cb440ed - - -] [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] Instance failed to spawn /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] Traceback (most recent call last): /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2218, in _build_resources /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] except Exception: /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] # saved in that function to prevent races. /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2779, in spawn /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] block_device_info=block_device_info) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4923, in _create_domain_and_network /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] xml, pause=pause, power_on=power_on) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4854, in _create_domain /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] guest.launch(pause=pause) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 142, in launch /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] self._encoded_xml, errors='ignore') /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] self.force_reraise() /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] six.reraise(self.type_, self.value, self.tb) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 137, in launch /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] return self._domain.createWithFlags(flags) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 186, in doit /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] result = proxy_call(self._autowrap, f, *args, **kwargs) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 144, in proxy_call /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] rv = execute(f, *args, **kwargs) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 125, in execute /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] six.reraise(c, e, tb) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 83, in tworker /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] rv = meth(*args, **kwargs) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1110, in createWithFlags /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] libvirtError: 内部错误:qemu unexpectedly closed the monitor: 2020-02-11T00:43:18.668387Z qemu-kvm: -drive file=/var/lib/nova/instances/a26fb462-a721-45eb-8eaa-776ec5da3b23/disk,format=qcow2,if=none,id=drive-virtio-disk0,cache=none: Could not open '/var/lib/nova/instances/a26fb462-a721-45eb-8eaa-776ec5da3b23/disk': Permission denied /var/log/nova/nova-compute.log:2020-02-11 08:43:18.895 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [req-ecfa9ec9-82fd-42dd-838f-ff5938af32e7 a7756266208f439bbb8324fb22853932 e7af6fe8f68647ab8010beaa7cb440ed - - -] [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] Unexpected build failure, not rescheduling build. /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] Traceback (most recent call last): /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 1926, in _do_build_and_run_instance /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2116, in _build_and_run_instance /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] exception.ImageNotActive, /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 0: ordinal not in range(128) /var/log/nova/nova-compute.log:2020-02-11 08:43:19.145 1327 ERROR nova.compute.manager [instance: a26fb462-a721-45eb-8eaa-776ec5da3b23] ``` dashboard报错: ![图片说明](https://img-ask.csdn.net/upload/202002/11/1581385833_715215.png) ![图片说明](https://img-ask.csdn.net/upload/202002/11/1581385890_574951.png) 网上说了很多办法都没有用,个人初学小白,有没有路过的大神指点一二。万分感谢!

[Openstack] 实例创建成功,但是无法启动,看日志也没有报错

安装的是ocata版,完全按照官网教程安装,能成功创建实例,但是实例启动一直卡在首屏。使用的是cirros镜像,使用其他镜像也是这个样子。新手一枚,求大神指点。 ![实例创建成功](https://img-ask.csdn.net/upload/201704/05/1491373558_34964.png) ![实例运行界面](https://img-ask.csdn.net/upload/201704/05/1491373587_6132.png) 实例配置 ``` <domain type='kvm' id='3'> <name>instance-00000006</name> <uuid>ae16fac3-d418-497a-9959-4f2de116ad87</uuid> <metadata> <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0"> <nova:package version="15.0.0-1.el7"/> <nova:name>test</nova:name> <nova:creationTime>2017-04-04 17:53:38</nova:creationTime> <nova:flavor name="m1.nano"> <nova:memory>64</nova:memory> <nova:disk>1</nova:disk> <nova:swap>0</nova:swap> <nova:ephemeral>0</nova:ephemeral> <nova:vcpus>1</nova:vcpus> </nova:flavor> <nova:owner> <nova:user uuid="c4eadda47b5e41e9940dd418962b0ab8">admin</nova:user> <nova:project uuid="ac2906f775a24cb48b1040c22f7d07ec">admin</nova:project> </nova:owner> <nova:root type="image" uuid="c92a6bae-b1a0-4296-af5c-a6b34189c0eb"/> </nova:instance> </metadata> <memory unit='KiB'>65536</memory> <currentMemory unit='KiB'>65536</currentMemory> <vcpu placement='static'>1</vcpu> <cputune> <shares>1024</shares> </cputune> <resource> <partition>/machine</partition> </resource> <sysinfo type='smbios'> <system> <entry name='manufacturer'>RDO</entry> <entry name='product'>OpenStack Compute</entry> <entry name='version'>15.0.0-1.el7</entry> <entry name='serial'>4dd6358f-1ebd-4634-9f0f-0d26d3dd4993</entry> <entry name='uuid'>ae16fac3-d418-497a-9959-4f2de116ad87</entry> <entry name='family'>Virtual Machine</entry> </system> </sysinfo> <os> <type arch='x86_64' machine='pc-i440fx-rhel7.3.0'>hvm</type> <boot dev='hd'/> <smbios mode='sysinfo'/> </os> <features> <acpi/> <apic/> </features> <cpu mode='host-model'> <model fallback='allow'/> <topology sockets='1' cores='1' threads='1'/> </cpu> <clock offset='utc'> <timer name='pit' tickpolicy='delay'/> <timer name='rtc' tickpolicy='catchup'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none'/> <source file='/var/lib/nova/instances/ae16fac3-d418-497a-9959-4f2de116ad87/disk'/> <backingStore type='file' index='1'> <format type='raw'/> <source file='/var/lib/nova/instances/_base/3e67c6c692a9b432d2f74fc5bc7c22e35b7e1cfc'/> <backingStore/> </backingStore> <target dev='vda' bus='virtio'/> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <controller type='usb' index='0'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <interface type='bridge'> <mac address='fa:16:3e:9a:3e:07'/> <source bridge='brqf28be70d-9a'/> <target dev='tap3a7df40b-a1'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='file'> <source path='/var/lib/nova/instances/ae16fac3-d418-497a-9959-4f2de116ad87/console.log'/> <target port='0'/> <alias name='serial0'/> </serial> <serial type='pty'> <source path='/dev/pts/1'/> <target port='1'/> <alias name='serial1'/> </serial> <console type='file'> <source path='/var/lib/nova/instances/ae16fac3-d418-497a-9959-4f2de116ad87/console.log'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <input type='tablet' bus='usb'> <alias name='input0'/> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'> <alias name='input1'/> </input> <input type='keyboard' bus='ps2'> <alias name='input2'/> </input> <graphics type='vnc' port='5900' autoport='yes' listen='0.0.0.0' keymap='en-us'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='cirrus' vram='16384' heads='1' primary='yes'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <stats period='10'/> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </memballoon> </devices> <seclabel type='none' model='none'/> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+107:+107</label> <imagelabel>+107:+107</imagelabel> </seclabel> </domain> ``` 实例运行日志 ``` 2017-04-04 17:53:38.328+0000: starting up libvirt version: 2.0.0, package: 10.el7_3.5 (CentOS BuildSystem <http://bugs.centos.org>, 2017-03-03-02:09:45, c1bm.rdu2.centos.org), qemu version: 2.6.0 (qemu-kvm-ev-2.6.0-28.el7_3.6.1), hostname: openstack2 LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin QEMU_AUDIO_DRV=none /usr/libexec/qemu-kvm -name guest=instance-00000006,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-3-instance-00000006/master-key.aes -machine pc-i440fx-rhel7.3.0,accel=kvm,usb=off -cpu Haswell-noTSX,+vme,+ds,+ss,+ht,+vmx,+osxsave,+f16c,+rdrand,+hypervisor,+arat,+tsc_adjust,+xsaveopt,+pdpe1gb,+abm -m 64 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid ae16fac3-d418-497a-9959-4f2de116ad87 -smbios 'type=1,manufacturer=RDO,product=OpenStack Compute,version=15.0.0-1.el7,serial=4dd6358f-1ebd-4634-9f0f-0d26d3dd4993,uuid=ae16fac3-d418-497a-9959-4f2de116ad87,family=Virtual Machine' -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-3-instance-00000006/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-shutdown -boot strict=on -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive file=/var/lib/nova/instances/ae16fac3-d418-497a-9959-4f2de116ad87/disk,format=qcow2,if=none,id=drive-virtio-disk0,cache=none -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 -netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=28 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:9a:3e:07,bus=pci.0,addr=0x3 -add-fd set=2,fd=30 -chardev file,id=charserial0,path=/dev/fdset/2,append=on -device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 -device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0,bus=usb.0,port=1 -vnc 0.0.0.0:0 -k en-us -device cirrus-vga,id=video0,bus=pci.0,addr=0x2 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5 -msg timestamp=on char device redirected to /dev/pts/1 (label charserial1) warning: host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21] warning: host doesn't support requested feature: CPUID.01H:EDX.ht [bit 28] warning: host doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5] warning: host doesn't support requested feature: CPUID.01H:ECX.osxsave [bit 27] warning: host doesn't support requested feature: CPUID.07H:EBX.erms [bit 9] warning: host doesn't support requested feature: CPUID.80000001H:EDX.pdpe1gb [bit 26] ```

openstack云主机起不来,具体看下边问题和日志

``` 456 ID 77553db8-8258-4e53-b63c-1e79271ab089 状态 错误 可用域 nova 已创建 2019年4月11日 21:57 从创建以来 0 分钟 主机 - 故障 消息 No valid host was found. There are not enough hosts available. 编码 500 详情 File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 392, in build_instances context, request_spec, filter_properties) File "/usr/lib/python2.7/site-packages/nova/conductor/manager.py", line 436, in _schedule_instances hosts = self.scheduler_client.select_destinations(context, spec_obj) File "/usr/lib/python2.7/site-packages/nova/scheduler/utils.py", line 372, in wrapped return func(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 51, in select_destinations return self.queryclient.select_destinations(context, spec_obj) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method return getattr(self.instance, __name)(*args, **kwargs) File "/usr/lib/python2.7/site-packages/nova/scheduler/client/query.py", line 32, in select_destinations return self.scheduler_rpcapi.select_destinations(context, spec_obj) File "/usr/lib/python2.7/site-packages/nova/scheduler/rpcapi.py", line 121, in select_destinations return cctxt.call(ctxt, 'select_destinations', **msg_args) File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 158, in call retry=self.retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 90, in _send timeout=timeout, retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 470, in send retry=retry) File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 461, in _send raise result 已创建 2019年4月11日 21:57 规格 云主机类型名称 云主机1型 云主机类型ID 8eda3b60-4832-4ab0-8f9a-3ef9604b9b8e 内存 2GB VCPU数量 3 VCPU 磁盘 20GB 临时磁盘 2GB IP地址 外网 10.0.0.109 Sharednet1 192.168.200.111 安全组 default 允许 IPv4 from default 允许 IPv4 icmp from default 允许 IPv4 icmp to 0.0.0.0/0 允许 IPv6 to ::/0 允许 IPv4 to 0.0.0.0/0 允许 IPv6 from default 元数据 密钥对名称 无 镜像名称 CentOS6.5 镜像ID 873a7d1e-16d2-49e3-85c1-60e880253dcc ``` ``` 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [req-4b1cd3d0-1b63-4f3d-a101-482dc9b7cdc2 73392af71b774eae8ec398adf423d560 b9670c01673c47fa8c24e854fdf9f737 - - -] [instance: 77553db8-8258-4e53-b63c-1e79271ab089] Instance failed to spawn 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] Traceback (most recent call last): 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2218, in _build_resources 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] yield resources 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2064, in _build_and_run_instance 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] block_device_info=block_device_info) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2780, in spawn 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] block_device_info=block_device_info) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4924, in _create_domain_and_network 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] xml, pause=pause, power_on=power_on) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4855, in _create_domain 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] guest.launch(pause=pause) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 142, in launch 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] self._encoded_xml, errors='ignore') 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] self.force_reraise() 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] six.reraise(self.type_, self.value, self.tb) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/guest.py", line 137, in launch 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] return self._domain.createWithFlags(flags) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 183, in doit 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] result = proxy_call(self._autowrap, f, *args, **kwargs) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 141, in proxy_call 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] rv = execute(f, *args, **kwargs) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 122, in execute 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] six.reraise(c, e, tb) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 80, in tworker 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] rv = meth(*args, **kwargs) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1110, in createWithFlags 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self) 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] libvirtError: internal error: qemu unexpectedly closed the monitor: 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] (process:51935): GLib-WARNING **: 06:57:57.413: gmem.c:489: custom memory allocation vtable not supported 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] 2019-04-11T21:57:57.529392Z qemu-kvm: CPU feature arat not found 2019-04-12 06:57:57.825 10877 ERROR nova.compute.manager [instance: 77553db8-8258-4e53-b63c-1e79271ab089] ```

pycharm远程调试openstack

搭建了一套OpenStack单机环境,自己本机安装了pycharm专业版。想进行远程调试,pycharm进行了remote_debug 配置,并且自己用一个demo脚本进行了测试,远程可以单步调试。但是当对nova-compute组件调试的时候,一点击单步调试按钮就停止调试,控制台报如下错: Could not find thread pid_22072_id_140464812642256 Available: ['pid_22072_id_140464797811344', 'pid_22072_id_140464586618256', 'pid_22072_id_140464586743952', 'pid_22072_id_140464586618768', 'pid_22072_id_140464586620048']

openstack创建虚拟机时出问题

opentack创建虚拟机做子网,按照官网提示操作后(输出显示是创建成功的),但控制节点大概在几秒后断开连接 检查控制节点网络发现多出两个网卡 ![图片说明](https://img-ask.csdn.net/upload/202004/18/1587202889_452615.png) ping网关,直接不通。检查路由,发现没有br0出的路由 ![图片说明](https://img-ask.csdn.net/upload/202004/18/1587203012_327419.png)

openstack 用deshboard创建实例失败

环境是ubuntu12.04 server 3个节点,compute node,controller node,block storage node,网络服务用到是nova-network 每台服务器一个网卡,eth0 192.168.1.xxx, 然后又虚拟了一个ip eth0:0 10.0.0.xxx 接下来完全安装openstack官网的安装部署步骤来的,在安装完以后用deshboard登录,创建实例的时候出现错误,错误信息如下: 云主机概况 信息 名称 a ID 0eb442be-8ad3-4184-b8c4-a8d1027b4ccb 状态 Error 可用域 nova 已创建 七月 3, 2014, 6:19 a.m. 正常运行时间 16 分钟 故障 消息 Remote error: ProcessExecutionError Unexpected error while running command. Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=["/etc/nova/nova.conf"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/ 编码 500 详情 File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 296, in decorated_function return function(self, context, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2075, in run_instance do_run_instance() File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 249, in inner return f(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2074, in do_run_instance legacy_bdm_in_spec) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1207, in _run_instance notify("error", fault=e) # notify that build failed File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1191, in _run_instance instance, image_meta, legacy_bdm_in_spec) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1355, in _build_instance filter_properties, bdms, legacy_bdm_in_spec) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1401, in _reschedule_or_error self._log_original_error(exc_info, instance_uuid) File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1396, in _reschedule_or_error bdms, requested_networks) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2127, in _shutdown_instance self._try_deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2086, in _try_deallocate_network self._set_instance_error_state(context, instance['uuid']) File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 68, in __exit__ six.reraise(self.type_, self.value, self.tb) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2081, in _try_deallocate_network self._deallocate_network(context, instance, requested_networks) File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1775, in _deallocate_network context, instance, requested_networks=requested_networks) File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 94, in wrapped return func(self, context, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 318, in deallocate_for_instance requested_networks=requested_networks) File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 190, in deallocate_for_instance return cctxt.call(ctxt, 'deallocate_for_instance', **kwargs) File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 150, in call wait_for_reply=True, timeout=timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send timeout=timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 412, in send return self._send(target, ctxt, message, wait_for_reply, timeout) File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 405, in _send raise result 已创建 七月 3, 2014, 6:19 a.m. 规格 云主机类型 m1.tiny 内存 512MB 虚拟内核 1 虚拟内核 磁盘 1GB IP地址 Demo-Net 安全组 default 未定义规则。 元数据 键名称 demo-key 镜像名称 (not found) 云硬盘已连接 连接到 myVolume on vda 我个人感觉可能是network出现了问题,希望遇到过这个问题,或者能提供一些排错方法的朋友致电

fuel openstack6.0安装物理机中遇到问题

我用fuel openstack6.0上在2台联想think stationS30和1台HP DL580服务器上安装实验环境。其中HP DL580是compute节点,其他两个工作站分别是master和control节点,整个安装过程都没有报错,openstack也安装成功,其master的管理页面也是正常打开,唯一就是在control节点的web页面中Hypervisor中看不到compute节点的计算资源,通过查看compue节点的openvswitch-agent和compute的log日志,出现了192.168.0.2:5672 closed connection.check login credentials :socked closed错误。刚开始以为是用户名和密码问题,就分别查看compute和control节点中rabbitMQ的配置文件,发现用户名和密码都一样。这个问题好几天都解决不了,跪求各位高人帮忙指点迷津。错误日志如下图:![图片说明](https://img-ask.csdn.net/upload/201609/03/1472873809_594665.jpg)

openstack 云主机起不来。虚拟接口创建错误

这问题缠了我2天了,重做了好多次,刚开始以为是网络那里出错了。 可是再怎么细心还是出错,已经心灰意冷了。 我服务器当controller节点,自己的笔记本当compute节点,目前只是跟着文档 敲,然后从中出现的错误总结起来,然后解决。可这个问题具体是哪错,实在是不知道。虚拟接口创建失败。 求大神帮帮我。。。

kolla安装单节点openstack rocky版本过程中报错。

kolla-ansible prechecks -i /openstack/kolla-deploy/all-in-one验证部署状态 ,在验证前期准备这一过程中,报了如下错误: ``` TASK [prechecks : Checking docker SDK version] ****************************************** fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["/usr/bin/python", "-c", "import docker; print docker.__version__"], "delta": "0:00:00.456509", "end": "2020-03-03 11:00:50.188186", "failed_when_result": true, "rc": 0, "start": "2020-03-03 11:00:49.731677", "stderr": "", "stderr_lines": [], "stdout": "1.10.6", "stdout_lines": ["1.10.6"]} fatal: [allinone]: FAILED! => {"changed": false, "cmd": ["/usr/bin/python", "-c", "import docker; print docker.__version__"], "delta": "0:00:00.368353", "end": "2020-03-03 11:00:50.167966", "failed_when_result": true, "rc": 0, "start": "2020-03-03 11:00:49.799613", "stderr": "", "stderr_lines": [], "stdout": "1.10.6", "stdout_lines": ["1.10.6"]} ``` 一开始百度到的解决办法是,kolla版本与docker-python版本不兼容。于是我把docker-python版本需要升级到高版本的,但是升级了依旧是报这个错误。不知道是什么原因,太难了

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

人工智能-计算机视觉实战之路(必备算法+深度学习+项目实战)

系列课程主要分为3大阶段:(1)首先掌握计算机视觉必备算法原理,结合Opencv进行学习与练手,通过实际视项目进行案例应用展示。(2)进军当下最火的深度学习进行视觉任务实战,掌握深度学习中必备算法原理与网络模型架构。(3)结合经典深度学习框架与实战项目进行实战,基于真实数据集展开业务分析与建模实战。整体风格通俗易懂,项目驱动学习与就业面试。 建议同学们按照下列顺序来进行学习:1.Python入门视频课程 2.Opencv计算机视觉实战(Python版) 3.深度学习框架-PyTorch实战/人工智能框架实战精讲:Keras项目 4.Python-深度学习-物体检测实战 5.后续实战课程按照自己喜好选择就可以

linux2.6.1内核源码注释

包含LINUX内核同步、信号、内存、调度、文件系统、网络系统、时钟等部分的源码注释。前后历时三年,算是干货。

Python可以这样学(第四季:数据分析与科学计算可视化)

董付国老师系列教材《Python程序设计(第2版)》(ISBN:9787302436515)、《Python可以这样学》(ISBN:9787302456469)配套视频,在教材基础上又增加了大量内容,通过实例讲解numpy、scipy、pandas、statistics、matplotlib等标准库和扩展库用法。

u-boot-2015.07.tar.bz2

uboot-2015-07最新代码,喜欢的朋友请拿去

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

MySQL 8.0.19安装教程(windows 64位)

话不多说直接开干 目录 1-先去官网下载点击的MySQL的下载​ 2-配置初始化的my.ini文件的文件 3-初始化MySQL 4-安装MySQL服务 + 启动MySQL 服务 5-连接MySQL + 修改密码 先去官网下载点击的MySQL的下载 下载完成后解压 解压完是这个样子 配置初始化的my.ini文件的文件 ...

零基础学C#编程—C#从小白到大咖

本课程从初学者角度出发,提供了C#从入门到成为程序开发高手所需要掌握的各方面知识和技术。 【课程特点】 1 由浅入深,编排合理; 2 视频讲解,精彩详尽; 3 丰富实例,轻松易学; 4 每章总结配有难点解析文档。 15大章节,228课时,1756分钟与你一同进步!

微信公众平台开发入门

本套课程的设计完全是为初学者量身打造,课程内容由浅入深,课程讲解通俗易懂,代码实现简洁清晰。通过本课程的学习,学员能够入门微信公众平台开发,能够胜任企业级的订阅号、服务号、企业号的应用开发工作。 通过本课程的学习,学员能够对微信公众平台有一个清晰的、系统性的认识。例如,公众号是什么,它有什么特点,它能做什么,怎么开发公众号。 其次,通过本课程的学习,学员能够掌握微信公众平台开发的方法、技术和应用实现。例如,开发者文档怎么看,开发环境怎么搭建,基本的消息交互如何实现,常用的方法技巧有哪些,真实应用怎么开发。

java jdk 8 帮助文档 中文 文档 chm 谷歌翻译

JDK1.8 API 中文谷歌翻译版 java帮助文档 JDK API java 帮助文档 谷歌翻译 JDK1.8 API 中文 谷歌翻译版 java帮助文档 Java最新帮助文档 本帮助文档是使用谷

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

编程实现学生基本信息管理程序

编程实现学生基本信息管理程序。学生基本信息包括:学号、姓名、性别、年龄、班级、学院、专业等。具体实现的管理功能如下: (1) 输入并显示多个学生的基本信息; (2) 可根据需要实现学生信息的添加; (

机器学习实战系列套餐(必备基础+经典算法+案例实战)

机器学习实战系列套餐以实战为出发点,帮助同学们快速掌握机器学习领域必备经典算法原理并结合Python工具包进行实战应用。建议学习顺序:1.Python必备工具包:掌握实战工具 2.机器学习算法与实战应用:数学原理与应用方法都是必备技能 3.数据挖掘实战:通过真实数据集进行项目实战。按照下列课程顺序学习即可! 课程风格通俗易懂,用最接地气的方式带领大家轻松进军机器学习!提供所有课程代码,PPT与实战数据,有任何问题欢迎随时与我讨论。

YOLOv3目标检测实战:训练自己的数据集

YOLOv3是一种基于深度学习的端到端实时目标检测方法,以速度快见长。本课程将手把手地教大家使用labelImg标注和使用YOLOv3训练自己的数据集。课程分为三个小项目:足球目标检测(单目标检测)、梅西目标检测(单目标检测)、足球和梅西同时目标检测(两目标检测)。 本课程的YOLOv3使用Darknet,在Ubuntu系统上做项目演示。包括:安装Darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 Darknet是使用C语言实现的轻型开源深度学习框架,依赖少,可移植性好,值得深入探究。 除本课程《YOLOv3目标检测实战:训练自己的数据集》外,本人推出了有关YOLOv3目标检测的系列课程,请持续关注该系列的其它课程视频,包括: 《YOLOv3目标检测实战:交通标志识别》 《YOLOv3目标检测:原理与源码解析》 《YOLOv3目标检测:网络模型改进方法》 敬请关注并选择学习!

Python+OpenCV计算机视觉

Python+OpenCV计算机视觉系统全面的介绍。

土豆浏览器

土豆浏览器可以用来看各种搞笑、电影、电视剧视频

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

玩转Linux:常用命令实例指南

人工智能、物联网、大数据时代,Linux正有着一统天下的趋势,几乎每个程序员岗位,都要求掌握Linux。本课程零基础也能轻松入门。 本课程以简洁易懂的语言手把手教你系统掌握日常所需的Linux知识,每个知识点都会配合案例实战让你融汇贯通。课程通俗易懂,简洁流畅,适合0基础以及对Linux掌握不熟练的人学习; 【限时福利】 1)购课后按提示添加小助手,进答疑群,还可获得价值300元的编程大礼包! 2)本月购买此套餐加入老师答疑交流群,可参加老师的免费分享活动,学习最新技术项目经验。 --------------------------------------------------------------- 29元=掌握Linux必修知识+社群答疑+讲师社群分享会+700元编程礼包。 &nbsp;

基于STM32的电子时钟设计

时钟功能 还有闹钟功能,温湿度功能,整点报时功能 你值得拥有

Python数据清洗实战入门

本次课程主要以真实的电商数据为基础,通过Python详细的介绍了数据分析中的数据清洗阶段各种技巧和方法。

Git 实用技巧

这几年越来越多的开发团队使用了Git,掌握Git的使用已经越来越重要,已经是一个开发者必备的一项技能;但很多人在刚开始学习Git的时候会遇到很多疑问,比如之前使用过SVN的开发者想不通Git提交代码为什么需要先commit然后再去push,而不是一条命令一次性搞定; 更多的开发者对Git已经入门,不过在遇到一些代码冲突、需要恢复Git代码时候就不知所措,这个时候哪些对 Git掌握得比较好的少数人,就像团队中的神一样,在队友遇到 Git 相关的问题的时候用各种流利的操作来帮助队友于水火。 我去年刚加入新团队,发现一些同事对Git的常规操作没太大问题,但对Git的理解还是比较生疏,比如说分支和分支之间的关联关系、合并代码时候的冲突解决、提交代码前未拉取新代码导致冲突问题的处理等,我在协助处理这些问题的时候也记录各种问题的解决办法,希望整理后通过教程帮助到更多对Git操作进阶的开发者。 本期教程学习方法分为“掌握基础——稳步进阶——熟悉协作”三个层次。从掌握基础的 Git的推送和拉取开始,以案例进行演示,分析每一个步骤的操作方式和原理,从理解Git 工具的操作到学会代码存储结构、演示不同场景下Git遇到问题的不同处理方案。循序渐进让同学们掌握Git工具在团队协作中的整体协作流程。 在教程中会通过大量案例进行分析,案例会模拟在工作中遇到的问题,从最基础的代码提交和拉取、代码冲突解决、代码仓库的数据维护、Git服务端搭建等。为了让同学们容易理解,对Git简单易懂,文章中详细记录了详细的操作步骤,提供大量演示截图和解析。在教程的最后部分,会从提升团队整体效率的角度对Git工具进行讲解,包括规范操作、Gitlab的搭建、钩子事件的应用等。 为了让同学们可以利用碎片化时间来灵活学习,在教程文章中大程度降低了上下文的依赖,让大家可以在工作之余进行学习与实战,并同时掌握里面涉及的Git不常见操作的相关知识,理解Git工具在工作遇到的问题解决思路和方法,相信一定会对大家的前端技能进阶大有帮助。

计算机组成原理算法实现

计算机组成原理算法实现,能够实现定点小数的机器数表示、定点小数的变形补码加减运算、定点小数的原码一位乘法运算和浮点数的加减运算。

为linux系统设计一个简单的二级文件系统

实验目的: 通过一个简单多用户文件系统的设计,加深理解文件系统的内部功能及内部实现。 实验要求: 为linux系统设计一个简单的二级文件系统。要求做到以下几点: (1)可以实现下列几条命令(至少4条)

几率大的Redis面试题(含答案)

本文的面试题如下: Redis 持久化机制 缓存雪崩、缓存穿透、缓存预热、缓存更新、缓存降级等问题 热点数据和冷数据是什么 Memcache与Redis的区别都有哪些? 单线程的redis为什么这么快 redis的数据类型,以及每种数据类型的使用场景,Redis 内部结构 redis的过期策略以及内存淘汰机制【~】 Redis 为什么是单线程的,优点 如何解决redis的并发竞争key问题 Red...

机器学习初学者必会的案例精讲

通过六个实际的编码项目,带领同学入门人工智能。这些项目涉及机器学习(回归,分类,聚类),深度学习(神经网络),底层数学算法,Weka数据挖掘,利用Git开源项目实战等。

网络工程师小白入门--【思科CCNA、华为HCNA等网络工程师认证】

本课程适合CCNA或HCNA网络小白同志,高手请绕道,可以直接学习进价课程。通过本预科课程的学习,为学习网络工程师、思科CCNA、华为HCNA这些认证打下坚实的基础! 重要!思科认证2020年2月24日起,已启用新版认证和考试,包括题库都会更新,由于疫情原因,请关注官网和本地考点信息。题库网络上很容易下载到。

2019全国大学生数学建模竞赛C题原版优秀论文

2019全国大学生数学建模竞赛C题原版优秀论文,PDF原版论文,不是图片合成的,是可编辑的文字版。共三篇。 C044.pdf C137.pdf C308.pdf

土豆SDK(Java版)-非官方

由于土豆SDK一直建设中,最近几天抽空写了一套java的SDK。包含了现有的所有请求协议。本套SDK中仅提供了oAuth的方式(引用oAuth.net的java版示例),并没有在框架中实现,涉及到登录

Android小项目——新闻APP(源码)

Android小项目——新闻APP(源码),一个很简单的可以练手的Android Demo Ps:下载之前可以先看一下这篇文章——https://blog.csdn.net/qq_34149526/a

实用主义学Python(小白也容易上手的Python实用案例)

原价169,限时立减100元! 系统掌握Python核心语法16点,轻松应对工作中80%以上的Python使用场景! 69元=72讲+源码+社群答疑+讲师社群分享会&nbsp; 【哪些人适合学习这门课程?】 1)大学生,平时只学习了Python理论,并未接触Python实战问题; 2)对Python实用技能掌握薄弱的人,自动化、爬虫、数据分析能让你快速提高工作效率; 3)想学习新技术,如:人工智能、机器学习、深度学习等,这门课程是你的必修课程; 4)想修炼更好的编程内功,优秀的工程师肯定不能只会一门语言,Python语言功能强大、使用高效、简单易学。 【超实用技能】 从零开始 自动生成工作周报 职场升级 豆瓣电影数据爬取 实用案例 奥运冠军数据分析 自动化办公:通过Python自动化分析Excel数据并自动操作Word文档,最终获得一份基于Excel表格的数据分析报告。 豆瓣电影爬虫:通过Python自动爬取豆瓣电影信息并将电影图片保存到本地。 奥运会数据分析实战 简介:通过Python分析120年间奥运会的数据,从不同角度入手分析,从而得出一些有趣的结论。 【超人气老师】 二两 中国人工智能协会高级会员 生成对抗神经网络研究者 《深入浅出生成对抗网络:原理剖析与TensorFlow实现》一书作者 阿里云大学云学院导师 前大型游戏公司后端工程师 【超丰富实用案例】 0)图片背景去除案例 1)自动生成工作周报案例 2)豆瓣电影数据爬取案例 3)奥运会数据分析案例 4)自动处理邮件案例 5)github信息爬取/更新提醒案例 6)B站百大UP信息爬取与分析案例 7)构建自己的论文网站案例

相关热词 c#跨线程停止timer c#批量写入sql数据库 c# 自动安装浏览器 c#语言基础考试题 c# 偏移量打印是什么 c# 绘制曲线图 c#框体中的退出函数 c# 按钮透明背景 c# idl 混编出错 c#在位置0处没有任何行
立即提问