Tuesday, 2017-06-06

openstackgerritHiroaki Kobayashi proposed openstack/blazar master: [WIP] Gate check  https://review.openstack.org/47117701:33
openstackgerritHiroaki Kobayashi proposed openstack/blazar master: [WIP] Gate check  https://review.openstack.org/47117703:47
*** masahito has joined #openstack-blazar04:59
*** masahito has quit IRC05:09
openstackgerritHiroaki Kobayashi proposed openstack/blazar master: [WIP] Gate check  https://review.openstack.org/47117705:20
*** masahito has joined #openstack-blazar06:04
*** masahito has quit IRC06:29
*** masahito has joined #openstack-blazar06:30
*** masahito has quit IRC07:06
*** nicolasbock has joined #openstack-blazar07:31
*** egonzalez has joined #openstack-blazar07:37
*** hiro-kobayashi has joined #openstack-blazar08:03
*** masahito has joined #openstack-blazar08:15
openstackgerritHiroaki Kobayashi proposed openstack/blazar master: [WIP] Gate check  https://review.openstack.org/47117708:23
*** masahito has quit IRC08:27
*** masahito has joined #openstack-blazar08:44
*** priteau has joined #openstack-blazar08:49
*** hrito has joined #openstack-blazar08:59
*** nicolasbock has quit IRC09:03
openstackgerritHiroaki Kobayashi proposed openstack/blazar master: [WIP] Gate check  https://review.openstack.org/47117709:15
taceHi, 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
taceHere 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
taceSo what users I should create?09:48
masahitotace: 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
masahitotace: finished the meeting.10:04
priteautace: you can use the blazar service user for the admin operations, it works fine10:04
masahitopriteau: oh, thanks.10:04
priteauas long as it has admin role, but generally service account have it10:05
taceso only one user needs to be created, ok.  Sorry what means blazar service user? Is it just normal user?10:19
priteautace: just like you have service users generally called "nova", "glance", etc., you need to have one for blazar10:20
tacelike named 'blazar' and then I use it to fill os_admin_username in default section.10:20
masahitotace: right.10:21
taceok got it, just 3-4 years since I used openstack...10:21
masahitotace: don't forget to assign admin role to the blazar user ;-)10:22
taceopenstack role add --project <project_name> --user <username> <admin_role>10:24
tacewhat strings can be used in <admin_role>, sorry these basic questions10:24
masahitoIn general, devstack creates 'admin' role.10:25
taceI'm running packstack10:26
masahitoI'm not familiar with packstack. but 'neutron' user or similar user exists, doesn't it?10:28
masahitofor instance, you can find the user within [neutron] section in nova.conf?10:29
masahitolike username=neutron10:29
masahitoI think the user has admin role of your openstack.10:29
masahitoplease use same role with the service's user.10:30
taceok, neutron user seems have role admin.  Thanks!10:38
openstackgerritHiroaki Kobayashi proposed openstack/blazar master: Replace get_transport() calls  https://review.openstack.org/47130910:42
*** hiro-kobayashi has quit IRC10:43
priteautace: you can run `openstack role list` to see all roles10:43
*** nicolasbock has joined #openstack-blazar10:44
*** masahito has quit IRC10:52
taceDo 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 IRC11:12
priteautace: that should be enough11:51
taceblazar-api --config-file /etc/blazar/blazar.conf    ==> failed with ImportError: No module named flask12:33
tacesolved 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
tacetried to create this kind of https://pastebin.com/5dYZRrq6 rc file and sourcing it13:15
egonzaleztace, using master or ocata?13:16
egonzalezthe needed for identityv3 service was removed in master13:17
taceoh and according to instructions I cloned master from blazar...13:17
tacethese inst: http://blazar.readthedocs.io/en/latest/userdoc/installation.guide.html#installation-without-devstack13:18
egonzaleztace, I was able to make it work without identityv3 service, let me remind how...13:18
egonzaleztace, ocata instructions https://github.com/openstack/blazar/blob/stable/ocata/doc/source/userdoc/installation.guide.rst13:19
egonzaleztace, you can set identity_service = identity (keystone identity service) and os_auth_version = v3 under default section13:20
tacehmm am I reading wrong instructions? Seems still quite similar13:20
egonzaleztace, only changed the keystone auth stuff13:21
taceI cannot see the difference in instructions. Anyway I guess I'm using client wrongly, sourcing wrong variables or something... see pasted blazarrc_blazar file13:27
egonzaleztace, this are my vars http://paste.openstack.org/show/611502/13:30
egonzaleztace, and blazar.conf http://paste.openstack.org/show/611506/13:38
*** chlong has joined #openstack-blazar15:30
*** egonzalez has quit IRC16:05
*** egonzalez has joined #openstack-blazar17:24
*** nicolasbock has quit IRC17:41
*** nicolasbock has joined #openstack-blazar17:42
taceI 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/Mex9YsxH19:42
*** priteau has quit IRC20:07
egonzaleztace need to set keystone_authtoken section too20:15
*** nicolasbock has quit IRC20:35
*** egonzalez has quit IRC20:56
*** egonzalez has joined #openstack-blazar20:56
*** egonzalez has quit IRC22:11

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!