Tuesday, 2016-09-20

*** andrey-mp has joined #openstack-ec2api05:48
ansiwenandrey-mp: who knows about the pupppet-ec2api module, do you know that? I think I'm using it wrongly. The switch to v2 didn't help, btw.06:12
ansiwenandrey-mp: you are not into puppet, IIRC, right?06:12
ansiwenandrey-mp: "Unable to establish connection to https://[::1]:5000/v2.0/tokens"06:13
ansiwenandrey-mp: http://logs.openstack.org/42/356442/7/check/gate-puppet-openstack-integration-4-scenario003-tempest-centos-7-nv/55baf37/console.html#_2016-09-19_09_27_54_79685906:13
andrey-mphi06:46
andrey-mpi don't know much about puppet-ec2api and about puppets...06:47
andrey-mpanother reson that I see - ec2 credentials are created too early06:56
andrey-mpfor example - glance_id_setter that uses same credentials for openstack tool.06:58
andrey-mpright after error I see creation of rabbit user, creation of authtokens for all services, ...06:59
andrey-mpplease look to glance and neutron sections here https://github.com/openstack/puppet-tempest/blob/master/manifests/init.pp#L66807:04
andrey-mpthese resources depend on keystone, tempest_config, something own. I think that you should depend ec2 on keystone_user_role and tempest_config there.07:06
andrey-mpansiwen: ^^07:07
andrey-mpand maybe in this case - keystone v3 credentials will work07:07
ansiwenandrey-mp: thanks, will have a look at that07:08
ansiwenandrey-mp: so this <||> stuff describes dependencies? good to know... will look it up07:14
andrey-mpyeah07:15
ansiwenandrey-mp: some modules use /v3 or /v2 at the end of the keystone auth urls... so I have no idea what would be the correct thing for ec2api... let me get you the code lines, so you know what I mean07:18
ansiwenhttps://github.com/openstack/puppet-openstack-integration/blob/master/manifests/barbican.pp#L47-L5307:19
ansiwenhttps://github.com/openstack/puppet-openstack-integration/blob/master/manifests/aodh.pp#L57-L6407:19
ansiwenhttps://github.com/openstack/puppet-openstack-integration/blob/master/manifests/mistral.pp#L42-L47 (this is the ::auth section, not authtolen, I know)07:21
ansiwenandrey-mp: ^07:21
andrey-mpThis section (keystone_authtoken) is parsed by keystoneauth1 library and it calls keystoneclient. so in general I don't care about version in these url - keystoneauth1 will care about it for me.07:23
andrey-mpas I know - difference in domains. v2 uses just user/password and v3 uses user/password/domains for auth07:23
andrey-mpalso - we don't know what version of keystone will be in the Cloud...07:24
andrey-mpnow I can't say what version should be use always - I use working version in each individual case07:25
andrey-mpyour version of ec2api can use versionless URL for keystone in keystone_url configuration's parameter07:29
andrey-mpnext version will use keystone_authtoken section (We recently merge this fix https://review.openstack.org/#/c/368475/ and will release it before the summit)07:30
ansiwenandrey-mp: so I don't need a /v2 or /v3 suffix neither in the auth nor in the authtoken section?07:30
andrey-mpyou don't need authtoken section at all for Mitaka version )07:30
andrey-mp(but please do not delete this section - it will be needed for Newton)07:31
ansiwenI'm working on master, which is Newton07:31
andrey-mpah, ok07:31
ansiweneven ocata soon, right?07:33
andrey-mpmmm, we will release ec2api before the summit - it will be newton version. and ocata will use the same section I think07:34
andrey-mpI tjink that for master version you can use any version. For example - barbican section07:36
ansiwenandrey-mp: so, with the /v3 ?07:41
ansiwenandrey-mp: and do you know what it means, if the user and project is set to "Default", like in the barbican case?07:42
ansiwenandrey-mp: do I have to run the tempest tests then with the same user?07:43
ansiwenandrey-mp: so far I chose an arbitrary username and the project "openstack" for the tempest run07:43
ansiwenI hoped that it will we created "automagically" :-)07:44
andrey-mpDefault - is the name of domain (for user and for project)07:51
andrey-mptempest tests you should provide aws_access/aws_secret for some existing project07:52
andrey-mpwe create user/project first in our gating and then get aws creds for them07:52
ansiwenanother detail I found for keystone setup: token_provider => 'fernet' for scenario003, which is the scenario I'm using. does it matter?08:14
ansiwenandrey-mp: ^08:14
andrey-mpI don't know what is it...08:15
*** andrey-mp has quit IRC08:44
*** andrey-mp has joined #openstack-ec2api11:06
*** andrey-mp has quit IRC11:12
*** andrey-mp has joined #openstack-ec2api11:27
*** andrey-mp has quit IRC11:38
*** andrey-mp has joined #openstack-ec2api18:28
cybojanekandrey-mp: Hi21:02
cybojanekI'm trying to use ec2-api with neutron RBAC for the private network21:02
cybojanekI had to modify instance.py line 1426:21:03
cybojanek'tenant_id': context.project_id})['networks']21:03
cybojanekand instead21:03
cybojanekjust })['networks']21:03
cybojanekIs the tenant_id needed there? Won't openstack filter things already by access control?21:04
cybojanekandrey-mp: I've also implemented a portion of import-image and would like to hand it back off to upstream if you're interested (http://docs.aws.amazon.com/cli/latest/reference/ec2/import-image.html)21:05
cybojanekIt deals with importing images21:05
cybojanekAFK - be back tomorrow21:34

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