Ask Your Question

Cheng Li's profile - activity

2014-12-29 02:59:20 -0500 received badge  Famous Question (source)
2014-12-18 00:02:30 -0500 received badge  Famous Question (source)
2014-11-25 16:57:07 -0500 received badge  Famous Question (source)
2014-11-18 05:09:40 -0500 received badge  Notable Question (source)
2014-11-13 09:49:43 -0500 received badge  Notable Question (source)
2014-11-13 07:38:25 -0500 received badge  Popular Question (source)
2014-11-13 07:37:36 -0500 commented answer OperationalError: (OperationalError) (2003, "Can't connect to MySQL server on 'controller' (111)") None Nonestal

Yes, seems something is wrong with mysql. I reboot the node and i thought this can restart mysql. But only after restart mysql service , all things back to normal. Thanks for your suggestion.

2014-11-13 06:34:03 -0500 asked a question OperationalError: (OperationalError) (2003, "Can't connect to MySQL server on 'controller' (111)") None Nonestal

Hi after install nova, run the command,i can see only nova-consoleauth is up . After check the log i can see /var/log/nova/nova-cert.log : OperationalError: (OperationalError) (2003, "Can't connect to MySQL server on 'controller' (111)")

I think it's right in Nova.conf connection=mysql://nova:openstack@controller/nova

So how can i troubleshooting ? First time to install openstack.

root@controller:~# nova service-list
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated_at                 | Disabled Reason |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| 1  | nova-cert        | controller | internal | enabled | down  | 2014-11-13T10:08:42.000000 | -               |
| 2  | nova-consoleauth | controller | internal | enabled | up    | 2014-11-13T12:27:42.000000 | -               |
| 3  | nova-scheduler   | controller | internal | enabled | down  | 2014-11-13T10:08:42.000000 | -               |
| 4  | nova-conductor   | controller | internal | enabled | down  | 2014-11-13T10:08:40.000000 | -               |
| 5  | nova-compute     | compute01  | nova     | enabled | down  | 2014-11-13T10:08:35.000000 | -               |
| 6  | nova-network     | controller | internal | enabled | down  | 2014-11-13T10:08:39.000000 | -               |
+----+------------------+------------+----------+---------+-------+----------------------------+-----------------+
2014-11-13 06:01:23 -0500 received badge  Notable Question (source)
2014-11-13 03:10:47 -0500 received badge  Supporter (source)
2014-11-13 03:10:34 -0500 received badge  Scholar (source)
2014-11-13 03:09:57 -0500 received badge  Popular Question (source)
2014-11-13 03:09:09 -0500 commented question EndpointNotFound: publicURL endpoint for identity service not found

Thanks for your suggestion , it really give a mind to troubleshooting.

2014-11-13 03:07:55 -0500 commented answer EndpointNotFound: publicURL endpoint for identity service not found

thanks, it's my fault.I use this command can check the output, the word should be identity , but i wrote "identidy"

2014-11-12 23:33:33 -0500 received badge  Editor (source)
2014-11-12 23:32:44 -0500 asked a question EndpointNotFound: publicURL endpoint for identity service not found

Hi After i install dashboard and open : http://controller/horizon enter username : admin passwd : openstack It comes and error and says please contact your administartor. I check the log of apach2 : EndpointNotFound: publicURL endpoint for identity service not found

Not sure what to do next . anyone can give me some suggestion ?

root@controller:~# keystone service-list WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +----------------------------------+----------+----------+-------------------------+ | id | name | type | description | +----------------------------------+----------+----------+-------------------------+ | 1e563fc436d14faab56bc85abc77c525 | glance | image | OpenStack Image Service | | 3a88298896de4749863c86c38f08fda9 | keystone | identify | OpenStack Identity | | 44e3b557c743420693212cfcfaf4f074 | nova | compute | OpenStack Compute | +----------------------------------+----------+----------+-------------------------+

