*** wanghao has joined #openstack-mogan | 00:50 | |
wanghao | morning! | 00:59 |
---|---|---|
*** wanghao has quit IRC | 01:00 | |
*** wanghao has joined #openstack-mogan | 01:00 | |
liusheng | morning | 01:03 |
openstackgerrit | liusheng proposed openstack/mogan master: Improve resources updating process https://review.openstack.org/487351 | 01:03 |
*** wanghao_ has joined #openstack-mogan | 01:04 | |
zhenguo | morning! | 01:06 |
liusheng | zhenguo: hi, I just updated the patch ^, add a condition check :D | 01:07 |
*** wanghao has quit IRC | 01:07 | |
zhenguo | liusheng: ok | 01:07 |
zhenguo | liusheng: I added a patch to bump the placement api version to latest if not specified to be able to use aggregate | 01:08 |
liusheng | zhenguo: seems currently, the version can be inputted when call an interface | 01:10 |
zhenguo | liusheng: yes, | 01:11 |
zhenguo | liusheng: but I would perfer to add a default API version | 01:12 |
zhenguo | liusheng: instead of make different version of interfaces | 01:12 |
liusheng | zhenguo: I don't prever to set the default version to latest, because latest is unfixed, it will be increased by placement changes, maybe the latest version is not stable in the future | 01:12 |
liusheng | zhenguo: that is ok | 01:12 |
liusheng | zhenguo: what do you think about my question ? | 01:12 |
liusheng | zhenguo: how about just set the default version to currect biggest one ? | 01:13 |
zhenguo | liusheng: yes, we can change to a fixed version not latest | 01:13 |
liusheng | zhenguo: ok | 01:13 |
zhenguo | liusheng: let me check what the current latest version is | 01:14 |
liusheng | zhenguo: 1.10 | 01:15 |
liusheng | zhenguo: nova/api/openstack/placement/rest_api_version_history.rst | 01:15 |
zhenguo | liusheng: ok, thanks | 01:15 |
*** harlowja has quit IRC | 01:19 | |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Add default placement api version https://review.openstack.org/487372 | 01:21 |
openstackgerrit | Merged openstack/mogan master: Updated from global requirements https://review.openstack.org/487470 | 01:38 |
openstackgerrit | Merged openstack/mogan master: Remove support for py3.3 https://review.openstack.org/487321 | 01:58 |
wanghao_ | meeting? | 01:59 |
zhenguo | yeah | 02:00 |
wanghao_ | zhenguo: Do we need to decide the tasks which move to next cycle? | 02:52 |
liusheng | wanghao_: hi, do you have the eterpad link for chinese presentation ? | 02:52 |
wanghao_ | liusheng: https://etherpad.openstack.org/p/china-sydney-summit-sessions | 02:53 |
liusheng | wanghao_: thanks a lot | 02:53 |
wanghao_ | liusheng: np | 02:54 |
wanghao_ | zhenguo: Seems we forgot this topic at meeting.... | 02:54 |
zhenguo | wanghao_: we can decide which things must be done in Pike :D | 03:04 |
wanghao_ | zhenguo: I think aggregates, adopt existing node, quota for keypairs could be don in Pike | 03:05 |
zhenguo | wanghao_: yes, and we will try to add server groups as well | 03:05 |
zhenguo | wanghao_: as it's just based on aggregate | 03:06 |
wanghao_ | zhenguo: yeah, it also be here | 03:06 |
wanghao_ | zhenguo: do we can merge thing until end of august? | 03:06 |
zhenguo | wanghao_: I think so, hah | 03:06 |
wanghao_ | zhenguo: since we didn't follow the offical sceduler of Pike | 03:07 |
wanghao_ | hah | 03:07 |
zhenguo | wanghao_: yes, we just need one release that named pike | 03:07 |
wanghao_ | zhenguo: en, sure | 03:07 |
*** harlowja has joined #openstack-mogan | 03:31 | |
zhenguo | liusheng: do you know why we cache the rps and rp_agg_map? | 03:53 |
liusheng | zhenguo: seems in Nova it can reduce the unnecessary request for rps and rp_aggs | 03:54 |
zhenguo | liusheng: ok, maybe we need to refactor it | 03:55 |
liusheng | zhenguo: ok | 03:56 |
zhenguo | liusheng: but now I will just follow the cache implementation, refactoring can be hanppend later | 03:56 |
* zhenguo brb | 03:57 | |
openstackgerrit | Tao Li proposed openstack/mogan master: Manage existing BMs: Part-2 https://review.openstack.org/481544 | 04:08 |
*** wanghao has joined #openstack-mogan | 04:12 | |
*** wanghao_ has quit IRC | 04:13 | |
*** harlowja has quit IRC | 04:52 | |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: [WIP] Add aggregate nodes API https://review.openstack.org/487284 | 05:26 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Clean up some unused codes https://review.openstack.org/487701 | 05:43 |
*** bani has joined #openstack-mogan | 05:50 | |
*** litao__ has joined #openstack-mogan | 05:53 | |
openstackgerrit | Tao Li proposed openstack/mogan master: Fix the stuck in *ing in powering servers. https://review.openstack.org/476862 | 06:27 |
zhenguo | wanghao: maybe we should also add cinder integration before Pike | 06:31 |
wanghao | zhenguo: en, introduce the cinder client and support to create and attach volume for node? | 06:32 |
zhenguo | wanghao: only support boot from volume like nova | 06:32 |
zhenguo | wanghao: as Ironic will basically get boot-from-volume support, that's a cool thing if we can also land | 06:32 |
wanghao | zhenguo: en sure, that could be done | 06:33 |
zhenguo | wanghao: seems only need a few API | 06:33 |
zhenguo | wanghao: the new V3 is enough for us | 06:33 |
wanghao | zhenguo: yeah, I aslo suggest to use v3 api in cinder | 06:34 |
zhenguo | wanghao: cool | 06:34 |
wanghao | zhenguo: since cinder can support create volume, create volume from image , snapshot, backup, volume. | 06:35 |
wanghao | zhenguo: so I think we may just support to create volume from image first. | 06:35 |
zhenguo | wanghao: yeah, it's ok, we only have image now | 06:36 |
wanghao | zhenguo: since that will create a bootable volume in cinder | 06:36 |
zhenguo | wanghao: no snapshot support yet | 06:36 |
wanghao | zhenguo: sure | 06:36 |
openstackgerrit | Tao Li proposed openstack/mogan master: Rollback to the original status when server powering action failed https://review.openstack.org/476862 | 06:36 |
wanghao | zhenguo: let'm checkt the ironic API to see the detail about boot-from-volume. | 06:36 |
zhenguo | wanghao: not sure if it's finished or not | 06:37 |
wanghao | zhenguo: any review link? | 06:37 |
zhenguo | wanghao: but I find the task will be pushing in Pike, so it should be able to get landed | 06:37 |
zhenguo | wanghao: the workflow seems like this https://specs.openstack.org/openstack/ironic-specs/specs/not-implemented/volume-connection-information.html | 06:37 |
wanghao | zhenguo: cool, since we need to know the API format. | 06:38 |
zhenguo | wanghao: yes | 06:38 |
wanghao | zhenguo: so maybe we implement it earyler than Ironic? | 06:38 |
wanghao | zhenguo: never mind, we can do the high layer coding. :) | 06:39 |
zhenguo | wanghao: yes, it's almost done in ironic | 06:39 |
wanghao | zhenguo: okay | 06:40 |
zhenguo | liusheng: do you know how to run py35 with tox now? | 06:44 |
liusheng | zhenguo: did't try, tox -epy35 ? | 06:45 |
zhenguo | liusheng: seems can't work | 06:45 |
liusheng | zhenguo: let me try | 06:46 |
zhenguo | liusheng: thanks | 06:46 |
* zhenguo brb | 06:47 | |
openstackgerrit | Tao Li proposed openstack/mogan master: Manage existing BMs: Part-2 https://review.openstack.org/481544 | 06:47 |
openstackgerrit | Tao Li proposed openstack/mogan master: Rollback to the original status when server powering action failed https://review.openstack.org/476862 | 06:50 |
zhenguo | wanghao: I remember you mentioned there should be a following up patch for gmr after uwsgi | 06:59 |
wanghao | zhenguo: yes | 06:59 |
wanghao | zhenguo: we have finished the uwsgi job? | 07:00 |
zhenguo | wanghao: seems yes, liusheng^^ | 07:00 |
wanghao | zhenguo: okay, great, I will add it ASAP | 07:01 |
zhenguo | wanghao: ok, thanks | 07:01 |
zhenguo | liusheng: just found, we still left some unused codes after moving to placement https://review.openstack.org/#/c/487701/ | 07:03 |
wanghao | zhenguo: I found the API has merged: https://review.openstack.org/#/c/214586/ | 07:04 |
wanghao | zhenguo: in Ironic for boot from volume | 07:04 |
zhenguo | wanghao: cool | 07:04 |
liusheng | zhenguo: thanks for cleanup, I remember I removed that... hah | 07:05 |
zhenguo | liusheng: hah | 07:05 |
wanghao | guys, is there any question for keypairs quota? Need your review : ) | 07:25 |
zhenguo | wanghao: will test it after my env is ready | 07:38 |
wanghao | zhenguo: cool, thanks again! | 07:38 |
zhenguo | wanghao: hah, sorry for the delay | 07:38 |
openstackgerrit | wanghao proposed openstack/mogan master: Support Guru in uwsgi way https://review.openstack.org/487738 | 08:03 |
wanghao | zhenguo: np :_ | 08:10 |
wanghao | :) | 08:10 |
wanghao | liusheng: ping | 08:10 |
wanghao | liusheng: hava a question for uwsgi | 08:11 |
liusheng | wanghao: pong | 08:11 |
wanghao | 2. On deb-based systems copy or symlink the file to | 08:11 |
wanghao | ``/etc/apache2/sites-available/mogan.conf`` | 08:11 |
wanghao | you mean which file? | 08:11 |
wanghao | I think it's not /etc/mogan/mogan.conf right? | 08:11 |
liusheng | zhenguo: sorry, seems there is a problem, let me check the doc | 08:17 |
wanghao | you mean me, right? hahaha | 08:20 |
openstackgerrit | liusheng proposed openstack/mogan master: Fix uwsgi doc to avoid misunderstanding https://review.openstack.org/487757 | 08:36 |
liusheng | wanghao: I just uploaded a patch to update the doc | 08:37 |
wanghao | liusheng: okay | 08:37 |
liusheng | zhenguo: sorry for misleading :( | 08:37 |
wanghao | liusheng: btw, do you meet this error: open("./python_plugin.so"): No such file or directory [core/utils.c line 3686]? | 08:38 |
wanghao | liusheng: I can't start the uwsgi /etc/mogan/mogan-uwsgi.ini since this error in my unbuntu | 08:38 |
liusheng | wanghao: no, the "pip install uwsgi" is ok ? | 08:39 |
wanghao | yes | 08:40 |
liusheng | wanghao: please try: uwsgi --ini /etc/mogan/mogan-uwsgi.ini | 08:42 |
wanghao | liusheng: I add this plugins-dir = /usr/lib/uwsgi/plugins | 08:42 |
wanghao | liusheng: that works | 08:43 |
wanghao | liusheng: seems you need to specify the plugins-dir in mogan-uwsgi.ini | 08:43 |
openstackgerrit | liusheng proposed openstack/mogan master: Fix uwsgi doc to avoid misunderstanding https://review.openstack.org/487757 | 08:43 |
liusheng | wanghao: you mean in mogan-uwsgi.ini ? | 08:44 |
wanghao | yes | 08:44 |
wanghao | and I also can't find: /var/run/uwsgi/mogan-api-wsgi.socket | 08:44 |
wanghao | so there is one more error: bind(): No such file or directory [core/socket.c line 230] | 08:45 |
liusheng | wanghao: the mogan-uwsgi.ini is genrated by devstack scripts, it can work in my env without plugins-dir | 08:45 |
wanghao | liusheng: I didn't use devstack, but just follow your guide: 4. Copy mogan/etc/mogan-uwsgi.ini.sample to /etc/mogan/mogan-uwsgi.ini. | 08:46 |
wanghao | liusheng: so I copy this file to /etc/mogan, but it has some error. | 08:47 |
wanghao | liusheng: could you find /var/run/uwsgi/mogan-api-wsgi.socket? | 08:47 |
liusheng | wanghao: do you have config file under /etc/apache2/sites-available/ and /etc/apache2/sites-enable/ ? | 08:47 |
liusheng | zhenguo: and restart apache2 | 08:48 |
zhenguo | hah, | 08:48 |
liusheng | wanghao: and restart apache2 | 08:48 |
liusheng | hah, sent to wrong person | 08:48 |
wanghao | liusheng: wait a second | 08:49 |
zhenguo | sorry guys, I'm in a internal meeting | 08:49 |
wanghao | liusheng: could not restart apache2 sucessful | 08:52 |
wanghao | liusheng: AH00526: Syntax error on line 2 of /etc/apache2/sites-enabled/mogan.conf | 08:52 |
wanghao | ProxyPass URL must be absolute!: unix:/var/run/uwsgi/mogan-api-wsgi.socket | 08:52 |
wanghao | liusheng: I can't find the mogan-api-wsgi.socket | 08:53 |
wanghao | SetEnv proxy-sendcl 1 | 08:55 |
wanghao | ProxyPass "/baremetal_compute" "unix:/var/run/uwsgi/mogan-api-wsgi.socket" retry=0 | 08:55 |
wanghao | I copy those to mogan.conf, but it failed | 08:55 |
liusheng | wanghao: how about: ProxyPass "/baremetal_compute" "unix:/var/run/uwsgi/mogan-api-wsgi.socket|uwsgi://uwsgi-uds-mogan-api-wsgi/" retry=0 | 08:56 |
wanghao | liusheng: one line? | 08:58 |
wanghao | liusheng: it works | 08:59 |
liusheng | wanghao: the doc was copied from other project :( | 09:00 |
wanghao | ... | 09:00 |
wanghao | seems the last one is okay | 09:01 |
wanghao | liusheng: but still can't start uwsgi: uwsgi /etc/mogan/mogan-uwsgi.ini | 09:02 |
wanghao | it failed | 09:02 |
wanghao | bind(): No such file or directory [core/socket.c line 230] | 09:02 |
liusheng | wanghao: no /var/run/uwsgi/mogan-api-wsgi.socket file ? | 09:03 |
openstackgerrit | liusheng proposed openstack/mogan master: Fix uwsgi doc to avoid misunderstanding https://review.openstack.org/487757 | 09:03 |
wanghao | no | 09:03 |
liusheng | wanghao: that is strange, seems, the socket file can be created automatically | 09:08 |
wanghao | how? | 09:08 |
wanghao | uwsgi --ini /etc/mogan/mogan-wsgi.ini ? | 09:08 |
wanghao | seems couldn't | 09:09 |
liusheng | wanghao: yes | 09:10 |
wanghao | Got it why | 09:10 |
wanghao | I didn't have /var/run/uwsgi | 09:10 |
wanghao | so it failed | 09:11 |
wanghao | better to check it in our doc, I think | 09:11 |
liusheng | wanghao: I just tried in my env, it can autumatically generate a socket file | 09:13 |
wanghao | liusheng: yes, since you have /var/run/uwsgi | 09:13 |
wanghao | liusheng: I'm not why I didn't have, maybe devstack will build it | 09:13 |
liusheng | wanghao: yes :(,it is created by devstack | 09:14 |
liusheng | zhenguo: how if you create the dir and chonw to stack.stack, then try ? | 09:14 |
wanghao | liusheng: but I think we'd better add a note in our doc, since user may not use it by devstack, | 09:14 |
liusheng | wanghao: sure | 09:14 |
liusheng | zhenguo: will update the patch, thank for check this! | 09:15 |
wanghao | liusheng: np | 09:16 |
wanghao | liusheng: and guru for supporting this have tested, it works fine. | 09:17 |
wanghao | ======================================================================== | 09:17 |
wanghao | ==== Green Threads ==== | 09:17 |
wanghao | ======================================================================== | 09:17 |
liusheng | wanghao: ok, will review, thanks | 09:17 |
wanghao | we can get the guru report by touch a file under uwsgi | 09:17 |
wanghao | liusheng: sure | 09:17 |
openstackgerrit | liusheng proposed openstack/mogan master: Fix uwsgi doc to avoid misunderstanding https://review.openstack.org/487757 | 09:28 |
liusheng | wanghao: I have updated the patch :) | 09:30 |
wanghao | liusheng: sure | 09:31 |
*** wanghao has quit IRC | 09:32 | |
*** wanghao has joined #openstack-mogan | 09:35 | |
openstackgerrit | liusheng proposed openstack/mogan master: Fix uwsgi doc to avoid misunderstanding https://review.openstack.org/487757 | 09:54 |
*** wanghao has quit IRC | 09:55 | |
*** wanghao has joined #openstack-mogan | 09:56 | |
*** wanghao has quit IRC | 09:56 | |
*** wanghao has joined #openstack-mogan | 09:57 | |
zhenguo | liusheng: seems it's not easy to delete aggregate, as the rp may have allocations | 09:58 |
liusheng | zhenguo: that is sad :( | 09:58 |
zhenguo | liusheng: but we must provide that | 09:59 |
*** wanghao has quit IRC | 10:01 | |
liusheng | zhenguo: but Nova now is FFE :( | 10:03 |
liusheng | zhenguo: s/FFE/FF | 10:03 |
zhenguo | liusheng: seems we misused aggregates set, it will replace all aggregates of the rp | 10:20 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Add aggregate nodes API https://review.openstack.org/487284 | 11:01 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Add aggregate nodes API https://review.openstack.org/487284 | 11:49 |
* zhenguo away | 11:50 | |
*** litao__ has quit IRC | 11:51 | |
*** bani has quit IRC | 13:26 | |
*** harlowja has joined #openstack-mogan | 17:09 | |
*** openstack has joined #openstack-mogan | 22:46 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!