openstackgerrit | Merged stackforge/senlin: Revise devstack README.rst with new git repo https://review.openstack.org/202522 | 00:02 |
---|---|---|
*** openstack has joined #senlin | 00:05 | |
*** Qiming has joined #senlin | 00:27 | |
openstackgerrit | Merged stackforge/senlin: Updated from global requirements https://review.openstack.org/202709 | 00:49 |
*** jruano has quit IRC | 01:04 | |
*** Yanyanhu has joined #senlin | 01:37 | |
*** jdandrea has quit IRC | 01:46 | |
Yanyanhu | hi, Qiming, are you there? | 02:03 |
*** lixinhui_ has joined #senlin | 02:08 | |
Qiming | yes | 02:11 |
lixinhui_ | qiming, we need solution on package dependency problem | 02:14 |
Qiming | yes? | 02:14 |
lixinhui_ | I mean between senlin and vsphere driver | 02:14 |
lixinhui_ | I tried to rename the import | 02:14 |
lixinhui_ | but only nova is not enough | 02:14 |
Qiming | so basically, you are using an old version of openstack | 02:15 |
lixinhui_ | kilo nova/neutron/cinder/keystone all depend on oslo.serialziation==1.4.0 and oslo.i18n==1.5.0 | 02:15 |
Qiming | alright | 02:16 |
lixinhui_ | yes, vshere driver just upgrade to kilo and diffcicult to catch liberty | 02:16 |
Qiming | okay, you can do 'sudo pip install oslo.serialization==1.4.0' | 02:17 |
lixinhui_ | after engine and spi start? | 02:17 |
Qiming | no | 02:17 |
Qiming | stop them then do the install | 02:17 |
Qiming | for oslo.i18n, you can do 'sudo pip install oslo.i18n==1.5.0' | 02:17 |
lixinhui_ | I see | 02:18 |
Qiming | these are lower bound set by global-requirements: http://git.openstack.org/cgit/openstack/requirements/tree/global-requirements.txt | 02:18 |
Qiming | cannot be lower than that | 02:18 |
lixinhui_ | okay | 02:19 |
lixinhui_ | you mean with the lower oslo*, I can directly registry senlin and start engine/api? | 02:19 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Fix trusts initliazation problem https://review.openstack.org/202847 | 02:20 |
Qiming | I don't think senlin is requiring a higher version | 02:20 |
*** jruano has joined #senlin | 02:20 | |
Qiming | checking | 02:20 |
Qiming | there are some other packages that forced the upgrade of oslo.serialization and oslo.i18n | 02:21 |
Qiming | just install the lowest permitted version would solve it | 02:21 |
*** jruano has quit IRC | 02:22 | |
lixinhui_ | I have to install high version to pass senlin install | 02:22 |
lixinhui_ | pbr=1.3.0 | 02:22 |
lixinhui_ | remember? | 02:22 |
lixinhui_ | with it, I have to upgrade oslo.serizalition | 02:23 |
Qiming | sigh ... | 02:24 |
Yanyanhu | hi, lixinhui_ , you can install senlin first, and then manually downgrade the pbr version by 'sudo pip install pbr=0.11' | 02:24 |
Yanyanhu | pbr==0.11 | 02:24 |
lixinhui_ | yanyan, you mean I can switch back pbr to lower version for senlin endpoint regstry and engine/api start? | 02:25 |
Yanyanhu | for engine/api start, I think it's ok | 02:26 |
Yanyanhu | for endpoint registry, I didn't test it before | 02:26 |
lixinhui_ | let me try | 02:27 |
*** lixinhui_ has quit IRC | 02:31 | |
*** lixinhui_ has joined #senlin | 02:32 | |
lixinhui_ | sigh, home network is too poor | 02:34 |
Qiming | I'm at home too, :) | 02:42 |
Qiming | I'm running into another problem when setting up devstack on a new VM | 02:42 |
Qiming | the trust creation process is broken | 02:42 |
*** jruano has joined #senlin | 02:43 | |
*** lixinhui_ has quit IRC | 02:45 | |
Yanyanhu | hi, Qiming, just approve the trust patch. | 02:46 |
Yanyanhu | https://review.openstack.org/#/c/197161/ | 02:46 |
Yanyanhu | just saw this patch's update | 02:46 |
Yanyanhu | seems ceilometer will keep current alarm interface in liberty release | 02:47 |
Qiming | okay, don't play god, that's a lesson | 02:47 |
Yanyanhu | em... | 02:48 |
Qiming | don't know where things are broken now | 02:50 |
Qiming | when trying to create a trust between requester and senlin | 02:50 |
Qiming | sdk reports an error that a certain role is not found | 02:51 |
Qiming | the role it cannot find is 'Member' | 02:52 |
*** jruano has quit IRC | 02:52 | |
openstackgerrit | Merged stackforge/senlin: Fix trusts initliazation problem https://review.openstack.org/202847 | 02:52 |
*** Qiming has quit IRC | 03:02 | |
*** Qiming has joined #senlin | 03:28 | |
openstackgerrit | Merged stackforge/senlin: Add test case for Heat Stack Profile https://review.openstack.org/202382 | 03:36 |
*** jruano has joined #senlin | 03:42 | |
*** jruano has quit IRC | 03:52 | |
*** lixinhui_ has joined #senlin | 04:18 | |
Qiming | Yanyanhu, | 07:15 |
Qiming | https://wiki.openstack.org/wiki/Keystone/Trusts | 07:15 |
Yanyanhu | new wiki page for trust? | 07:15 |
Qiming | don't know | 07:16 |
Qiming | but the apis ... are they implemented? | 07:16 |
Qiming | or in other words, is SDK making use of the right APIs? | 07:16 |
Yanyanhu | I think so | 07:16 |
Yanyanhu | oh | 07:16 |
Yanyanhu | /trusts | 07:16 |
Yanyanhu | not the one we are using | 07:17 |
Yanyanhu | I remeber /trusts is not available last time we tested it | 07:17 |
Qiming | for example: GET /user/<id>/trustors | 07:17 |
Yanyanhu | may need some tests | 07:18 |
Qiming | en | 07:18 |
Yanyanhu | these 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.md | 07:18 |
Yanyanhu | will do the test | 07:19 |
Qiming | okay, need to find out | 07:19 |
Yanyanhu | will leave in 3:30 for a while | 07:19 |
Yanyanhu | yes | 07:19 |
Qiming | which is the "right" way to do this | 07:19 |
Yanyanhu | yes | 07:19 |
Qiming | the api surface from keystone is too restrictive | 07:19 |
Yanyanhu | maybe they just finished the API implemented recently :) | 07:19 |
Yanyanhu | em | 07:20 |
Qiming | maybe the wiki was written a long time ago, who knows | 07:34 |
Qiming | the openstack wiki doesn't have a last update info | 07:34 |
Qiming | oic | 07:36 |
Qiming | you can check the history info of a page, by clicking the tools menu | 07:37 |
Qiming | for the trusts one, it was written a long time ago: Date of latest edit14:36, 1 November 2013 | 07:37 |
lixinhui_ | why senlin_db_recreate need pbr 1.3 | 07: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? right | 07:52 |
Qiming | lixinhui_, checking | 07:58 |
lixinhui_ | okay | 07:59 |
Qiming | I see no reason the senlin-db-create needs pbr 1.3 | 08:00 |
Qiming | which version are you using now? | 08:01 |
Qiming | I mean pbr | 08:01 |
*** lixinhui_ has quit IRC | 08:03 | |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Fix trust creation error https://review.openstack.org/202919 | 08:06 |
*** lixinhui_ has joined #senlin | 08:11 | |
lixinhui_ | Qiming, I have to use pbr 1.3 for senlin pip install and db create | 08:12 |
Qiming | then you make sure senlin-engine and senlin-api can start | 08:12 |
Qiming | then you can downgrade pbr | 08:12 |
*** lixinhui_ has quit IRC | 08:16 | |
*** lixinhui_ has joined #senlin | 08:17 | |
lixinhui_ | home network is poor | 08:17 |
lixinhui_ | http://paste.openstack.org/show/383166/ | 08:37 |
lixinhui_ | for the same reason | 08:40 |
lixinhui_ | http://paste.openstack.org/show/383173/ | 08:40 |
lixinhui_ | despite db creation does not need these things | 08:40 |
lixinhui_ | engine start is similar to db-creatw | 08:49 |
lixinhui_ | http://paste.openstack.org/show/383174/ | 08:49 |
lixinhui_ | can we revise the package dependency with more fine-granularity? | 08:54 |
Qiming | oslo.middleware has to be 2.4.0: http://git.openstack.org/cgit/openstack/requirements/tree/global-requirements.txt#n81 | 09:03 |
Qiming | this is getting messy | 09:04 |
Qiming | seems that pbr is getting stricter in checking requirements | 09:05 |
Qiming | I think you have to do some hacks on the requirements.txt file in senlin | 09:06 |
Qiming | the only reason we require pbr>1.3 is for these lines: | 09:07 |
Qiming | http://git.openstack.org/cgit/stackforge/senlin/tree/requirements.txt#n37 | 09:07 |
Qiming | http://git.openstack.org/cgit/stackforge/senlin/tree/requirements.txt#n39 | 09:07 |
Qiming | http://git.openstack.org/cgit/stackforge/senlin/tree/requirements.txt#n40 | 09:07 |
Qiming | line 37 was because qpid-python only supports python2.7 | 09:08 |
Qiming | line 39 and 40 is because Routes 2.1 is breaking nova, but we need it to run py34 gate test | 09:08 |
Qiming | a quick hack is this: | 09:09 |
Qiming | 1) remove line 40 from requirements.txt | 09:09 |
Qiming | 2) change line 39 to Routes!=2.0,!=2.1,>=1.12.3 | 09:09 |
Qiming | 3) remove line 37, if you are not using qpid | 09:10 |
Qiming | 4) change line 5 to: pbr<2.0,>=0.11 | 09:10 |
Qiming | then you do install, just for local testing | 09:11 |
Qiming | don't check in your requirements.txt file when submitting patches, it will be rejected by gerrit automatically | 09:11 |
lixinhui_ | okay, let me try this | 09:12 |
*** Yanyanhu has quit IRC | 09: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.6 | 09:36 |
lixinhui_ | when pip install -e under /senlin | 09:37 |
Qiming | that is a pbr version problem | 09:38 |
Qiming | you can remove the ";python_version!='2.6'" part | 09:38 |
Qiming | pbr 0.11 cannot recognize this | 09:38 |
Qiming | that is the root reason of the whole mess | 09:38 |
*** lixinhui_ has quit IRC | 09:46 | |
*** lixinhui_ has joined #senlin | 09:48 | |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Stop stealing keystonemiddleware options https://review.openstack.org/202949 | 09:50 |
*** lixinhui_ has quit IRC | 09:53 | |
*** lixinhui_ has joined #senlin | 09:58 | |
*** Qiming has quit IRC | 10:01 | |
*** openstackgerrit has quit IRC | 10:31 | |
*** lixinhui_ has quit IRC | 10:32 | |
*** openstackgerrit has joined #senlin | 10:32 | |
*** Qiming has joined #senlin | 10:53 | |
*** lixinhui_ has joined #senlin | 11:48 | |
*** jruano has joined #senlin | 11: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 profile | 12:19 |
Qiming | yes | 12:26 |
Qiming | just found that bug and fixed | 12:27 |
Qiming | oh, it is still there | 12:28 |
Qiming | wait | 12:28 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Fix trust creation error https://review.openstack.org/202919 | 12:29 |
Qiming | this one ^ | 12:30 |
Qiming | another error caused by sdk changes | 12:30 |
Qiming | self approved | 12:31 |
Qiming | wait for merge | 12:31 |
openstackgerrit | Merged stackforge/senlin: Fix trust creation error https://review.openstack.org/202919 | 12:45 |
lixinhui_ | okay | 13:01 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Stop stealing keystonemiddleware options https://review.openstack.org/202949 | 13: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 IRC | 13:25 | |
Qiming | !!! | 13:29 |
openstack | Qiming: Error: "!!" is not a valid command. | 13:29 |
lixinhui_ | ha | 13:30 |
openstackgerrit | Qiming Teng proposed stackforge/senlin: Fix parameter name passed to trust operations https://review.openstack.org/203027 | 13:33 |
Qiming | sigh, it was made wrong by yanyan | 13:33 |
lixinhui_ | let me try again | 13:35 |
lixinhui_ | qiming, feel your night will be over | 13:49 |
lixinhui_ | ERROR(500): trusts() got an unexpected keyword argument 'trustee_user_id' | 13:49 |
*** jruano has joined #senlin | 13:54 | |
*** jdandrea has joined #senlin | 13:56 | |
openstackgerrit | Merged stackforge/senlin: Fix parameter name passed to trust operations https://review.openstack.org/203027 | 13:57 |
*** jruano has quit IRC | 14:04 | |
Qiming | lixinhui_, that sounds like a sdk problem | 14:14 |
Qiming | are you using master version of sdk? | 14:19 |
lixinhui_ | sdk | 14:32 |
lixinhui_ | I install it from source code | 14:32 |
lixinhui_ | yes | 14:32 |
Qiming | the trustee_user_id problem does not make sense | 14:33 |
lixinhui_ | okay | 14:34 |
lixinhui_ | I checkout latest code then try again | 14:35 |
lixinhui_ | will checkout | 14:35 |
Qiming | I'm looking at sdk code as well | 14:43 |
*** lixinhui_ has quit IRC | 14:48 | |
*** lixinhui_ has joined #senlin | 15:05 | |
*** lixinhui_ has quit IRC | 15:40 | |
*** Qiming has quit IRC | 16:40 | |
openstackgerrit | Merged stackforge/python-senlinclient: Updated from global requirements https://review.openstack.org/203155 | 19:40 |
openstackgerrit | Merged stackforge/senlin: Updated from global requirements https://review.openstack.org/203156 | 19:48 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!