Saturday, 2017-07-29

zhenguomorning mogan!01:07
zhenguoliusheng: does this need a quick +A https://review.openstack.org/#/c/487306/ ? as shaohe_feng is on vacation :D01:11
*** harlowja_ has quit IRC01:13
liushengzhenguo: ok01:21
*** openstackgerrit has joined #openstack-mogan01:21
openstackgerritMerged openstack/python-moganclient master: Updated from global requirements  https://review.openstack.org/48457901:21
zhenguoliusheng: maybe we should fix our physical env01:43
*** wanghao has joined #openstack-mogan01:44
liushengzhenguo: sure, many things need to do :)01:44
zhenguoliusheng: hah, we need to add a doc for that01:44
zhenguoliusheng: Intel and Fiberhome may also need that for testing01:45
liushengzhenguo: you mean expose our pysical env for them ?01:45
zhenguoliusheng: no, just a doc01:45
liushengzhenguo: oh, hah01:46
liushengzhenguo: I am try to testing get rid of Nova, but my env always install failed..01:46
zhenguoliusheng: why not just test it on your vm?01:46
liushengzhenguo: just want to totally install a new env and test before we change in project-config, hah01:48
zhenguoliusheng: Is there something wrong with our devstack plugin?01:48
zhenguoliusheng: someone also pinged me yesterday about the mogan setup issue01:49
openstackgerritMerged openstack/mogan master: Tempest: use network client than compute client to retrive network  https://review.openstack.org/48730601:49
liushengzhenguo: no, it is related with swift in my env01:49
liushengzhenguo: what issue ?01:49
zhenguoliusheng: not sure01:49
zhenguoliusheng: then he just restarcked and not ping me back01:50
liushengzhenguo: our gate can ensure devstack plugin, hah01:50
zhenguoliusheng: sure01:50
zhenguoliusheng: so maybe you can update the recommended devstack config file to disable nova, then I can setup a new env01:52
*** wanghao has quit IRC01:53
liushengzhenguo: ok, I am uploading my local.conf, may you can also test01:57
openstackgerritliusheng proposed openstack/mogan master: DNM: local.conf to test get-rid-of-nova  https://review.openstack.org/48890101:57
liushengzhenguo: ^01:57
zhenguoliusheng: hah01:57
zhenguoliusheng: nova is disabled with that?02:02
liushengzhenguo: yes02:03
zhenguoliusheng: so this has been fixed https://review.openstack.org/#/c/452413/ ?02:03
liushengzhenguo: seems I didn't meet that problem again, hah02:04
zhenguoliusheng: ok02:04
liushengzhenguo: if we test ok, I will abandon that patch02:04
zhenguoliusheng: and if you can enable tempest with nova disabled, it's ok02:04
liushengzhenguo: yes02:05
zhenguoliusheng: seems ironic do something to make the standalone mode work02:05
*** harlowja has joined #openstack-mogan02:05
liushengzhenguo: that is good02:05
zhenguoliusheng: maybe we should use ironic standalone instead02:05
zhenguoliusheng: I mean move network things to mogan02:06
liushengzhenguo: yes, but I checked the local.conf of gate log of the patch you sent to me. I am not very sure how it can run standalone02:06
zhenguoliusheng: I find there's no nova running there02:07
liushengzhenguo: what's the network things ?02:07
liushengzhenguo: hah02:07
zhenguoliusheng: I mean the logic to switch tenant and provision network02:07
zhenguoliusheng: add two tasks in our workflow02:08
zhenguoliusheng: but maybe in future02:08
liushengzhenguo: not very fimilar with that yet. may you can add that in our taks list02:08
liushengzhenguo: hah, yes02:08
zhenguoliusheng: ok,02:09
zhenguoliusheng: I can add a patch to project-config02:12
liushengzhenguo: but that has risk..02:13
zhenguoliusheng: maybe with a non-voting02:13
liushengzhenguo: ok, you can have a try02:14
openstackgerritliusheng proposed openstack/mogan master: Add ServerGroup object  https://review.openstack.org/48890902:30
openstackgerritZhenguo Niu proposed openstack/mogan master: DNM: local.conf to test get-rid-of-nova  https://review.openstack.org/48890102:31
zhenguoliusheng: I added a test patch on devstack gate and make https://review.openstack.org/488901 depends on that to see the result02:32
zhenguoliusheng: if that's ok, then we can sent a patch to project-config02:33
liushengzhenguo: can this test our situation ?02:33
zhenguoliusheng: yes02:33
liushengzhenguo: cool02:33
zhenguoliusheng: just override the enabled services on devstack-gate02:33
liushengzhenguo: ok02:34
zhenguoliusheng: btw, please help to test the aggregates API then we can move along.02:35
* zhenguo brb02:37
openstackgerritliusheng proposed openstack/mogan master: Add ServerGroup object  https://review.openstack.org/48890902:41
zhenguoliusheng: if I disabled nova in devstack-gate, placement seems can'02:55
zhenguoliusheng: cant's start tee: /etc/nova/placement-uwsgi.ini: No such file or directory02:55
liushengzhenguo: hmm, but we enable placement, that seems a bug02:56
zhenguoliusheng: you can check the log here https://review.openstack.org/#/c/488901/02:57
liushengzhenguo: I tested locally ok, but may because I didn't delete  the old one02:57
liushengzhenguo: ok02:57
liushengzhenguo: seems, yes03:04
zhenguoliusheng: if just add nova to the enabled_services, what will happen?03:06
liushengzhenguo: the placement uwsgi config file is under /etc/nova/ but in gate log, there isn't /etc/nova/ :(03:07
liushengzhenguo: will test locally03:08
openstackgerritZhenguo Niu proposed openstack/mogan master: Add aggregates tests  https://review.openstack.org/48829603:14
*** harlowja has quit IRC03:16
*** harlowja has joined #openstack-mogan03:18
liushengzhenguo: seems we cannnot play placement standalone, unless we create a pre_test_hook.sh and add some configurations for placement :(03:36
zhenguoliusheng: what configurations03:37
liushengzhenguo: create a /etc/nova/ and may need to add some configure options in nova.conf03:37
zhenguoliusheng: let me check the new gate log03:38
liushengzhenguo: I just read the devstack scripts03:38
liushengzhenguo: in function configure_nova of devstack/lib/nova, the is a statement: sudo install -d -o $STACK_USER $NOVA_CONF_DIR03:39
liushengzhenguo: which will create the /etc/nova/03:40
zhenguoliusheng: sigh03:40
zhenguoliusheng: maybe we can add a patch to devstack?03:40
liushengzhenguo: may placement guys didn't consider standalone yet :(03:41
zhenguoliusheng: brb, ttyl03:41
liushengzhenguo: a workaround way, we can add a pre_test_hook.sh to configre by ourself03:41
zhenguoliusheng: alex said, placement will start to move out in Q03:52
liushengzhenguo: so let's wait ?03:52
zhenguoliusheng: you mean add the dir?03:52
*** harlowja has quit IRC03:52
liushengzhenguo: yes03:53
zhenguoliusheng: I think we need to disable nova report resource to placement03:53
zhenguoliusheng: just disable some nova services will work?03:53
liushengzhenguo: I just install my env with the local.conf sucessfully and create a server03:54
liushengzhenguo: if nova.conf is ok, it can work03:54
zhenguoliusheng: will be away from lunch03:54
liushengzhenguo: ok03:54
zhenguoliusheng:ttyl03:54
liushengzhenguo: ttyl03:54
zhenguoliusheng: not sure if it will work if we change PLACEMENT_CONF_DIR04:57
liushengzhenguo: no matter what is the PLACEMENT_CONF_DIR, we need to create a dir04:58
zhenguoliusheng: if it's just /etc/04:59
zhenguoliusheng: and seems if you don't enable nova, it will not clone the repo at all05:03
zhenguoliusheng: another way, we install placement-api in mogan devstack plugin05:26
zhenguoliusheng: just like install python-moganclient05:28
*** deep-book-gk_ has joined #openstack-mogan05:31
*** deep-book-gk_ has left #openstack-mogan05:32
zhenguoliusheng: but still need nova-manage to create the db :(05:47
*** harlowja has joined #openstack-mogan06:02
liushengzhenguo: no, if you enable placement, it will download nova and create db tables, and will only start placement-api service06:08
zhenguoliusheng: really?06:12
zhenguoliusheng: no need to enable nova?06:12
liushengzhenguo: sure06:12
liushengzhenguo: you can take a look my env. hah06:12
liushengzhenguo: just installed06:12
liushengzhenguo: maybe also need the config options in [keystone_authtoken] of nova.conf06:13
liushengzhenguo: since it won't create nova acount, but placement acount06:13
zhenguoliusheng: enable placement or placement-api06:18
liushengzhenguo: placement-api06:18
zhenguoliusheng: seems not easy to get rid of nova06:20
liushengzhenguo: yes, may be just wait for placement being moved out of nova06:20
zhenguoliusheng: if no easy way, maybe yes06:21
zhenguoliusheng: still not figure out why enalbe placement-api will make nova installed06:28
liushengzhenguo: seems there is a nova services enalbed with the ENABLE_SERVICES config, not sure..06:41
*** harlowja has quit IRC06:47
zhenguoliusheng: if nova in ENABLE_SERVICES, the /etc/nova dir will be created06:57
liushengzhenguo: yes06:57
zhenguoliusheng: will it work if you enable both nova and placement06:58
zhenguoliusheng: no n-*06:58
liushengzhenguo: didn't try that06:58
zhenguoliusheng: maybe worth a try06:59
liushengzhenguo: if add "nova" in ENABLE_SERVICES, what's the nova services will be started ?06:59
liushengzhenguo: ok06:59
zhenguoliusheng: not sure, seems compute will be started06:59
zhenguoliusheng: seems the only way to achieve this is installing placement in mogan plugin07:00
liushengzhenguo: :(07:00
zhenguoliusheng: clone nova repo and install it, but only start placement service07:00
liushengzhenguo: yes07:00
zhenguoliusheng: also sync the db07:01
zhenguoliusheng: seems it makes sense that we start the placement07:01
liushengzhenguo: leverage devstack/lib/placement  ?07:02
zhenguoliusheng: yes, import it in our plugin, and call the functions07:02
zhenguoliusheng: but I want to make sure why nova will be installed with placement service enabled07:02
zhenguoliusheng: can you please confirm on your env again with nova moved to mova.bak07:03
liushengzhenguo: ok, will try07:04
zhenguoliusheng: thanks07:04
openstackgerritZhenguo Niu proposed openstack/mogan master: Add placement with mogan devstack plugin  https://review.openstack.org/48893107:46
openstackgerritliusheng proposed openstack/mogan master: Trivial-Fix: Correct KeypairExists exception name  https://review.openstack.org/48893407:54
openstackgerritZhenguo Niu proposed openstack/mogan master: Add placement with mogan devstack plugin  https://review.openstack.org/48893108:05
openstackgerritliusheng proposed openstack/mogan master: Remove legacy auth loading  https://review.openstack.org/48893708:29
openstackgerritZhenguo Niu proposed openstack/mogan master: Add placement with mogan devstack plugin  https://review.openstack.org/48893108:41
*** liusheng has quit IRC08:50
openstackgerritZhenguo Niu proposed openstack/mogan master: Add aggregates tests  https://review.openstack.org/48829609:21
openstackgerritZhenguo Niu proposed openstack/mogan master: Add aggregate nodes API  https://review.openstack.org/48728409:21
*** harlowja has joined #openstack-mogan17:59
*** harlowja has quit IRC18:14
*** harlowja has joined #openstack-mogan18:21
*** harlowja has quit IRC18:42

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