root@controller:~# keystone endpoint-list WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). +----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+ | id | region | publicurl | internalurl | adminurl | service_id | +----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+ | 29129983f3c4494bbc5f82cfe1f7e0e9 | regionOne | http://controller:8774/v2/%25(tenant_id)s (http://controller:8774/v2/%(tenant_id)s) | http://controller:8774/v2/%25(tenant_id)s (http://controller:8774/v2/%(tenant_id)s) | http://controller:8774/v2/%25(tenant_id)s (http://controller:8774/v2/%(tenant_id)s) | 44e3b557c743420693212cfcfaf4f074 | | 72d2ae1e21d5485282e351c1277f6573 | regionOne | http://controller:5000/v2.0 | http://controller:5000/v2.0 | http://controller:35357/v2.0 | 3a88298896de4749863c86c38f08fda9 | | 86f72d1662b34c0cb3edb6643bc96204 | regionOne | http://controller:9292 | http://controller:9292 | http://controller:9292 | 1e563fc436d14faab56bc85abc77c525 | +----------------------------------+-----------+-----------------------------------------+-----------------------------------------+-----------------------------------------+----------------------------------+ Detail logs for apach2 : [Thu Nov 13 05:19:36.406973 2014] [:error] [pid 11335:tid 140282237196032] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 112, in get_response [Thu Nov 13 05:19:36.406982 2014] [:error] [pid 11335:tid 140282237196032] response = wrapped_callback(request, callback_args, callback_kwargs) [Thu Nov 13 05:19:36.406990 2014] [:error] [pid 11335:tid 140282237196032] File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 75, in sensitive_post_parameters_wrapper [Thu Nov 13 05:19:36.406997 2014] [:error] [pid 11335:tid 140282237196032] return view(request, *args, *kwargs) [Thu Nov 13 05:19:36.407004 2014] [:error] [pid 11335:tid 140282237196032] File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 99, in _wrapped_view [Thu Nov 13 05:19:36.407011 2014] [:error] [pid 11335:tid 140282237196032] response = view_func(request, args, *kwargs) [Thu Nov 13 05:19:36.407018 2014] [:error] [pid 11335:tid 140282237196032] File "/usr/lib/python2.7/dist-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func [Thu Nov 13 05:19:36.407025 2014] [:error] [pid 11335:tid 140282237196032] response = view_func(request, args, *kwargs) [Thu Nov 13 05:19:36.407032 2014] [:error] [pid 11335:tid 140282237196032] File "/usr/lib/python2.7/dist-packages/openstack_auth/views.py", line 95, in login [Thu Nov 13 05:19:36.407039 2014] [:error] [pid 11335:tid 140282237196032] *kwargs) [Thu Nov 13 05:19:36.407046 2014] [:error] [pid 11335:tid 140282237196032] File "/usr/lib/python2.7/dist-packages/django/views/decorators/debug.py", line 75, in sensitive_post_parameters_wrapper [Thu Nov 13 05:19:36.407053 2014] [:error] [pid 11335:tid 140282237196032] return view(request, *args, *kwargs) [Thu Nov 13 05:19:36.407059 2014] [:error] [pid 11335:tid 140282237196032] File "/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 99, in _wrapped_view [Thu Nov 13 05:19:36.407066 2014] [:error] [pid 11335:tid 140282237196032] response = view_func(request, args, *kwargs) [Thu ... (more)

2014-11-11 14:25:38 -0500 received badge  Popular Question (source)
2014-11-11 05:30:04 -0500 commented answer global name '_' is not defined in Glance

Thanks for your log add, it's very helpful.appreciate your help.

2014-11-11 05:29:35 -0500 commented answer global name '_' is not defined in Glance

thanks, i check the log and seems my export xxx have something wrong and keystone also have some thing wrong.Finally i solve the problem. Really appreciate your help.

2014-11-11 00:15:28 -0500 asked a question global name '_' is not defined in Glance

After installed Glance , i try to run the command but there is an error. This is the first time i try to install openstack. I have no idea what to do next.

root@controller:~# glance image-list global name '_' is not defined