openstack service create error

asked 2016-02-29 03:31:51 -0500

zhuyifan gravatar image

Hello everyone.

I am trying to install OpenStack on my virtual mechine and I got a strange error just now. When I tried to use openstack service create --name keystone --description "OpenStack Identity" identitywhich guided by the official guide http://docs.openstack.org/liberty/install-guide-ubuntu/keystone-services.html (http://docs.openstack.org/liberty/ins...) the error occured.

zhuyifan@zhuyifan-openstack1:~$ openstack service create \ --name keystone --description "OpenStack Identity" identity Gateway Timeout (HTTP 504)

then I used "--debug", here is what I have got:

START with options: ['service', 'create', '--name', 'keystone', '--description', 'OpenStack Identity', 'identity', '--debug'] options: Namespace(access_token_endpoint='', auth_type='', auth_url='', cacert='', client_id='', client_secret='', cloud='', debug=True, default_domain='default', deferred_help=False, domain_id='', domain_name='', endpoint='', identity_provider='', identity_provider_url='', insecure=None, interface='', log_file=None, os_compute_api_version='', os_identity_api_version='3', os_image_api_version='', os_network_api_version='', os_object_api_version='', os_project_id=None, os_project_name=None, os_volume_api_version='', password='', project_domain_id='', project_domain_name='', project_id='', project_name='', protocol='', region_name='', scope='', service_provider_endpoint='', timing=False, token='e8c9cf7b8e3624e2b884', trust_id='', url='http://controller:35357/v3', user_domain_id='', user_domain_name='', user_id='', username='', verbose_level=3, verify=None) defaults: {'auth_type': 'token_endpoint', 'compute_api_version': '2', 'database_api_version': '1.0', 'api_timeout': None, 'baremetal_api_version': '1', 'cacert': None, 'image_api_use_tasks': False, 'floating_ip_source': 'neutron', 'key': None, 'interface': None, 'network_api_version': '2', 'image_format': 'qcow2', 'object_api_version': '1', 'image_api_version': '1', 'verify': True, 'identity_api_version': '2', 'volume_api_version': '1', 'cert': None, 'secgroup_source': 'neutron', 'dns_api_version': '2', 'disable_vendor_agent': {}} cloud cfg: {'auth_type': 'token_endpoint', 'compute_api_version': '2', 'database_api_version': '1.0', 'interface': None, 'network_api_version': '2', 'image_format': 'qcow2', 'object_api_version': '1', 'image_api_version': '1', 'verify': True, 'timing': False, 'dns_api_version': '2', 'verbose_level': 3, 'region_name': '', 'api_timeout': None, 'baremetal_api_version': '1', 'auth': {'url': 'http://controller:35357/v3', 'token': 'e8c9cf7b8e3624e2b884'}, 'default_domain': 'default', 'image_api_use_tasks': False, 'floating_ip_source': 'neutron', 'key': None, 'cacert': None, 'deferred_help': False, 'identity_api_version': '3', 'volume_api_version': '1', 'cert': None, 'secgroup_source': 'neutron', 'debug': True, 'disable_vendor_agent': {}} compute API version 2, cmd group openstack.compute.v2 network API version 2, cmd group openstack.network.v2 image API version 1, cmd group openstack.image.v1 volume API version 1, cmd group openstack.volume.v1 identity API version 3, cmd group openstack.identity.v3 object_store API version 1, cmd group openstack.object_store.v1 command: service create -> openstackclient.identity.v3.service.CreateService Auth plugin token_endpoint selected auth_type: token_endpoint Using auth plugin: token_endpoint Using parameters {'url': 'http://controller:35357/v3', 'token': 'e8c9cf7b8e3624e2b884'} Get auth_ref take_action(Namespace(columns=[], description='OpenStack Identity', disable=False, enable=False, formatter='table', max_width=0, name='keystone', prefix='', type='identity', variables=[])) Instantiating identity client: REQ: curl -g -i -X POST http://controller:35357/v3/services -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}47ec1b7c3593c899e0ca8bc7473ef5f8481c9b17" -d '{"service": {"enabled": true, "type": "identity", "description": "OpenStack Identity", "name": "keystone"}}' Starting new HTTP connection (1): 192.168.59.242 "POST http://controller:35357/v3/services HTTP/1.1" 504 1242 RESP: [504] Content-Length: 1242 Via: 1.0 topsec-6e869e90:44444 (squid/2.7.STABLE8) X-Cache: MISS from topsec-6e869e90 X-Squid-Error: ERR_DNS_FAIL 0 X-Cache-Lookup: MISS from topsec-6e869e90:44444 Server: squid/2.7.STABLE8 Connection: close Date: Mon, 29 Feb 2016 09:04:25 GMT Content-Type: text/html RESP BODY: ´íÎó£ºÄúËùÇëÇóµÄÍøÖ·£¨URL£©ÎÞ·¨»ñÈ¡

ÄúËùÇëÇóµÄÍøÖ·£¨URL£©ÎÞ·¨»ñÈ¡


µ±³¢ÊÔ¶ÁÈ¡ÒÔÏÂÍøÖ·£¨URL£©Ê±£º http://controller:35357/v3/services

·¢ÉúÁËÏÂÁеĴíÎó£º

ÎÞ·¨½«ÄúÊäÈëµÄÖ ...
(more)
edit retag flag offensive close merge delete