openstackgerrit | Hiroaki Kobayashi proposed openstack/blazar master: [WIP] Gate check https://review.openstack.org/471177 | 01:33 |
---|---|---|
openstackgerrit | Hiroaki Kobayashi proposed openstack/blazar master: [WIP] Gate check https://review.openstack.org/471177 | 03:47 |
*** masahito has joined #openstack-blazar | 04:59 | |
*** masahito has quit IRC | 05:09 | |
openstackgerrit | Hiroaki Kobayashi proposed openstack/blazar master: [WIP] Gate check https://review.openstack.org/471177 | 05:20 |
*** masahito has joined #openstack-blazar | 06:04 | |
*** masahito has quit IRC | 06:29 | |
*** masahito has joined #openstack-blazar | 06:30 | |
*** masahito has quit IRC | 07:06 | |
*** nicolasbock has joined #openstack-blazar | 07:31 | |
*** egonzalez has joined #openstack-blazar | 07:37 | |
*** hiro-kobayashi has joined #openstack-blazar | 08:03 | |
*** masahito has joined #openstack-blazar | 08:15 | |
openstackgerrit | Hiroaki Kobayashi proposed openstack/blazar master: [WIP] Gate check https://review.openstack.org/471177 | 08:23 |
*** masahito has quit IRC | 08:27 | |
*** masahito has joined #openstack-blazar | 08:44 | |
*** priteau has joined #openstack-blazar | 08:49 | |
*** hrito has joined #openstack-blazar | 08:59 | |
*** nicolasbock has quit IRC | 09:03 | |
openstackgerrit | Hiroaki Kobayashi proposed openstack/blazar master: [WIP] Gate check https://review.openstack.org/471177 | 09:15 |
tace | Hi, I'am manually installing blazar to single node packstack following this guide: http://blazar.readthedocs.io/en/latest/userdoc/installation.guide.html#installation-without-devstack. I don't understand the section where /etc/blazar/blazar.conf is edited. | 09:48 |
tace | Here os_admin_* flags refer to the Blazar service user. blazar_* ones - to an admin user created specially to work with physical reservations. If you do not have these users, create them: And the same procedure for special admin user to work with physical reservations. | 09:48 |
tace | So what users I should create? | 09:48 |
masahito | tace: hi. we're in our weekly meeting in #openstack-meeting-alt now. please come to the channel or could you wait in 10mins by end the meeting. | 09:51 |
masahito | tace: finished the meeting. | 10:04 |
priteau | tace: you can use the blazar service user for the admin operations, it works fine | 10:04 |
masahito | priteau: oh, thanks. | 10:04 |
priteau | as long as it has admin role, but generally service account have it | 10:05 |
tace | so only one user needs to be created, ok. Sorry what means blazar service user? Is it just normal user? | 10:19 |
priteau | tace: just like you have service users generally called "nova", "glance", etc., you need to have one for blazar | 10:20 |
tace | like named 'blazar' and then I use it to fill os_admin_username in default section. | 10:20 |
masahito | tace: right. | 10:21 |
tace | ok got it, just 3-4 years since I used openstack... | 10:21 |
masahito | tace: don't forget to assign admin role to the blazar user ;-) | 10:22 |
tace | openstack role add --project <project_name> --user <username> <admin_role> | 10:24 |
tace | what strings can be used in <admin_role>, sorry these basic questions | 10:24 |
masahito | In general, devstack creates 'admin' role. | 10:25 |
tace | I'm running packstack | 10:26 |
masahito | I'm not familiar with packstack. but 'neutron' user or similar user exists, doesn't it? | 10:28 |
masahito | for instance, you can find the user within [neutron] section in nova.conf? | 10:29 |
masahito | like username=neutron | 10:29 |
masahito | I think the user has admin role of your openstack. | 10:29 |
masahito | please use same role with the service's user. | 10:30 |
tace | ok, neutron user seems have role admin. Thanks! | 10:38 |
openstackgerrit | Hiroaki Kobayashi proposed openstack/blazar master: Replace get_transport() calls https://review.openstack.org/471309 | 10:42 |
*** hiro-kobayashi has quit IRC | 10:43 | |
priteau | tace: you can run `openstack role list` to see all roles | 10:43 |
*** nicolasbock has joined #openstack-blazar | 10:44 | |
*** masahito has quit IRC | 10:52 | |
tace | Do I need to create "identityv3 service with appropriate endpoints:" even if this installation the keystone service has already /v3 in the end of endpoints names? | 11:07 |
*** hrito has quit IRC | 11:12 | |
priteau | tace: that should be enough | 11:51 |
tace | blazar-api --config-file /etc/blazar/blazar.conf ==> failed with ImportError: No module named flask | 12:33 |
tace | solved by installing flask of course, but now when started api and manager, fails to answer python-blazarclient requests..e.g. blazar host-list with error: The request you have made requires authentication. (HTTP 401) | 13:11 |
tace | tried to create this kind of https://pastebin.com/5dYZRrq6 rc file and sourcing it | 13:15 |
egonzalez | tace, using master or ocata? | 13:16 |
tace | ocata | 13:16 |
egonzalez | the needed for identityv3 service was removed in master | 13:17 |
tace | oh and according to instructions I cloned master from blazar... | 13:17 |
tace | these inst: http://blazar.readthedocs.io/en/latest/userdoc/installation.guide.html#installation-without-devstack | 13:18 |
egonzalez | tace, I was able to make it work without identityv3 service, let me remind how... | 13:18 |
egonzalez | tace, ocata instructions https://github.com/openstack/blazar/blob/stable/ocata/doc/source/userdoc/installation.guide.rst | 13:19 |
egonzalez | tace, you can set identity_service = identity (keystone identity service) and os_auth_version = v3 under default section | 13:20 |
tace | hmm am I reading wrong instructions? Seems still quite similar | 13:20 |
egonzalez | tace, only changed the keystone auth stuff | 13:21 |
tace | I cannot see the difference in instructions. Anyway I guess I'm using client wrongly, sourcing wrong variables or something... see pasted blazarrc_blazar file | 13:27 |
egonzalez | tace, this are my vars http://paste.openstack.org/show/611502/ | 13:30 |
egonzalez | tace, and blazar.conf http://paste.openstack.org/show/611506/ | 13:38 |
*** chlong has joined #openstack-blazar | 15:30 | |
*** egonzalez has quit IRC | 16:05 | |
*** egonzalez has joined #openstack-blazar | 17:24 | |
*** nicolasbock has quit IRC | 17:41 | |
*** nicolasbock has joined #openstack-blazar | 17:42 | |
tace | I managed to start both api and manager processes of blazar without errors, but when issuing e.g. blazar host-list from client I get error dump, see https://pastebin.com/Mex9YsxH | 19:42 |
*** priteau has quit IRC | 20:07 | |
egonzalez | tace need to set keystone_authtoken section too | 20:15 |
*** nicolasbock has quit IRC | 20:35 | |
*** egonzalez has quit IRC | 20:56 | |
*** egonzalez has joined #openstack-blazar | 20:56 | |
*** egonzalez has quit IRC | 22:11 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!