Re: [opensuse-cloud] Horizon problem leap - liberty
Hi, I'm not sure I can help, but if I call openstack role list, I get ---cut here--- root@control:~ # openstack role list +----------------------------------+------------------+ | ID | Name | +----------------------------------+------------------+ | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | c8d40d0bde2e4e50b34378b2eff6a5ea | admin | | 42316a664fa64129b1aedef28147d2ce | Member | | ff10e86d6e934fc09f30b598ce1b9d7d | heat_stack_user | | ce35f02e886b48e386246773f23a203e | heat_stack_owner | +----------------------------------+------------------+ ---cut here--- So I don't have a user "user" like you do. Also when I call the keystone API ---cut here--- root@control:~ # keystone user-list +----------------------------------+------------+---------+-------+ | id | name | enabled | email | +----------------------------------+------------+---------+-------+ | 35d997dea5024795ab145ed84f7c3d2e | admin | True | | | 298891a803fc47038cb2dd150358f63b | ceilometer | True | | | f89a9e8d130a42b0b6cc0966392ef97a | cinder | True | | | 9315f1c9c7cf4f84bb328e60da141121 | crowbar | True | | | 8c2a2c8a3c3c4e22bde6c2b034cbc27b | eblock | True | | | 1c28400db87e43c3a4a1dc9717998d57 | glance | True | | | b74e91f4ea1c49febd52f99b26e46e0a | heat | True | | | 0c3d6e9ce29b488c9c49870a171ec0df | hwirths | True | | | 02f4a977b74940789cec04d8fc668e40 | lixner | True | | | cd20613ad3d44982b6a857388c9e5d4b | neutron | True | | | 4cdfb6e3f33647a78462a6f8fdbf7d71 | nova | True | | +----------------------------------+------------+---------+-------+ ---cut here--- there's no user "user". The only user I created myself is "eblock". How did you create your user? Could you explain how you installed your cloud following which documentation? Regards, Eugen Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi, I am installing Liberty on opensuse leap 42.1
But I have an issue with horizon. When I login into the dashboard as admin and I try to create a project I get the error: "default role user not found"
from the /var/log/apache2/error_log [Wed Dec 16 15:46:08.073998 2015] [wsgi:error] [pid 24754] NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-d29ecd06-ff1c-4a5a-bb46-78134b626a85) [Wed Dec 16 15:46:08.096022 2015] [wsgi:error] [pid 24754] Recoverable error: Could not find default role "user" in Keystone
from the command prompt when I run: openstack role list I get this output +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ anybody?
mfg, Jeroen -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- Eugen Block voice : +49-40-559 51 75 NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77 Postfach 61 03 15 D-22423 Hamburg e-mail : eblock@nde.ag Vorsitzende des Aufsichtsrates: Angelika Mozdzen Sitz und Registergericht: Hamburg, HRB 90934 Vorstand: Jens-U. Mozdzen USt-IdNr. DE 814 013 983 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi, I in deployed it using the cookbook at http://docs.openstack.org/liberty/install-guide-obs/ BTW: the /var/log/apache2/error_log is flooding with wsgi error. BR, Jeroen Op 17-12-2015 om 12:12 schreef Eugen Block:
Hi,
I'm not sure I can help, but if I call openstack role list, I get
---cut here--- root@control:~ # openstack role list +----------------------------------+------------------+ | ID | Name | +----------------------------------+------------------+ | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | c8d40d0bde2e4e50b34378b2eff6a5ea | admin | | 42316a664fa64129b1aedef28147d2ce | Member | | ff10e86d6e934fc09f30b598ce1b9d7d | heat_stack_user | | ce35f02e886b48e386246773f23a203e | heat_stack_owner | +----------------------------------+------------------+ ---cut here---
So I don't have a user "user" like you do. Also when I call the keystone API
---cut here--- root@control:~ # keystone user-list +----------------------------------+------------+---------+-------+ | id | name | enabled | email | +----------------------------------+------------+---------+-------+ | 35d997dea5024795ab145ed84f7c3d2e | admin | True | | | 298891a803fc47038cb2dd150358f63b | ceilometer | True | | | f89a9e8d130a42b0b6cc0966392ef97a | cinder | True | | | 9315f1c9c7cf4f84bb328e60da141121 | crowbar | True | | | 8c2a2c8a3c3c4e22bde6c2b034cbc27b | eblock | True | | | 1c28400db87e43c3a4a1dc9717998d57 | glance | True | | | b74e91f4ea1c49febd52f99b26e46e0a | heat | True | | | 0c3d6e9ce29b488c9c49870a171ec0df | hwirths | True | | | 02f4a977b74940789cec04d8fc668e40 | lixner | True | | | cd20613ad3d44982b6a857388c9e5d4b | neutron | True | | | 4cdfb6e3f33647a78462a6f8fdbf7d71 | nova | True | | +----------------------------------+------------+---------+-------+ ---cut here---
there's no user "user". The only user I created myself is "eblock". How did you create your user? Could you explain how you installed your cloud following which documentation?
Regards, Eugen
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi, I am installing Liberty on opensuse leap 42.1
But I have an issue with horizon. When I login into the dashboard as admin and I try to create a project I get the error: "default role user not found"
from the /var/log/apache2/error_log [Wed Dec 16 15:46:08.073998 2015] [wsgi:error] [pid 24754] NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-d29ecd06-ff1c-4a5a-bb46-78134b626a85) [Wed Dec 16 15:46:08.096022 2015] [wsgi:error] [pid 24754] Recoverable error: Could not find default role "user" in Keystone
from the command prompt when I run: openstack role list I get this output +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ anybody?
mfg, Jeroen -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
So you just used the default values suggested in that guide, right? Could you send the output of "openstack user role list"? And also is it possible to provide the commands you used to create projects, users and roles? Did you add project:user to the respective role? And are your rules in the policy.json corresponding to your configuration? Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi,
I in deployed it using the cookbook at http://docs.openstack.org/liberty/install-guide-obs/
BTW: the /var/log/apache2/error_log is flooding with wsgi error.
BR, Jeroen
Op 17-12-2015 om 12:12 schreef Eugen Block:
Hi,
I'm not sure I can help, but if I call openstack role list, I get
---cut here--- root@control:~ # openstack role list +----------------------------------+------------------+ | ID | Name | +----------------------------------+------------------+ | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | c8d40d0bde2e4e50b34378b2eff6a5ea | admin | | 42316a664fa64129b1aedef28147d2ce | Member | | ff10e86d6e934fc09f30b598ce1b9d7d | heat_stack_user | | ce35f02e886b48e386246773f23a203e | heat_stack_owner | +----------------------------------+------------------+ ---cut here---
So I don't have a user "user" like you do. Also when I call the keystone API
---cut here--- root@control:~ # keystone user-list +----------------------------------+------------+---------+-------+ | id | name | enabled | email | +----------------------------------+------------+---------+-------+ | 35d997dea5024795ab145ed84f7c3d2e | admin | True | | | 298891a803fc47038cb2dd150358f63b | ceilometer | True | | | f89a9e8d130a42b0b6cc0966392ef97a | cinder | True | | | 9315f1c9c7cf4f84bb328e60da141121 | crowbar | True | | | 8c2a2c8a3c3c4e22bde6c2b034cbc27b | eblock | True | | | 1c28400db87e43c3a4a1dc9717998d57 | glance | True | | | b74e91f4ea1c49febd52f99b26e46e0a | heat | True | | | 0c3d6e9ce29b488c9c49870a171ec0df | hwirths | True | | | 02f4a977b74940789cec04d8fc668e40 | lixner | True | | | cd20613ad3d44982b6a857388c9e5d4b | neutron | True | | | 4cdfb6e3f33647a78462a6f8fdbf7d71 | nova | True | | +----------------------------------+------------+---------+-------+ ---cut here---
there's no user "user". The only user I created myself is "eblock". How did you create your user? Could you explain how you installed your cloud following which documentation?
Regards, Eugen
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi, I am installing Liberty on opensuse leap 42.1
But I have an issue with horizon. When I login into the dashboard as admin and I try to create a project I get the error: "default role user not found"
from the /var/log/apache2/error_log [Wed Dec 16 15:46:08.073998 2015] [wsgi:error] [pid 24754] NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-d29ecd06-ff1c-4a5a-bb46-78134b626a85) [Wed Dec 16 15:46:08.096022 2015] [wsgi:error] [pid 24754] Recoverable error: Could not find default role "user" in Keystone
from the command prompt when I run: openstack role list I get this output +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ anybody?
mfg, Jeroen -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- Eugen Block voice : +49-40-559 51 75 NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77 Postfach 61 03 15 D-22423 Hamburg e-mail : eblock@nde.ag Vorsitzende des Aufsichtsrates: Angelika Mozdzen Sitz und Registergericht: Hamburg, HRB 90934 Vorstand: Jens-U. Mozdzen USt-IdNr. DE 814 013 983 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi, Here the output for the commands. controlnode:~ # openstack role list +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ controlnode:~ # openstack user list +----------------------------------+---------+ | ID | Name | +----------------------------------+---------+ | 3e62f9beab11404e9ad8f28df266e5d1 | demo | | 6010a591575c4da69f1a8e42e0b7dd03 | glance | | 7942ace5d47241489a273c7b117ddbd8 | cinder | | 9a9cacd6694d44188f4152cf9a079db3 | neutron | | a129d7906dec4ae09dec3e26bbd1604e | nova | | eb8e35b1f6d24bbc83570f4ae36d1825 | admin | +----------------------------------+---------+ Op 17-12-2015 om 16:49 schreef Eugen Block:
So you just used the default values suggested in that guide, right?
Could you send the output of "openstack user role list"?
And also is it possible to provide the commands you used to create projects, users and roles? Did you add project:user to the respective role? And are your rules in the policy.json corresponding to your configuration?
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi,
I in deployed it using the cookbook at http://docs.openstack.org/liberty/install-guide-obs/
BTW: the /var/log/apache2/error_log is flooding with wsgi error.
BR, Jeroen
Op 17-12-2015 om 12:12 schreef Eugen Block:
Hi,
I'm not sure I can help, but if I call openstack role list, I get
---cut here--- root@control:~ # openstack role list +----------------------------------+------------------+ | ID | Name | +----------------------------------+------------------+ | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | c8d40d0bde2e4e50b34378b2eff6a5ea | admin | | 42316a664fa64129b1aedef28147d2ce | Member | | ff10e86d6e934fc09f30b598ce1b9d7d | heat_stack_user | | ce35f02e886b48e386246773f23a203e | heat_stack_owner | +----------------------------------+------------------+ ---cut here---
So I don't have a user "user" like you do. Also when I call the keystone API
---cut here--- root@control:~ # keystone user-list +----------------------------------+------------+---------+-------+ | id | name | enabled | email | +----------------------------------+------------+---------+-------+ | 35d997dea5024795ab145ed84f7c3d2e | admin | True | | | 298891a803fc47038cb2dd150358f63b | ceilometer | True | | | f89a9e8d130a42b0b6cc0966392ef97a | cinder | True | | | 9315f1c9c7cf4f84bb328e60da141121 | crowbar | True | | | 8c2a2c8a3c3c4e22bde6c2b034cbc27b | eblock | True | | | 1c28400db87e43c3a4a1dc9717998d57 | glance | True | | | b74e91f4ea1c49febd52f99b26e46e0a | heat | True | | | 0c3d6e9ce29b488c9c49870a171ec0df | hwirths | True | | | 02f4a977b74940789cec04d8fc668e40 | lixner | True | | | cd20613ad3d44982b6a857388c9e5d4b | neutron | True | | | 4cdfb6e3f33647a78462a6f8fdbf7d71 | nova | True | | +----------------------------------+------------+---------+-------+ ---cut here---
there's no user "user". The only user I created myself is "eblock". How did you create your user? Could you explain how you installed your cloud following which documentation?
Regards, Eugen
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi, I am installing Liberty on opensuse leap 42.1
But I have an issue with horizon. When I login into the dashboard as admin and I try to create a project I get the error: "default role user not found"
from the /var/log/apache2/error_log [Wed Dec 16 15:46:08.073998 2015] [wsgi:error] [pid 24754] NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-d29ecd06-ff1c-4a5a-bb46-78134b626a85) [Wed Dec 16 15:46:08.096022 2015] [wsgi:error] [pid 24754] Recoverable error: Could not find default role "user" in Keystone
from the command prompt when I run: openstack role list I get this output +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ anybody?
mfg, Jeroen -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi, I meant the command to print the user-role assignment, not the separated user list and role list. I'd like to see if you have assigned a user to a project and also to a role. My output on control node is like this: ---cut here--- root@control:~ # openstack user role list +----------------------------------+----------+---------+-------+ | ID | Name | Project | User | +----------------------------------+----------+---------+-------+ | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | admin | admin | | c8d40d0bde2e4e50b34378b2eff6a5ea | admin | admin | admin | +----------------------------------+----------+---------+-------+ ---cut here--- I'm not sure yet if I can help because I have a different setup, but maybe we can figure it out anyway. So please try the command "openstack user role list". Regards, Eugen Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi,
Here the output for the commands.
controlnode:~ # openstack role list +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ controlnode:~ # openstack user list +----------------------------------+---------+ | ID | Name | +----------------------------------+---------+ | 3e62f9beab11404e9ad8f28df266e5d1 | demo | | 6010a591575c4da69f1a8e42e0b7dd03 | glance | | 7942ace5d47241489a273c7b117ddbd8 | cinder | | 9a9cacd6694d44188f4152cf9a079db3 | neutron | | a129d7906dec4ae09dec3e26bbd1604e | nova | | eb8e35b1f6d24bbc83570f4ae36d1825 | admin | +----------------------------------+---------+
Op 17-12-2015 om 16:49 schreef Eugen Block:
So you just used the default values suggested in that guide, right?
Could you send the output of "openstack user role list"?
And also is it possible to provide the commands you used to create projects, users and roles? Did you add project:user to the respective role? And are your rules in the policy.json corresponding to your configuration?
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi,
I in deployed it using the cookbook at http://docs.openstack.org/liberty/install-guide-obs/
BTW: the /var/log/apache2/error_log is flooding with wsgi error.
BR, Jeroen
Op 17-12-2015 om 12:12 schreef Eugen Block:
Hi,
I'm not sure I can help, but if I call openstack role list, I get
---cut here--- root@control:~ # openstack role list +----------------------------------+------------------+ | ID | Name | +----------------------------------+------------------+ | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | c8d40d0bde2e4e50b34378b2eff6a5ea | admin | | 42316a664fa64129b1aedef28147d2ce | Member | | ff10e86d6e934fc09f30b598ce1b9d7d | heat_stack_user | | ce35f02e886b48e386246773f23a203e | heat_stack_owner | +----------------------------------+------------------+ ---cut here---
So I don't have a user "user" like you do. Also when I call the keystone API
---cut here--- root@control:~ # keystone user-list +----------------------------------+------------+---------+-------+ | id | name | enabled | email | +----------------------------------+------------+---------+-------+ | 35d997dea5024795ab145ed84f7c3d2e | admin | True | | | 298891a803fc47038cb2dd150358f63b | ceilometer | True | | | f89a9e8d130a42b0b6cc0966392ef97a | cinder | True | | | 9315f1c9c7cf4f84bb328e60da141121 | crowbar | True | | | 8c2a2c8a3c3c4e22bde6c2b034cbc27b | eblock | True | | | 1c28400db87e43c3a4a1dc9717998d57 | glance | True | | | b74e91f4ea1c49febd52f99b26e46e0a | heat | True | | | 0c3d6e9ce29b488c9c49870a171ec0df | hwirths | True | | | 02f4a977b74940789cec04d8fc668e40 | lixner | True | | | cd20613ad3d44982b6a857388c9e5d4b | neutron | True | | | 4cdfb6e3f33647a78462a6f8fdbf7d71 | nova | True | | +----------------------------------+------------+---------+-------+ ---cut here---
there's no user "user". The only user I created myself is "eblock". How did you create your user? Could you explain how you installed your cloud following which documentation?
Regards, Eugen
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi, I am installing Liberty on opensuse leap 42.1
But I have an issue with horizon. When I login into the dashboard as admin and I try to create a project I get the error: "default role user not found"
from the /var/log/apache2/error_log [Wed Dec 16 15:46:08.073998 2015] [wsgi:error] [pid 24754] NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-d29ecd06-ff1c-4a5a-bb46-78134b626a85) [Wed Dec 16 15:46:08.096022 2015] [wsgi:error] [pid 24754] Recoverable error: Could not find default role "user" in Keystone
from the command prompt when I run: openstack role list I get this output +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ anybody?
mfg, Jeroen -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- Eugen Block voice : +49-40-559 51 75 NDE Netzdesign und -entwicklung AG fax : +49-40-559 51 77 Postfach 61 03 15 D-22423 Hamburg e-mail : eblock@nde.ag Vorsitzende des Aufsichtsrates: Angelika Mozdzen Sitz und Registergericht: Hamburg, HRB 90934 Vorstand: Jens-U. Mozdzen USt-IdNr. DE 814 013 983 -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi All My problem was solved after I made the changes suggested here: https://bugs.launchpad.net/openstack-manuals/+bug/1513090 BR, Jeroen Op 21-12-2015 om 10:52 schreef Eugen Block:
Hi,
I meant the command to print the user-role assignment, not the separated user list and role list. I'd like to see if you have assigned a user to a project and also to a role. My output on control node is like this:
---cut here--- root@control:~ # openstack user role list +----------------------------------+----------+---------+-------+ | ID | Name | Project | User | +----------------------------------+----------+---------+-------+ | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | admin | admin | | c8d40d0bde2e4e50b34378b2eff6a5ea | admin | admin | admin | +----------------------------------+----------+---------+-------+ ---cut here---
I'm not sure yet if I can help because I have a different setup, but maybe we can figure it out anyway. So please try the command "openstack user role list".
Regards, Eugen
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi,
Here the output for the commands.
controlnode:~ # openstack role list +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ controlnode:~ # openstack user list +----------------------------------+---------+ | ID | Name | +----------------------------------+---------+ | 3e62f9beab11404e9ad8f28df266e5d1 | demo | | 6010a591575c4da69f1a8e42e0b7dd03 | glance | | 7942ace5d47241489a273c7b117ddbd8 | cinder | | 9a9cacd6694d44188f4152cf9a079db3 | neutron | | a129d7906dec4ae09dec3e26bbd1604e | nova | | eb8e35b1f6d24bbc83570f4ae36d1825 | admin | +----------------------------------+---------+
Op 17-12-2015 om 16:49 schreef Eugen Block:
So you just used the default values suggested in that guide, right?
Could you send the output of "openstack user role list"?
And also is it possible to provide the commands you used to create projects, users and roles? Did you add project:user to the respective role? And are your rules in the policy.json corresponding to your configuration?
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi,
I in deployed it using the cookbook at http://docs.openstack.org/liberty/install-guide-obs/
BTW: the /var/log/apache2/error_log is flooding with wsgi error.
BR, Jeroen
Op 17-12-2015 om 12:12 schreef Eugen Block:
Hi,
I'm not sure I can help, but if I call openstack role list, I get
---cut here--- root@control:~ # openstack role list +----------------------------------+------------------+ | ID | Name | +----------------------------------+------------------+ | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | c8d40d0bde2e4e50b34378b2eff6a5ea | admin | | 42316a664fa64129b1aedef28147d2ce | Member | | ff10e86d6e934fc09f30b598ce1b9d7d | heat_stack_user | | ce35f02e886b48e386246773f23a203e | heat_stack_owner | +----------------------------------+------------------+ ---cut here---
So I don't have a user "user" like you do. Also when I call the keystone API
---cut here--- root@control:~ # keystone user-list +----------------------------------+------------+---------+-------+ | id | name | enabled | email | +----------------------------------+------------+---------+-------+ | 35d997dea5024795ab145ed84f7c3d2e | admin | True | | | 298891a803fc47038cb2dd150358f63b | ceilometer | True | | | f89a9e8d130a42b0b6cc0966392ef97a | cinder | True | | | 9315f1c9c7cf4f84bb328e60da141121 | crowbar | True | | | 8c2a2c8a3c3c4e22bde6c2b034cbc27b | eblock | True | | | 1c28400db87e43c3a4a1dc9717998d57 | glance | True | | | b74e91f4ea1c49febd52f99b26e46e0a | heat | True | | | 0c3d6e9ce29b488c9c49870a171ec0df | hwirths | True | | | 02f4a977b74940789cec04d8fc668e40 | lixner | True | | | cd20613ad3d44982b6a857388c9e5d4b | neutron | True | | | 4cdfb6e3f33647a78462a6f8fdbf7d71 | nova | True | | +----------------------------------+------------+---------+-------+ ---cut here---
there's no user "user". The only user I created myself is "eblock". How did you create your user? Could you explain how you installed your cloud following which documentation?
Regards, Eugen
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi, I am installing Liberty on opensuse leap 42.1
But I have an issue with horizon. When I login into the dashboard as admin and I try to create a project I get the error: "default role user not found"
from the /var/log/apache2/error_log [Wed Dec 16 15:46:08.073998 2015] [wsgi:error] [pid 24754] NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-d29ecd06-ff1c-4a5a-bb46-78134b626a85) [Wed Dec 16 15:46:08.096022 2015] [wsgi:error] [pid 24754] Recoverable error: Could not find default role "user" in Keystone
from the command prompt when I run: openstack role list I get this output +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ anybody?
mfg, Jeroen -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
Hi, your command ( openstack user role list ) does't produce output ( expect for the error message the command is not implemented openstack user role list openstack: 'user' is not an openstack command. See 'openstack --help'. I guess you want to know this? (openstack) role assignment list +----------------------------------+----------------------------------+-------+----------------------------------+--------+-----------+ | Role | User | Group | Project | Domain | Inherited | +----------------------------------+----------------------------------+-------+----------------------------------+--------+-----------+ | 9b7c9fdaec8f4760a4b4983739489f14 | 3e62f9beab11404e9ad8f28df266e5d1 | | 70d4762259d04134bdc26898ba247fe9 | | False | | 938136d501034c8da757c78c1eeaa368 | 6010a591575c4da69f1a8e42e0b7dd03 | | 1e10fa31ff9f4081a985bbc432877872 | | False | | 938136d501034c8da757c78c1eeaa368 | 7942ace5d47241489a273c7b117ddbd8 | | 1e10fa31ff9f4081a985bbc432877872 | | False | | 938136d501034c8da757c78c1eeaa368 | 9a9cacd6694d44188f4152cf9a079db3 | | 1e10fa31ff9f4081a985bbc432877872 | | False | | 938136d501034c8da757c78c1eeaa368 | a129d7906dec4ae09dec3e26bbd1604e | | 1e10fa31ff9f4081a985bbc432877872 | | False | | 938136d501034c8da757c78c1eeaa368 | eb8e35b1f6d24bbc83570f4ae36d1825 | | e8c7f0c4466d4421916d66afc4f78c94 | | False | +----------------------------------+----------------------------------+-------+----------------------------------+--------+-----------+ (openstack) user list +----------------------------------+---------+ | ID | Name | +----------------------------------+---------+ | 3e62f9beab11404e9ad8f28df266e5d1 | demo | | 6010a591575c4da69f1a8e42e0b7dd03 | glance | | 7942ace5d47241489a273c7b117ddbd8 | cinder | | 9a9cacd6694d44188f4152cf9a079db3 | neutron | | a129d7906dec4ae09dec3e26bbd1604e | nova | | eb8e35b1f6d24bbc83570f4ae36d1825 | admin | +----------------------------------+---------+ (openstack) role list +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ (openstack) project list +----------------------------------+---------+ | ID | Name | +----------------------------------+---------+ | 1e10fa31ff9f4081a985bbc432877872 | service | | 70d4762259d04134bdc26898ba247fe9 | demo | | e8c7f0c4466d4421916d66afc4f78c94 | admin | +----------------------------------+---------+ Op 21-12-2015 om 10:14 schreef Jeroen Groenewegen van der Weyden:
Hi,
Here the output for the commands.
controlnode:~ # openstack role list +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ controlnode:~ # openstack user list +----------------------------------+---------+ | ID | Name | +----------------------------------+---------+ | 3e62f9beab11404e9ad8f28df266e5d1 | demo | | 6010a591575c4da69f1a8e42e0b7dd03 | glance | | 7942ace5d47241489a273c7b117ddbd8 | cinder | | 9a9cacd6694d44188f4152cf9a079db3 | neutron | | a129d7906dec4ae09dec3e26bbd1604e | nova | | eb8e35b1f6d24bbc83570f4ae36d1825 | admin | +----------------------------------+---------+
Op 17-12-2015 om 16:49 schreef Eugen Block:
So you just used the default values suggested in that guide, right?
Could you send the output of "openstack user role list"?
And also is it possible to provide the commands you used to create projects, users and roles? Did you add project:user to the respective role? And are your rules in the policy.json corresponding to your configuration?
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi,
I in deployed it using the cookbook at http://docs.openstack.org/liberty/install-guide-obs/
BTW: the /var/log/apache2/error_log is flooding with wsgi error.
BR, Jeroen
Op 17-12-2015 om 12:12 schreef Eugen Block:
Hi,
I'm not sure I can help, but if I call openstack role list, I get
---cut here--- root@control:~ # openstack role list +----------------------------------+------------------+ | ID | Name | +----------------------------------+------------------+ | 9fe2ff9ee4384b1894a90878d3e92bab | _member_ | | c8d40d0bde2e4e50b34378b2eff6a5ea | admin | | 42316a664fa64129b1aedef28147d2ce | Member | | ff10e86d6e934fc09f30b598ce1b9d7d | heat_stack_user | | ce35f02e886b48e386246773f23a203e | heat_stack_owner | +----------------------------------+------------------+ ---cut here---
So I don't have a user "user" like you do. Also when I call the keystone API
---cut here--- root@control:~ # keystone user-list +----------------------------------+------------+---------+-------+ | id | name | enabled | email | +----------------------------------+------------+---------+-------+ | 35d997dea5024795ab145ed84f7c3d2e | admin | True | | | 298891a803fc47038cb2dd150358f63b | ceilometer | True | | | f89a9e8d130a42b0b6cc0966392ef97a | cinder | True | | | 9315f1c9c7cf4f84bb328e60da141121 | crowbar | True | | | 8c2a2c8a3c3c4e22bde6c2b034cbc27b | eblock | True | | | 1c28400db87e43c3a4a1dc9717998d57 | glance | True | | | b74e91f4ea1c49febd52f99b26e46e0a | heat | True | | | 0c3d6e9ce29b488c9c49870a171ec0df | hwirths | True | | | 02f4a977b74940789cec04d8fc668e40 | lixner | True | | | cd20613ad3d44982b6a857388c9e5d4b | neutron | True | | | 4cdfb6e3f33647a78462a6f8fdbf7d71 | nova | True | | +----------------------------------+------------+---------+-------+ ---cut here---
there's no user "user". The only user I created myself is "eblock". How did you create your user? Could you explain how you installed your cloud following which documentation?
Regards, Eugen
Zitat von Jeroen Groenewegen van der Weyden <groen692@grosc.com>:
Hi, I am installing Liberty on opensuse leap 42.1
But I have an issue with horizon. When I login into the dashboard as admin and I try to create a project I get the error: "default role user not found"
from the /var/log/apache2/error_log [Wed Dec 16 15:46:08.073998 2015] [wsgi:error] [pid 24754] NotFound: The resource could not be found. (HTTP 404) (Request-ID: req-d29ecd06-ff1c-4a5a-bb46-78134b626a85) [Wed Dec 16 15:46:08.096022 2015] [wsgi:error] [pid 24754] Recoverable error: Could not find default role "user" in Keystone
from the command prompt when I run: openstack role list I get this output +----------------------------------+-------+ | ID | Name | +----------------------------------+-------+ | 938136d501034c8da757c78c1eeaa368 | admin | | 9b7c9fdaec8f4760a4b4983739489f14 | user | +----------------------------------+-------+ anybody?
mfg, Jeroen -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-cloud+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-cloud+owner@opensuse.org
participants (2)
-
Eugen Block
-
Jeroen Groenewegen van der Weyden