Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ubuntu0:~# nova service-list [75/1883]
- +----+------------------+---------+----------+---------+-------+----------------------------+-----------------+
- | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
- +----+------------------+---------+----------+---------+-------+----------------------------+-----------------+
- | 1 | nova-cert | ubuntu0 | internal | enabled | up | 2016-03-30T11:49:19.000000 | - |
- | 2 | nova-consoleauth | ubuntu0 | internal | enabled | up | 2016-03-30T11:49:14.000000 | - |
- | 3 | nova-scheduler | ubuntu0 | internal | enabled | up | 2016-03-30T11:49:19.000000 | - |
- | 4 | nova-conductor | ubuntu0 | internal | enabled | up | 2016-03-30T11:49:21.000000 | - |
- | 7 | nova-cert | ubuntu1 | internal | enabled | down | 2016-03-30T11:37:15.000000 | - |
- | 8 | nova-consoleauth | ubuntu1 | internal | enabled | down | 2016-03-30T11:37:26.000000 | - |
- | 9 | nova-scheduler | ubuntu1 | internal | enabled | down | 2016-03-30T11:37:17.000000 | - |
- | 10 | nova-conductor | ubuntu1 | internal | enabled | down | 2016-03-30T11:37:21.000000 | - |
- | 12 | nova-compute | ubuntu0 | nova | enabled | down | 2016-03-30T11:41:57.000000 | - |
- | 13 | nova-compute | ubuntu1 | nova | enabled | up | 2016-03-30T11:49:16.000000 | - |
- +----+------------------+---------+----------+---------+-------+----------------------------+-----------------+
- root@ubuntu0:~# openstack endpoint list
- +----------------------------------+--------+--------------+--------------+---------+-----------+-----------------------------------------+
- | ID | Region | Service Name | Service Type | Enabled | Interface | URL |
- +----------------------------------+--------+--------------+--------------+---------+-----------+-----------------------------------------+
- | 292b14ac42344e2c837a277dc545a0b6 | YYC0 | nova | compute | True | public | http://controller:8774/v2/%(tenant_id)s |
- | 2a6cd0c7f2f64ccba047224ad6dfc1e5 | YYC0 | glance | image | True | public | http://controller:9292 |
- | 58e692cb5cb14f6a85797e57a2aaeae7 | YYC0 | keystone0 | identity | True | internal | http://controller:5000/v2.0 |
- | 70d394e5fd684a659b916d6fa076cdb5 | YYC0 | nova | compute | True | internal | http://controller:8774/v2/%(tenant_id)s |
- | 7aa3b784080a438e9c5ab9427cf07a5e | YYC0 | keystone0 | identity | True | public | http://controller:5000/v2.0 |
- | a58b13ebff704da0bdb5667fe7da5ea6 | YYC0 | keystone0 | identity | True | admin | http://controller:35357/v2.0 |
- | ae0673362753493e997b20351551adf3 | YYC0 | nova | compute | True | admin | http://controller:8774/v2/%(tenant_id)s |
- | c7b1377434334fb7a293c244168ac7ca | YYC0 | glance | image | True | internal | http://controller:9292 |
- | c9167e60db0946ef9f1b2dfba71ca4f8 | YYC0 | glance | image | True | admin | http://controller:9292 |
- +----------------------------------+--------+--------------+--------------+---------+-----------+-----------------------------------------+
- root@ubuntu0:~# nova endpoints
- +-----------+----------------------------------+
- | glance | Value |
- +-----------+----------------------------------+
- | id | 2a6cd0c7f2f64ccba047224ad6dfc1e5 |
- | interface | public |
- | region | YYC0 |
- | region_id | YYC0 |
- | url | http://controller:9292 |
- +-----------+----------------------------------+
- +-----------+------------------------------------------------------------+
- | nova | Value |
- +-----------+------------------------------------------------------------+
- | id | 292b14ac42344e2c837a277dc545a0b6 |
- | interface | public |
- | region | YYC0 |
- | region_id | YYC0 |
- | url | http://controller:8774/v2/08c2051056494af5b4d0e89373a98230 |
- +-----------+------------------------------------------------------------+
- +-----------+----------------------------------+
- | keystone0 | Value |
- +-----------+----------------------------------+
- | id | 58e692cb5cb14f6a85797e57a2aaeae7 |
- | interface | internal |
- | region | YYC0 |
- | region_id | YYC0 |
- | url | http://controller:5000/v2.0 |
- +-----------+----------------------------------+
- root@ubuntu0:~# nova service-list
- +----+------------------+---------+----------+---------+-------+----------------------------+-----------------+
- | Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
- +----+------------------+---------+----------+---------+-------+----------------------------+-----------------+
- | 1 | nova-cert | ubuntu0 | internal | enabled | up | 2016-03-30T11:49:29.000000 | - |
- | 2 | nova-consoleauth | ubuntu0 | internal | enabled | up | 2016-03-30T11:49:34.000000 | - |
- | 3 | nova-scheduler | ubuntu0 | internal | enabled | up | 2016-03-30T11:49:29.000000 | - |
- | 4 | nova-conductor | ubuntu0 | internal | enabled | up | 2016-03-30T11:49:31.000000 | - |
- | 7 | nova-cert | ubuntu1 | internal | enabled | down | 2016-03-30T11:37:15.000000 | - |
- | 8 | nova-consoleauth | ubuntu1 | internal | enabled | down | 2016-03-30T11:37:26.000000 | - |
- | 9 | nova-scheduler | ubuntu1 | internal | enabled | down | 2016-03-30T11:37:17.000000 | - |
- | 10 | nova-conductor | ubuntu1 | internal | enabled | down | 2016-03-30T11:37:21.000000 | - |
- | 12 | nova-compute | ubuntu0 | nova | enabled | down | 2016-03-30T11:41:57.000000 | - |
- | 13 | nova-compute | ubuntu1 | nova | enabled | up | 2016-03-30T11:49:36.000000 | - |
- +----+------------------+---------+----------+---------+-------+----------------------------+-----------------+
- root@ubuntu0:~# openstack service list
- +----------------------------------+-----------+----------+
- | ID | Name | Type |
- +----------------------------------+-----------+----------+
- | 051448041adf491e8ca8fd593742c855 | glance | image |
- | 7adf7329271d4cf3b7f4614d3c448884 | nova | compute |
- | b0185de9f042492b92db182563ff3db8 | keystone0 | identity |
- +----------------------------------+-----------+----------+
- root@ubuntu0:~# glance image-list
- +--------------------------------------+-----------------------+
- | ID | Name |
- +--------------------------------------+-----------------------+
- | 6d6b9d24-7084-4fda-ad17-d04a48afe8ca | cirros |
- | 8b8c4728-2b53-4edd-8e57-c8fa3a7ee2ab | coreos-current-stable |
- +--------------------------------------+-----------------------+
- root@ubuntu0:~# nova --debug image-list
- DEBUG (session:198) REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
- INFO (connectionpool:205) Starting new HTTP connection (1): controller
- DEBUG (connectionpool:385) "GET /v3 HTTP/1.1" 200 250
- DEBUG (session:215) RESP: [200] Content-Length: 250 Vary: X-Auth-Token Keep-Alive: timeout=5, max=100 Server: Apache/2.4.7 (Ubuntu) Connection: Keep-Alive Date: Wed, 30 Mar 2016 11:49:59 GMT x-openstack-$
- equest-id: req-177e94ca-bdba-42b5-b9b2-68804217af09 Content-Type: application/json X-Distribution: Ubuntu
- RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": $
- {"href": "http://controller:35357/v3/", "rel": "self"}]}}
- DEBUG (base:188) Making authentication request to http://controller:35357/v3/auth/tokens
- DEBUG (connectionpool:385) "POST /v3/auth/tokens HTTP/1.1" 201 2168
- DEBUG (session:198) REQ: curl -g -i -X GET http://controller:8774/v2/ -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}b6d9bd9916efade800b87e605ed5a791270c4fd0"
- INFO (connectionpool:205) Starting new HTTP connection (1): controller
- DEBUG (connectionpool:385) "GET /v2/ HTTP/1.1" 200 375
- DEBUG (session:215) RESP: [200] Date: Wed, 30 Mar 2016 11:49:59 GMT Connection: keep-alive Content-Type: application/json Content-Length: 375 X-Compute-Request-Id: req-ce618164-cc64-44c4-a3ed-39e48d90d47$
- RESP BODY: {"version": {"status": "SUPPORTED", "updated": "2011-01-21T11:33:21Z", "links": [{"href": "http://controller:8774/v2/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/htm$
- ", "rel": "describedby"}], "min_version": "", "version": "", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0"}}
- DEBUG (session:198) REQ: curl -g -i -X GET http://controller:8774/v2/08c2051056494af5b4d0e89373a98230/images/detail -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA$
- }b6d9bd9916efade800b87e605ed5a791270c4fd0"
- DEBUG (connectionpool:385) "GET /v2/08c2051056494af5b4d0e89373a98230/images/detail HTTP/1.1" 500 214
- DEBUG (session:215) RESP: [500] Date: Wed, 30 Mar 2016 11:51:40 GMT Connection: keep-alive Content-Type: application/json; charset=UTF-8 Content-Length: 214 X-Compute-Request-Id: req-8b216671-557d-4ae4-a$
- a4-54ec13b6797c
- RESP BODY: {"computeFault": {"message": "Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.\n<class 'glanceclient.exc.HTTPInternalServerE$
- ror'>", "code": 500}}
- DEBUG (shell:905) Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
- <class 'glanceclient.exc.HTTPInternalServerError'> (HTTP 500) (Request-ID: req-8b216671-557d-4ae4-aaa4-54ec13b6797c)
- Traceback (most recent call last):
- File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 903, in main
- OpenStackComputeShell().main(argv)
- File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 830, in main
- args.func(self.cs, args)
- File "/usr/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 1115, in do_image_list
- image_list = cs.images.list(limit=limit)
- File "/usr/lib/python2.7/dist-packages/novaclient/v2/images.py", line 74, in list
- return self._list('/images%s%s' % (detail, query), 'images')
- File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 72, in _list
- _resp, body = self.api.client.get(url)
- File "/usr/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 170, in get
- return self.request(url, 'GET', **kwargs)
- File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 93, in request
- raise exceptions.from_response(resp, body, url, method)
- ClientException: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
- <class 'glanceclient.exc.HTTPInternalServerError'> (HTTP 500) (Request-ID: req-8b216671-557d-4ae4-aaa4-54ec13b6797c)
- ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
- <class 'glanceclient.exc.HTTPInternalServerError'> (HTTP 500) (Request-ID: req-8b216671-557d-4ae4-aaa4-54ec13b6797c)
- root@ubuntu0:~# cat /etc/nova/nova.conf
- [DEFAULT]
- verbose=true
- rpc_backend = rabbit
- auth_strategy = keystone
- dhcpbridge_flagfile=/etc/nova/nova.conf
- dhcpbridge=/usr/bin/nova-dhcpbridge
- logdir=/var/log/nova
- state_path=/var/lib/nova
- lock_path=/var/lock/nova
- force_dhcp_release=True
- libvirt_use_virtio_for_bridges=True
- verbose=True
- ec2_private_dns_show_ip=True
- api_paste_config=/etc/nova/api-paste.ini
- enabled_apis=osapi_compute,metadata
- osapi_compute_listen = 192.168.0.168
- my_ip = 192.168.0.168
- network_api_class = nova.network.neutronv2.api.API
- security_group_api = neutron
- linuxnet_interface_driver = nova.network.linux_net.NeutronLinuxBridgeInterfaceDriver
- firewall_driver = nova.virt.firewall.NoopFirewallDriver
- [glance]
- host = controller
- api_servers = controller:9292
- [vnc]
- enabled = True
- vncserver_listen = $my_ip
- vncserver_proxyclient_address = $my_ip
- novncproxy_base_url = http://controller:6080/vnc_auto.html
- [database]
- connection = mysql+pymysql://nova:nova@controller/nova
- [oslo_messaging_rabbit]
- rabbit_host = controller
- rabbit_userid = openstack
- rabbit_password = rabbit
- [oslo_concurrency]
- lock_path = /var/lib/nova/tmp
- [keystone_authtoken]
- auth_uri = http://controller:5000
- #auth_host = controller
- auth_url = http://controller:35357
- #identity_uri = http://controller:35357
- auth_plugin = password
- project_domain_id = default
- user_domain_id = default
- project_name = service
- username = nova
- password = nova
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement