Friday, 2016-10-07

*** andrey-mp has quit IRC06:50
*** andrey-mp has joined #openstack-ec2api07:05
*** andrey-mp has quit IRC07:38
*** andrey-mp has joined #openstack-ec2api08:07
ansiwenandrey-mp: so, the tests are finally running, and they are either skipped or failing, yeah! ;-)08:51
ansiwenandrey-mp: http://logs.openstack.org/42/356442/20/check/gate-puppet-openstack-integration-4-scenario003-tempest-centos-7/83a2063/console.html#_2016-10-06_16_58_38_48623508:51
andrey-mpcool :)08:57
ansiwenandrey-mp: :-) well, if you could give me a hont what is failing there, or how to proceed how to find out?09:49
andrey-mp- logs of ec2api service doesn't contain debug information - it would be helpful to solve some problems (you need to set debug=true in ec2api.conf)09:52
andrey-mpthis message says that ec2api couldnt't authorize in keystone with these credentials09:52
andrey-mpwas the user/project created in keystone?09:54
ansiwenandrey-mp: yes, the user "ec2api-tester" has been created. and with this user the ec2 credentals have been created as well.10:22
ansiwenhow is determined with which users the tempest tests are run with? is this implicit with the aws_access config?10:23
ansiwenandrey-mp: and what about botocore? I don't set a ca_bundle, but in ec2api CI it's also not set.11:01
andrey-mpansiwen: keystone obtains user from aws_access/aws_secret pair11:02
ansiwenok, so that should be fine11:02
andrey-mpbotocore must be present and I see that it present11:03
andrey-mpca_bundle is needed only for SSL connections11:03
ansiwenandrey-mp: what does this line do exactly? https://github.com/openstack/ec2-api/blob/master/devstack/create_config#L12011:14
ansiwenandrey-mp: I'm not sure I have something corresponding in the puppet world11:14
andrey-mpthese two lines set configuration for aws cli tool11:16
ansiwenandrey-mp: my ec2 credentials provider just uses "openstack ec2 create..." to create the credentials and writes them into tempest.conf, maybe I have to do more than that?11:16
andrey-mpit doesn't related to tempest11:16
ansiwenandrey-mp: and is the aws tool used by tempest? why do you set it there?11:16
ansiwenoh, ok11:16
andrey-mpi use aws cli after tempest run to check something11:17
ansiwenI added the user to the "Member" role, maybe another role is necessary for ec2api?11:17
andrey-mpno11:18
ansiwenhmmm11:23
andrey-mplogs from keystone are needed for understanding11:24
ansiwenandrey-mp: there are none?11:24
ansiwenandrey-mp: did you see http://logs.openstack.org/42/356442/21/check/gate-puppet-openstack-integration-4-scenario001-tempest-centos-7/cef9f8e/logs/tempest.txt.gz#_2016-10-07_09_09_50_15811:33
ansiwensetUpClass failed: An error occurred (AuthFailure) when calling the DescribeAccountAttributes operation: Bad Request11:33
andrey-mpyeah, this is the same error11:34
ansiwenthis also doesn't look good http://logs.openstack.org/42/356442/21/check/gate-puppet-openstack-integration-4-scenario001-tempest-centos-7/cef9f8e/logs/tempest.txt.gz#_2016-10-07_09_09_53_13111:35
ansiwentearDownClass failed: type object 'EC2_EBSInstanceAttaching' has no attribute 'volume_id1'11:35
andrey-mplast error caused by previous :)11:37
ansiwenok11:39
ansiwenso this is not enough to see what's going on? http://logs.openstack.org/42/356442/21/check/gate-puppet-openstack-integration-4-scenario001-tempest-centos-7/cef9f8e/logs/keystone/keystone.txt.gz11:39
ansiwenwhat can I do to get the necessary information?11:39
andrey-mpi'm sorry - i can help you some time later11:44
ansiwenok11:45
ansiwenandrey-mp: thanks!11:45
*** ftersin has joined #openstack-ec2api12:58
*** DarkM has joined #openstack-ec2api13:04
*** DarkM has left #openstack-ec2api13:07
andrey-mpok, I've got it13:59
andrey-mphttp://logs.openstack.org/42/356442/21/check/gate-puppet-openstack-integration-4-scenario001-tempest-centos-7/cef9f8e/logs/etc/ec2api/ec2api.conf.txt.gz13:59
andrey-mpkeystone_ec2_tokens_url is not defined and default value is used14:00
andrey-mpbut default value refers to keystone_url which defined without version14:00
andrey-mpbut keystone_ec2_tokens_url needs url with version14:02
andrey-mpso14:05
andrey-mpone of last changes in master ( https://review.openstack.org/#/c/368475/10 ) deprecated keystone_url usage14:06
andrey-mpand I suggest to change configuring of ec2api service:14:06
andrey-mp - remove configuring of keystone_url14:06
andrey-mp - configure keystone_ec2_tokens_url as KEYSTONE_URL/VERSION/ec2tokens14:07
andrey-mpansiwen: ^^^14:07
ansiwenandrey-mp: ok, thanks a lot!14:08
ansiwenandrey-mp: this looks good? keystone_ec2_tokens_url => "${::openstack_integration::config::keystone_auth_uri}/v3/ec2tokens",14:17
ansiwensanity-check: it's the uri with port 5000 ?14:17
andrey-mpyeah14:18
andrey-mpit's simplier to get 500014:18
andrey-mp(let's try this :) )14:19
*** ansiwen has quit IRC14:22
*** ansiwen has joined #openstack-ec2api14:23
ansiwenandrey-mp: pushed, let's see14:25
andrey-mpok14:26
andrey-mpI will go home in 10 minutes. and will check channel logs later.14:27
*** andrey-mp has quit IRC14:32
*** iurygregory has joined #openstack-ec2api14:46
ansiweniurygregory: http://eavesdrop.openstack.org/irclogs/%23openstack-ec2api/%23openstack-ec2api.2016-10-07.log.html#t2016-10-07T13:59:5314:59
iurygregoryansiwen, reading14:59
ansiweniurygregory: there are some tests succeeding now, yay! :-)15:04
ansiwenhttp://logs.openstack.org/42/356442/24/check/gate-puppet-openstack-integration-4-scenario003-tempest-centos-7/a9479f5/console.html#_2016-10-07_14_52_20_95226015:04
ansiwenbut many are still failing15:04
iurygregoryhumm15:06
iurygregoryansiwen, what repo ec2 tempest tests are in?15:08
ansiweniurygregory: in the ec2-api repo itself15:41
iurygregoryansiwen, ok i'll try to look at tests16:11
*** andrey-mp has joined #openstack-ec2api18:57
andrey-mpvery strange behaviour http://logs.openstack.org/42/356442/24/check/gate-puppet-openstack-integration-4-scenario003-tempest-centos-7/a9479f5/logs/ec2api/ec2api.txt.gz#_2016-10-07_14_51_12_78719:03
andrey-mpdatabase is not created properly19:04
andrey-mp(pymysql.err.ProgrammingError) (1146, u"Table 'ec2api.items' doesn't exist")19:05
andrey-mpansiwen: ^^^19:07
andrey-mpis ec2api-manage run during ec2api instalation?19:08
*** ansiwen has quit IRC19:33
*** ansiwen has joined #openstack-ec2api19:34
*** cybojanek has quit IRC19:56
*** cybojanek has joined #openstack-ec2api19:56
*** openstack has joined #openstack-ec2api20:19
*** cybojanek has quit IRC20:33
*** ansiwen has quit IRC20:33
*** cybojanek has joined #openstack-ec2api20:39
*** ansiwen has joined #openstack-ec2api20:40
*** ftersin has quit IRC20:50
*** iurygregory has quit IRC21:15

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