Thursday, 2017-08-31

*** wanghao has quit IRC00:22
*** wanghao has joined #openstack-mogan00:22
zhenguomorning mogan!01:13
liushengmorning01:15
zhenguoliusheng: should we also use flavor name for server show in our CLI?01:15
liushengzhenguo: seems many patches merged yestoday. lol01:15
zhenguoliusheng: hah01:15
zhenguoliusheng: I proposed a new one for partitions01:15
liushengzhenguo: you are capable!01:16
zhenguoliusheng: hah01:16
zhenguoliusheng: seems I got the reason whey we only support whole disk image01:16
liushengzhenguo: why ?01:16
zhenguoliusheng: as no partitions passed to the node01:16
liushengzhenguo: so maybe that will be solved after your proposal landed ?01:17
zhenguoliusheng: need more test01:18
zhenguoliusheng: https://github.com/openstack/mogan/blob/master/mogan/baremetal/ironic/driver.py#L147-L14901:18
zhenguoliusheng: currently we fetch the root_gb information form node local_gb property01:18
zhenguoliusheng: but irnonic may not always provide that01:18
liushengzhenguo: so may need to ensure that property be set before provision ?01:20
zhenguoliusheng: but not flexible01:20
zhenguoliusheng: which means we also use the whole disk01:20
liushengzhenguo: how if we support partition01:22
zhenguoliusheng: you can specify the root, swap, ephemeral partions size01:23
liushengzhenguo: does those info will be in flavor ?01:24
zhenguoliusheng: no01:24
zhenguoliusheng: you can specify any size01:24
zhenguoliusheng: as the whole disk is for you, no like vm01:24
liushengzhenguo: oh, I found you patch, got it01:24
zhenguoliusheng: hah01:25
liushengzhenguo: yes01:25
liushengzhenguo: just confirmed, OSC server show command show the flavor name and uuid, similar with image01:25
liushengzhenguo: may we can follow that01:25
zhenguoliusheng: yes, better to follow that01:26
liushengzhenguo: ok, submit a patch01:26
zhenguoliusheng: server list doesn't show flavor?01:26
liushengzhenguo: will submit01:26
zhenguoliusheng: thanks01:26
liushengzhenguo: yes, list output only show name, but with --long parameter01:27
zhenguoliusheng: got it01:27
zhenguoliusheng: what image we used for server creation on our temepst?01:27
liushengzhenguo: seems the cirros -disk image01:29
zhenguoliusheng: ok01:29
liushengzhenguo: in the [baremetal] in tempest.conf it already configure the partition image ,but seems we don't use that01:30
zhenguoliusheng: let me check01:31
zhenguoliusheng: nearly forget we will have a meeting today :D01:40
liushengzhenguo: hah01:40
openstackgerritZhong Luyao proposed openstack/python-moganclient master: Add interface attach/detach support  https://review.openstack.org/46616801:47
Xinranzhenguo,  hello, so how can I sync db when I add  a new column to server01:53
Xinranzhenguo,  seems need to restack?01:54
zhenguoXinran: if you just modify the initi db migration file, you can't sync db01:54
zhenguoXinran: yes01:54
zhenguoXinran: we will add new version of db changes from next cycle, sorry for the inconvenient01:54
Xinranzhenguo,  hah, np, I will try to restack01:55
zhenguoXinran: hah01:55
shaohe_fengzhenguo: morning02:00
zhenguoshaohe_feng: morning02:00
zhenguohi all, the weekly meeting will happen soon, please move to #openstack-meeting02:00
*** litao__ has joined #openstack-mogan02:02
openstackgerritZhong Luyao proposed openstack/python-moganclient master: Add interface attach/detach support  https://review.openstack.org/46616802:03
*** wong_ has joined #openstack-mogan02:52
wong_hi02:52
liushengwong_: hi02:53
wong_I am working in ironic,my colleague tell me the mogan02:55
wong_what's the different between them?02:56
wong_I am chinese, if english is hard to type :)02:58
zhenguowong_: sorry we were in the weekly meeting :D03:00
zhenguowong_: ironic is quite like libvirt, but mogan is like nova03:00
wong_aha,my honor03:01
wong_your word is clear03:02
zhenguolol03:02
zhenguofor more details, you can refer to our wiki03:03
* zhenguo brb03:03
wong_I am looking  it03:03
zhenguoliusheng: seems we use partitions image for server creations in our temepst, the gate is red if I don't pass partitions info03:21
liushengzhenguo: :(, may need to use the partition info03:22
zhenguoliusheng: yes, I will keep the current implementation to keep using local_gb as default root partions if there's no partions with partitoned images03:22
liushengzhenguo: so do you need to create another server for testing ?03:23
liushengzhenguo: you know for saving time, we only use 1 server in tempest03:23
zhenguoliusheng: hah, so only keep the 1 server is enough03:24
zhenguoliusheng: which uses the defult partition, or do you like ot send partitions there?03:24
liushengzhenguo: it is not a good way, but Mogan server creating is time consuming03:24
zhenguoliusheng: yes03:24
zhenguoliusheng: maybe add another job with runs in a separated vm03:25
liushengzhenguo: or maybe change to use partition, I think is partitoned server is advanced than general server, it can cover most cases. hah03:25
zhenguoliusheng: hah ok03:26
zhenguoliusheng: just found, seems we can also pass partition format to ironic, like ext403:26
liushengzhenguo: sounds greate, that is common use03:27
zhenguoliusheng: hah03:27
zhenguoliusheng: please have a look at this https://review.openstack.org/#/c/466168/ when you got time03:29
liushengzhenguo: ok, sure, will test03:30
zhenguoliusheng: thanks03:30
*** wong_ has quit IRC05:39
shaohe_fengliusheng: my account is shaohef@126.com05:51
liushengshaohe_feng: seems need your username, not the email address06:06
openstackgerritZhenguo Niu proposed openstack/mogan master: Add root disk partitions support  https://review.openstack.org/49903906:45
openstackgerritwanghao proposed openstack/python-moganclient master: Support to getting managebale servers  https://review.openstack.org/49947406:47
* zhenguo brb06:57
openstackgerritliusheng proposed openstack/python-moganclient master: Add interface attach/detach support  https://review.openstack.org/46616807:04
openstackgerritZhong Luyao proposed openstack/python-moganclient master: Add interface attach/detach support  https://review.openstack.org/46616807:11
openstackgerritXinran WANG proposed openstack/mogan master: Return key name with server API  https://review.openstack.org/49948107:12
liushengluyao: oops, I thought you may busy in other things, so I uploaded a patchset of your patch07:14
luyaoliusheng:  I didn't notice you update the patch. :D07:14
liushengluyao: hah07:14
luyaoliusheng: I  saw it just now, thank you!07:15
liushengluyao: besides the place I commented, you'd better to add a exclusive group for the  --net-id and --port-id paramters07:15
liushengluyao: because the command did check if both port-id and net-id specified, and it will fail07:16
liushengluyao: or specify both07:16
luyaook, got it07:17
openstackgerritwanghao proposed openstack/python-moganclient master: Support to getting managebale servers  https://review.openstack.org/49947407:21
openstackgerritZhong Luyao proposed openstack/python-moganclient master: Add interface attach/detach support  https://review.openstack.org/46616807:25
zhenguoliusheng: the parittions path passed the gate :D07:40
liushengzhenguo: hah, cool + awesome07:40
zhenguoliusheng: lol07:40
zhenguoliusheng: I will test with our bare metal env07:40
liushengzhenguo: ok07:40
zhenguoliusheng: do you have an ready env to test https://review.openstack.org/#/c/498775/07:41
liushengzhenguo: I can only test the client functionality07:43
liushengzhenguo: no conson support07:43
zhenguoliusheng: for shellinabox is enough07:43
zhenguoliusheng: no ned to access the console, just check if it's consistent with the API response07:44
liushengzhenguo: seems my current env also cannot support07:44
liushengzhenguo: ok, will check it07:44
zhenguoliusheng: thanks, and please help to check the format with nova's :D07:44
liushengzhenguo: ok07:44
zhenguoliusheng: list servers only return id, links, name https://developer.openstack.org/api-ref/compute/#list-servers08:12
openstackgerritMerged openstack/python-moganclient master: Add interface attach/detach support  https://review.openstack.org/46616808:15
*** openstackgerrit has quit IRC08:17
* zhenguo brb08:24
*** liusheng has quit IRC08:42
*** openstackgerrit has joined #openstack-mogan08:45
openstackgerritTao Li proposed openstack/mogan master: Manage existing BMs: Part-2  https://review.openstack.org/48154408:45
openstackgerritTao Li proposed openstack/mogan master: Manage existing BMs: Part-2  https://review.openstack.org/48154408:50
litao__zhenguo, liusheng,shaohe_feng : pls review my patch https://review.openstack.org/48154408:52
zhenguolitao__: ok, thanks for the update08:52
zhenguolitao__: I found you import engine_api in engine_manager for listing az, as we can't support az for now, how about just get rid of az stuff?08:56
zhenguolitao__: you can just leave az to None08:57
litao__zhenguo: we can't support it next release?08:58
litao__zhenguo: If then,  I will drop it08:58
zhenguolitao__: not sure, hah08:58
zhenguolitao__: we should avoid import engine/api in engine/manager08:59
litao__zhenguo: OK, I will drop it currently08:59
zhenguolitao__: ok thanks08:59
zhenguolitao__: as pike will be a separated branch, we don't need to keep unused things09:00
litao__zhenguo: OK09:00
*** openstackgerrit has quit IRC09:03
*** liusheng has joined #openstack-mogan09:07
*** wanghao has quit IRC09:10
zhenguoliusheng: list servers only return id, links, name https://developer.openstack.org/api-ref/compute/#list-servers09:16
liushengzhenguo: we also have status and power_state09:18
zhenguoliusheng: not sure why nova just return that09:18
*** openstackgerrit has joined #openstack-mogan09:19
openstackgerritZhenguo Niu proposed openstack/python-moganclient master: Change to use new console URI  https://review.openstack.org/49877509:19
zhenguoliusheng: do we need to follow it?09:19
liushengzhenguo: not sure, seems the status is also the key info09:19
zhenguoliusheng: if so, let's just keep it09:20
liushengzhenguo: ok, maybe in future we can change that according to real requirements09:21
zhenguoliusheng: ok09:21
zhenguoliusheng: please help to erase the disks of 10.81.8.4-8 when you got time, thanks!09:21
liushengzhenguo: I only use "openstack baremetal node delete $node" to delete..09:23
liushengzhenguo: does that work ?09:24
zhenguoliusheng: no09:24
liushengzhenguo: :(09:25
zhenguoliusheng: do you remember we need to connect the BMC via our web to erase the disks?09:25
liushengzhenguo: we tried to use BMC to get the mac address09:26
zhenguoliusheng: we also erase the original disk layout to make it work09:27
openstackgerritTao Li proposed openstack/mogan master: Manage existing BMs: Part-2  https://review.openstack.org/48154409:27
liushengzhenguo: seems we only use a image to install os09:28
zhenguoliusheng: yes, you can try to install os again, but after erase the orginal disk layout you can quit, then we can use it09:28
liushengzhenguo: :( maybe we can try09:29
zhenguoliusheng: hah, maybe you have forgotten, you just did that for node2 and node3 to make them work :D09:30
liushengzhenguo: not quite sure..09:33
zhenguoliusheng: I'm sure with that, lol09:33
liushengzhenguo: the node-2 and node3 is ok ?09:33
liushengzhenguo: hah09:33
zhenguoliusheng: yes09:34
liushengzhenguo: if so, we can login to BMC and try to install OS09:34
zhenguoliusheng: yes,09:34
zhenguoliusheng: you can try one to see09:34
liushengzhenguo: please try node409:54
zhenguoliusheng: I just restack the env, seems there are some problems, will try later09:54
openstackgerritXinran WANG proposed openstack/mogan master: Return key name with server API  https://review.openstack.org/49948109:55
*** liusheng has quit IRC09:59
*** liusheng has joined #openstack-mogan10:09
*** litao__ has quit IRC11:55
zhenguoliusheng: just found when deleting a deployment from a node failed it will automatically move to Maintenance state, and not go to placement11:56
liushengzhenguo: it won't be tracked by placement ?11:58
zhenguoliusheng: Maintenance node will not be tracked11:58
liushengzhenguo: oh, yes11:58
zhenguoliusheng: so, maybe it's ok for us to follow nova?11:59
liushengzhenguo: Ironic will automatically turn into maintance state11:59
zhenguoliusheng: ye11:59
liushengzhenguo: does this effect  ?12:01
zhenguoliusheng: we don't need to consider failed state anymore as it will move to maintenance12:02
liushengzhenguo: how if the node was manually recovered12:03
zhenguoliusheng: not sure if we should consider that12:04
zhenguoliusheng: you have already wiped the partitons on node4?12:09
liushengzhenguo: yes, node4 and node512:09
zhenguoliusheng: ok, thanks12:10
liushengzhenguo: np12:10
liushengzhenguo: our env is ok now ?12:10
zhenguoliusheng: yes12:11
liushengzhenguo: did you update the repos before run stack.sh ?12:11
zhenguoliusheng: just updated mogan :D12:12
liushengzhenguo: :(, I want to know if you have met my problem, hah12:12
zhenguoliusheng: hah12:13
zhenguoliusheng: seems node4 still not work12:13
zhenguoliusheng: but node2 and node3 do12:14
liushengzhenguo: ... node4 I am sure has been erased12:14
zhenguoliusheng: let me try node512:15
liushengzhenguo: ok12:16
zhenguoliusheng: I'm going to call it a day and head home, bye!12:28
liushengzhenguo: formating the disk with "use whole disk with LVM" right ?12:28
liushengzhenguo: hah12:28
zhenguoliusheng: no12:28
zhenguoliusheng: I just want to wipe the LVM :D12:28
liushengzhenguo: oh no.. that is my fault12:28
liushengzhenguo: will do again tomorrow12:29
zhenguoliusheng: hah12:29
* zhenguo away12:30
*** XueFengLiu has quit IRC18:12
*** XueFengLiu has joined #openstack-mogan18:12

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