1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
| root@controller:/home/openstack# mistral-db-manage --config-file /etc/mistral/mistral.conf populate *输出结果可能为:* No handlers could be found for logger "mistral.actions.openstack.action_generator.base" *也可能会出错:* …… 2017-12-22 22:21:24.486 16802 INFO mistral.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python2.7/dist-packages/mistral/actions/openstack/mapping.json 2017-12-22 22:21:24.551 16802 INFO mistral.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python2.7/dist-packages/mistral/actions/openstack/mapping.json 2017-12-22 22:21:24.761 16802 INFO mistral.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python2.7/dist-packages/mistral/actions/openstack/mapping.json 2017-12-22 22:21:24.878 16802 INFO mistral.actions.openstack.action_generator.base [-] Processing OpenStack action mapping from file: /usr/local/lib/python2.7/dist-packages/mistral/actions/openstack/mapping.json 2017-12-22 22:21:24.883 16802 WARNING oslo_config.cfg [-] Option "auth_uri" from group "keystone_authtoken" is deprecated for removal (The auth_uri option is deprecated in favor of www_authenticate_uri and will be removed in the S release.). Its value may be silently ignored in the future. ^C2017-12-22 22:21:25.382 16802 CRITICAL Mistral [-] Unhandled error: KeyboardInterrupt 2017-12-22 22:21:25.382 16802 ERROR Mistral Traceback (most recent call last): 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/bin/mistral-db-manage", line 10, in <module> 2017-12-22 22:21:25.382 16802 ERROR Mistral sys.exit(main()) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/mistral/db/sqlalchemy/migration/cli.py", line 137, in main 2017-12-22 22:21:25.382 16802 ERROR Mistral CONF.command.func(config, CONF.command.name) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/mistral/db/sqlalchemy/migration/cli.py", line 75, in do_populate 2017-12-22 22:21:25.382 16802 ERROR Mistral action_manager.sync_db() 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/mistral/services/action_manager.py", line 80, in sync_db 2017-12-22 22:21:25.382 16802 ERROR Mistral register_action_classes() 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/mistral/services/action_manager.py", line 126, in register_action_classes 2017-12-22 22:21:25.382 16802 ERROR Mistral _register_dynamic_action_classes() 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/mistral/services/action_manager.py", line 86, in _register_dynamic_action_classes 2017-12-22 22:21:25.382 16802 ERROR Mistral actions = generator.create_actions() 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/mistral/actions/openstack/action_generator/base.py", line 143, in create_actions 2017-12-22 22:21:25.382 16802 ERROR Mistral client_method = class_.get_fake_client_method() 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/mistral/actions/openstack/base.py", line 75, in get_fake_client_method 2017-12-22 22:21:25.382 16802 ERROR Mistral return cls._get_client_method(cls._get_fake_client()) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/mistral/actions/openstack/actions.py", line 380, in _get_fake_client 2017-12-22 22:21:25.382 16802 ERROR Mistral return cls._get_client_class()(session=sess) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/ironic_inspector_client/v1.py", line 88, in __init__ 2017-12-22 22:21:25.382 16802 ERROR Mistral super(ClientV1, self).__init__(**kwargs) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/ironic_inspector_client/common/http.py", line 134, in __init__ 2017-12-22 22:21:25.382 16802 ERROR Mistral region_name=region_name) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 856, in get_endpoint 2017-12-22 22:21:25.382 16802 ERROR Mistral return auth.get_endpoint(self, **kwargs) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 212, in get_endpoint 2017-12-22 22:21:25.382 16802 ERROR Mistral service_catalog = self.get_access(session).service_catalog 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 136, in get_access 2017-12-22 22:21:25.382 16802 ERROR Mistral self.auth_ref = self.get_auth_ref(session) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 198, in get_auth_ref 2017-12-22 22:21:25.382 16802 ERROR Mistral return self._plugin.get_auth_ref(session, **kwargs) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref 2017-12-22 22:21:25.382 16802 ERROR Mistral authenticated=False, log=False, **rkwargs) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 766, in post 2017-12-22 22:21:25.382 16802 ERROR Mistral return self.request(url, 'POST', **kwargs) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner 2017-12-22 22:21:25.382 16802 ERROR Mistral return wrapped(*args, **kwargs) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 616, in request 2017-12-22 22:21:25.382 16802 ERROR Mistral resp = send(**kwargs) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 674, in _send_request 2017-12-22 22:21:25.382 16802 ERROR Mistral resp = self.session.request(method, url, **kwargs) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 508, in request 2017-12-22 22:21:25.382 16802 ERROR Mistral resp = self.send(prep, **send_kwargs) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 618, in send 2017-12-22 22:21:25.382 16802 ERROR Mistral r = adapter.send(request, **kwargs) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 440, in send 2017-12-22 22:21:25.382 16802 ERROR Mistral timeout=timeout 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 601, in urlopen 2017-12-22 22:21:25.382 16802 ERROR Mistral chunked=chunked) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/local/lib/python2.7/dist-packages/urllib3/connectionpool.py", line 380, in _make_request 2017-12-22 22:21:25.382 16802 ERROR Mistral httplib_response = conn.getresponse(buffering=True) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/httplib.py", line 1136, in getresponse 2017-12-22 22:21:25.382 16802 ERROR Mistral response.begin() 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/httplib.py", line 453, in begin 2017-12-22 22:21:25.382 16802 ERROR Mistral version, status, reason = self._read_status() 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/httplib.py", line 409, in _read_status 2017-12-22 22:21:25.382 16802 ERROR Mistral line = self.fp.readline(_MAXLINE + 1) 2017-12-22 22:21:25.382 16802 ERROR Mistral File "/usr/lib/python2.7/socket.py", line 480, in readline 2017-12-22 22:21:25.382 16802 ERROR Mistral data = self._sock.recv(self._rbufsize) 2017-12-22 22:21:25.382 16802 ERROR Mistral KeyboardInterrupt 2017-12-22 22:21:25.382 16802 ERROR Mistral
|