Skip to content

horizon: Something went wrong! An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator. #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AJNOURI opened this issue Oct 5, 2016 · 3 comments
Assignees
Labels

Comments

@AJNOURI
Copy link
Owner

AJNOURI commented Oct 5, 2016

selection_461

@AJNOURI AJNOURI added the horizon label Oct 5, 2016
@AJNOURI AJNOURI self-assigned this Oct 5, 2016
@AJNOURI
Copy link
Owner Author

AJNOURI commented Oct 5, 2016

A direct consequence of recreating (delete/create) keystone and cinder users, services and endpoints (#7), that's why they are the only services working:

OK

keystone user-list

+----------------------------------+---------+---------+-------------------+
| id | name | enabled | email |
+----------------------------------+---------+---------+-------------------+
| 4ac4bb45dd504f53a027b79ca3e9f2e8 | admin | True | [email protected] |
| 3157cfe3f44243e5bc2aaea007460b54 | cinder | True | [email protected] |
| 63d39d0724734ce782ab7a01c6449572 | demo | True | [email protected] |
| 2d224090290e49289980a9ca6fcfc7de | glance | True | [email protected] |
| 629894947f834c38be1a5e1eaf5ef326 | neutron | True | [email protected] |
| 06a8b998f59a40e18ded2ce0a95d2b06 | nova | True | [email protected] |
+----------------------------------+---------+---------+-------------------+

cinder list

+--------------------------------------+----------+--------------+------+-------------+----------+-------------+
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+----------+--------------+------+-------------+----------+-------------+
| 615f43b6-9cf2-45ac-980c-6ad1af8407e9 | creating | myVolume | 1 | None | false | |
+--------------------------------------+----------+--------------+------+-------------+----------+-------------+

NOK

neutron subnet-list

Authentication required

nova list

ERROR: Unauthorized (HTTP 401)

glance image-list

Request returned failure status.
Invalid OpenStack Identity credentials.

@AJNOURI
Copy link
Owner Author

AJNOURI commented Oct 5, 2016

Solved the issue by recreating user, service and endpoints of non-working services.

Glance

Recreated (delete/create) glance user, service and endpoints
$ glance image-list

+--------------------------------------+--------------------------+-------------+------------------+----------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+--------------------------+-------------+------------------+----------+--------+
| 4c78f531-922d-49e0-b4e8-b0c5866b03a5 | cirros-0.3.4-x86_64-disk | qcow2 | bare | 13287936 | active |
+--------------------------------------+--------------------------+-------------+------------------+----------+--------+

Nova

Recreated (delete/create) nova user, service and endpoints

$ nova list

+--------------------------------------+------+---------+------------+-------------+-----------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+---------+------------+-------------+-----------------------+
| 43f47275-069f-4106-8257-b043e8d1af61 | i1 | SHUTOFF | - | Shutdown | demo-net=192.168.10.2 |
+--------------------------------------+------+---------+------------+-------------+-----------------------+

$ nova net-list

+--------------------------------------+----------+------+
| ID | Label | CIDR |
+--------------------------------------+----------+------+
| a180d59c-aea6-4c6f-a08b-43a63cda0df2 | ext-net | - |
| a6381606-8eed-4087-b4e9-0d085d35cd5c | demo-net | - |
+--------------------------------------+----------+------+

Neutron

Recreated (delete/create) neutron user, service and endpoints

$ neutron net-list

+--------------------------------------+----------+-------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------+-------------------------------------------------------+
| a180d59c-aea6-4c6f-a08b-43a63cda0df2 | ext-net | 42415b78-31e3-4094-97e0-3bde6c5c3ba4 192.168.100.0/24 |
| a6381606-8eed-4087-b4e9-0d085d35cd5c | demo-net | a6826671-a572-4f27-ab33-635be9a1971e 192.168.10.0/24 |
+--------------------------------------+----------+-------------------------------------------------------+

$ neutron subnet-list

+--------------------------------------+-------------+------------------+--------------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+-------------+------------------+--------------------------------------------------------+
| 42415b78-31e3-4094-97e0-3bde6c5c3ba4 | ext-subnet | 192.168.100.0/24 | {"start": "192.168.100.200", "end": "192.168.100.250"} |
| a6826671-a572-4f27-ab33-635be9a1971e | demo-subnet | 192.168.10.0/24 | {"start": "192.168.10.2", "end": "192.168.10.254"} |
+--------------------------------------+-------------+------------------+--------------------------------------------------------+

Horizon

And restarted Apache and memcached

service apache2 restart
service memcached restart

selection_462

@AJNOURI AJNOURI closed this as completed Oct 5, 2016
@keludong
Copy link

check the HOST_IP set in /etc/memcached.conf is the correct HOST_IP, not '-l 127.0.0.1' or other incorrect value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants