Friday, 2015-07-17

openstackgerritMerged stackforge/senlin: Revise devstack README.rst with new git repo  https://review.openstack.org/20252200:02
*** openstack has joined #senlin00:05
*** Qiming has joined #senlin00:27
openstackgerritMerged stackforge/senlin: Updated from global requirements  https://review.openstack.org/20270900:49
*** jruano has quit IRC01:04
*** Yanyanhu has joined #senlin01:37
*** jdandrea has quit IRC01:46
Yanyanhuhi, Qiming, are you there?02:03
*** lixinhui_ has joined #senlin02:08
Qimingyes02:11
lixinhui_qiming, we need solution on package dependency problem02:14
Qimingyes?02:14
lixinhui_I mean between senlin and vsphere driver02:14
lixinhui_I tried to rename the import02:14
lixinhui_but only nova is not enough02:14
Qimingso basically, you are using an old version of openstack02:15
lixinhui_kilo nova/neutron/cinder/keystone all depend on oslo.serialziation==1.4.0 and oslo.i18n==1.5.002:15
Qimingalright02:16
lixinhui_yes, vshere driver just upgrade to kilo and diffcicult to catch liberty02:16
Qimingokay, you can do 'sudo pip install oslo.serialization==1.4.0'02:17
lixinhui_after engine and spi start?02:17
Qimingno02:17
Qimingstop them then do the install02:17
Qimingfor oslo.i18n, you can do 'sudo pip install oslo.i18n==1.5.0'02:17
lixinhui_I see02:18
Qimingthese are lower bound set by global-requirements: http://git.openstack.org/cgit/openstack/requirements/tree/global-requirements.txt02:18
Qimingcannot be lower than that02:18
lixinhui_okay02:19
lixinhui_you mean with the lower oslo*, I can directly registry senlin and start engine/api?02:19
openstackgerritQiming Teng proposed stackforge/senlin: Fix trusts initliazation problem  https://review.openstack.org/20284702:20
QimingI don't think senlin is requiring a higher version02:20
*** jruano has joined #senlin02:20
Qimingchecking02:20
Qimingthere are some other packages that forced the upgrade of oslo.serialization and oslo.i18n02:21
Qimingjust install the lowest permitted version would solve it02:21
*** jruano has quit IRC02:22
lixinhui_I have to install high version to pass senlin install02:22
lixinhui_pbr=1.3.002:22
lixinhui_remember?02:22
lixinhui_with it, I have to upgrade oslo.serizalition02:23
Qimingsigh ...02:24
Yanyanhuhi, lixinhui_ , you can install senlin first, and then manually downgrade the pbr version by 'sudo pip install pbr=0.11'02:24
Yanyanhupbr==0.1102:24
lixinhui_yanyan, you mean I can switch back pbr to lower version for senlin endpoint regstry and engine/api start?02:25
Yanyanhufor engine/api start, I think it's ok02:26
Yanyanhufor endpoint registry, I didn't test it before02:26
lixinhui_let me try02:27
*** lixinhui_ has quit IRC02:31
*** lixinhui_ has joined #senlin02:32
lixinhui_sigh, home network is too poor02:34
QimingI'm at home too, :)02:42
QimingI'm running into another problem when setting up devstack on a new VM02:42
Qimingthe trust creation process is broken02:42
*** jruano has joined #senlin02:43
*** lixinhui_ has quit IRC02:45
Yanyanhuhi, Qiming, just approve the trust patch.02:46
Yanyanhuhttps://review.openstack.org/#/c/197161/02:46
Yanyanhujust saw this patch's update02:46
Yanyanhuseems ceilometer will keep current alarm interface in liberty release02:47
Qimingokay, don't play god, that's a lesson02:47
Yanyanhuem...02:48
Qimingdon't know where things are broken now02:50
Qimingwhen trying to create a trust between requester and senlin02:50
Qimingsdk reports an error that a certain role is not found02:51
Qimingthe role it cannot find is 'Member'02:52
*** jruano has quit IRC02:52
openstackgerritMerged stackforge/senlin: Fix trusts initliazation problem  https://review.openstack.org/20284702:52
*** Qiming has quit IRC03:02
*** Qiming has joined #senlin03:28
openstackgerritMerged stackforge/senlin: Add test case for Heat Stack Profile  https://review.openstack.org/20238203:36
*** jruano has joined #senlin03:42
*** jruano has quit IRC03:52
*** lixinhui_ has joined #senlin04:18
QimingYanyanhu,07:15
Qiminghttps://wiki.openstack.org/wiki/Keystone/Trusts07:15
Yanyanhunew wiki page for trust?07:15
Qimingdon't know07:16
Qimingbut the apis ... are they implemented?07:16
Qimingor in other words, is SDK making use of the right APIs?07:16
YanyanhuI think so07:16
Yanyanhuoh07:16
Yanyanhu /trusts07:16
Yanyanhunot the one we are using07:17
YanyanhuI remeber  /trusts is not available last time we tested it07:17
Qimingfor example: GET /user/<id>/trustors07:17
Yanyanhumay need some tests07:18
Qimingen07:18
Yanyanhuthese APIs were not described in this page https://github.com/openstack-attic/identity-api/blob/master/v3/src/markdown/identity-api-v3-os-trust-ext.md07:18
Yanyanhuwill do the test07:19
Qimingokay, need to find out07:19
Yanyanhuwill leave in 3:30 for a while07:19
Yanyanhuyes07:19
Qimingwhich is the "right" way to do this07:19
Yanyanhuyes07:19
Qimingthe api surface from keystone is too restrictive07:19
Yanyanhumaybe they just finished the API implemented recently :)07:19
Yanyanhuem07:20
Qimingmaybe the wiki was written a long time ago, who knows07:34
Qimingthe openstack wiki doesn't have a last update info07:34
Qimingoic07:36
Qimingyou can check the history info of a page, by clicking the tools menu07:37
Qimingfor the trusts one, it was written a long time ago: Date of latest edit14:36, 1 November 201307:37
lixinhui_why senlin_db_recreate need pbr 1.307:40
lixinhui_and there is no enforced sequence between registry and db_recatre, right?07:43
lixinhui_the step to create senlin db is conflict point:07:51
lixinhui_pkg_resources.ContextualVersionConflict: (pbr 1.3.0 (/usr/local/lib/python2.7/dist-packages), Requirement.parse('pbr!=0.7,<1.0,>=0.6'), set(['oslo.i18n', 'python-novaclient', 'python-neutronclient', 'oslo.context', 'python-heatclient', 'oslo.serialization']))07:52
lixinhui_without pass this, I think we can not start engine/api correctly? right07:52
Qiminglixinhui_, checking07:58
lixinhui_okay07:59
QimingI see no reason the senlin-db-create needs pbr 1.308:00
Qimingwhich version are you using now?08:01
QimingI mean pbr08:01
*** lixinhui_ has quit IRC08:03
openstackgerritQiming Teng proposed stackforge/senlin: Fix trust creation error  https://review.openstack.org/20291908:06
*** lixinhui_ has joined #senlin08:11
lixinhui_Qiming, I have to use pbr 1.3 for senlin pip install and db create08:12
Qimingthen you make sure senlin-engine and senlin-api can start08:12
Qimingthen you can downgrade pbr08:12
*** lixinhui_ has quit IRC08:16
*** lixinhui_ has joined #senlin08:17
lixinhui_home network is poor08:17
lixinhui_http://paste.openstack.org/show/383166/08:37
lixinhui_for the same reason08:40
lixinhui_http://paste.openstack.org/show/383173/08:40
lixinhui_despite db creation does not need these things08:40
lixinhui_engine start is similar to db-creatw08:49
lixinhui_http://paste.openstack.org/show/383174/08:49
lixinhui_can we revise the package dependency with more fine-granularity?08:54
Qimingoslo.middleware has to be 2.4.0: http://git.openstack.org/cgit/openstack/requirements/tree/global-requirements.txt#n8109:03
Qimingthis is getting messy09:04
Qimingseems that pbr is getting stricter in checking requirements09:05
QimingI think you have to do some hacks on the requirements.txt file in senlin09:06
Qimingthe only reason we require pbr>1.3 is for these lines:09:07
Qiminghttp://git.openstack.org/cgit/stackforge/senlin/tree/requirements.txt#n3709:07
Qiminghttp://git.openstack.org/cgit/stackforge/senlin/tree/requirements.txt#n3909:07
Qiminghttp://git.openstack.org/cgit/stackforge/senlin/tree/requirements.txt#n4009:07
Qimingline 37 was because qpid-python only supports python2.709:08
Qimingline 39 and 40 is because Routes 2.1 is breaking nova, but we need it to run py34 gate test09:08
Qiminga quick hack is this:09:09
Qiming1) remove line 40 from requirements.txt09:09
Qiming2) change line 39 to Routes!=2.0,!=2.1,>=1.12.309:09
Qiming3) remove line 37, if you are not using qpid09:10
Qiming4) change line 5 to: pbr<2.0,>=0.1109:10
Qimingthen you do install, just for local testing09:11
Qimingdon't check in your requirements.txt file when submitting patches, it will be rejected by gerrit automatically09:11
lixinhui_okay, let me try this09:12
*** Yanyanhu has quit IRC09:17
lixinhui_has anyone met this error before? error in setup command: 'tests_require' must be a string or list of strings containing valid project/version requirement specifiers; Expected ',' or end-of-list in mock>=1.1;python_version!='2.6' at ;python_version!='2.609:36
lixinhui_when pip install -e under /senlin09:37
Qimingthat is a pbr version problem09:38
Qimingyou can remove the ";python_version!='2.6'" part09:38
Qimingpbr 0.11 cannot recognize this09:38
Qimingthat is the root reason of the whole mess09:38
*** lixinhui_ has quit IRC09:46
*** lixinhui_ has joined #senlin09:48
openstackgerritQiming Teng proposed stackforge/senlin: Stop stealing keystonemiddleware options  https://review.openstack.org/20294909:50
*** lixinhui_ has quit IRC09:53
*** lixinhui_ has joined #senlin09:58
*** Qiming has quit IRC10:01
*** openstackgerrit has quit IRC10:31
*** lixinhui_ has quit IRC10:32
*** openstackgerrit has joined #senlin10:32
*** Qiming has joined #senlin10:53
*** lixinhui_ has joined #senlin11:48
*** jruano has joined #senlin11:56
lixinhui_Qiming, have you ever met this:12:18
lixinhui_senlinclient.common.exc.HTTPInternalServerError: ERROR(500): trusts() got an unexpected keyword argument 'filters'12:18
lixinhui_this is reported when I list profile12:19
Qimingyes12:26
Qimingjust found that bug and fixed12:27
Qimingoh, it is still there12:28
Qimingwait12:28
openstackgerritQiming Teng proposed stackforge/senlin: Fix trust creation error  https://review.openstack.org/20291912:29
Qimingthis one ^12:30
Qiminganother error caused by sdk changes12:30
Qimingself approved12:31
Qimingwait for merge12:31
openstackgerritMerged stackforge/senlin: Fix trust creation error  https://review.openstack.org/20291912:45
lixinhui_okay13:01
openstackgerritQiming Teng proposed stackforge/senlin: Stop stealing keystonemiddleware options  https://review.openstack.org/20294913:11
lixinhui_after fetch your patch, it becomes:13:23
lixinhui_senlinclient.common.exc.HTTPInternalServerError: ERROR(500): trusts() got an unexpected keyword argument 'project'13:23
*** jruano has quit IRC13:25
Qiming!!!13:29
openstackQiming: Error: "!!" is not a valid command.13:29
lixinhui_ha13:30
openstackgerritQiming Teng proposed stackforge/senlin: Fix parameter name passed to trust operations  https://review.openstack.org/20302713:33
Qimingsigh, it was made wrong by yanyan13:33
lixinhui_let me try again13:35
lixinhui_qiming, feel your night will be over13:49
lixinhui_ERROR(500): trusts() got an unexpected keyword argument 'trustee_user_id'13:49
*** jruano has joined #senlin13:54
*** jdandrea has joined #senlin13:56
openstackgerritMerged stackforge/senlin: Fix parameter name passed to trust operations  https://review.openstack.org/20302713:57
*** jruano has quit IRC14:04
Qiminglixinhui_, that sounds like a sdk problem14:14
Qimingare you using master version of sdk?14:19
lixinhui_sdk14:32
lixinhui_I install it from source code14:32
lixinhui_yes14:32
Qimingthe trustee_user_id problem does not make sense14:33
lixinhui_okay14:34
lixinhui_I checkout latest code then try again14:35
lixinhui_will checkout14:35
QimingI'm looking at sdk code as well14:43
*** lixinhui_ has quit IRC14:48
*** lixinhui_ has joined #senlin15:05
*** lixinhui_ has quit IRC15:40
*** Qiming has quit IRC16:40
openstackgerritMerged stackforge/python-senlinclient: Updated from global requirements  https://review.openstack.org/20315519:40
openstackgerritMerged stackforge/senlin: Updated from global requirements  https://review.openstack.org/20315619:48

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