Friday, 2017-03-31

*** luyao has quit IRC00:01
*** luyao has joined #openstack-mogan00:01
*** luyao has quit IRC00:11
*** luyao has joined #openstack-mogan00:11
*** luyao has quit IRC00:21
*** luyao has joined #openstack-mogan00:22
*** luyao has quit IRC00:32
*** luyao has joined #openstack-mogan00:32
*** luyao has quit IRC00:42
*** luyao has joined #openstack-mogan00:42
*** wanghao has joined #openstack-mogan00:45
*** luyao has quit IRC00:52
*** luyao has joined #openstack-mogan00:52
*** wanghao has quit IRC00:55
*** wanghao has joined #openstack-mogan00:56
*** wanghao_ has joined #openstack-mogan00:57
*** wanghao has quit IRC00:57
*** luyao has quit IRC01:02
*** luyao has joined #openstack-mogan01:03
*** kevinz has joined #openstack-mogan01:12
*** luyao has quit IRC01:13
*** luyao has joined #openstack-mogan01:13
*** liusheng has joined #openstack-mogan01:21
*** luyao has quit IRC01:23
*** luyao has joined #openstack-mogan01:23
*** luyao has quit IRC01:33
*** luyao has joined #openstack-mogan01:34
*** wanghao_ has quit IRC01:39
*** wanghao has joined #openstack-mogan01:40
*** luyao has quit IRC01:43
*** luyao has joined #openstack-mogan01:46
zhenguomorning mogan!01:50
*** luyao has quit IRC01:54
*** luyao has joined #openstack-mogan01:54
zhenguoseems luyao's irc client is not stable, lol02:02
*** luyao has quit IRC02:04
*** luyao has joined #openstack-mogan02:04
*** luyao has quit IRC02:14
*** luyao has joined #openstack-mogan02:14
zhenguoliusheng: hi, wrt the api policy, do you remember we discussed before about the args?02:22
liushengzhenguo: yes02:23
zhenguoliusheng: like when set power state, if you specify 'xx', it will raise no policy rules02:23
liushengzhenguo: the code logical need to be improved02:23
liushengzhenguo: I will start to consider that02:24
zhenguoliusheng: yes, or maybe we can just set policy to set_power_state, and improve it when users request, wdyt?02:24
zhenguoliusheng: like lock/unlock instance02:24
*** luyao has quit IRC02:24
*** luyao has joined #openstack-mogan02:25
liushengzhenguo: you mean don't handle the "target" in policy check ?02:25
zhenguoliusheng: yes,02:25
liushengzhenguo: back to the old way ?02:25
zhenguoliusheng: yes :(02:25
liushengzhenguo: hah02:25
zhenguoliusheng: at least it worked, and seems we don't have hard requirements to check target now02:26
zhenguoliusheng: or maybe if you got better ideas, you can improve it02:26
liushengzhenguo: yes, or, maybe we can just add some very small api methods to perform start/stop/reboot actions if we want to control the policies on these actions02:27
liushengzhenguo: but I also think we don't have a strong requirement02:27
liushengzhenguo: that will also make things simple02:28
zhenguoliusheng: yes, good choice02:28
zhenguoliusheng: but until we got real requirements, we can just not check it, hah02:28
liushengzhenguo: agree02:28
zhenguoliusheng: I checked ironic's policy of set_power_state02:29
zhenguoliusheng: there's only one policy for it02:29
liushengzhenguo: maybe that is the most common use case, hah02:29
zhenguoliusheng: seems yes,02:29
zhenguoliusheng: we should focus on more important things instead of these, sorry02:30
liushengzhenguo: so, let's deprecate & remove the "target" check. lol02:30
liushengzhenguo: sure02:30
zhenguoliusheng: yes, please02:30
liushengzhenguo: ok, will cook a patch for that02:31
zhenguoliusheng: thanks02:34
liushengzhenguo: np02:34
*** luyao has quit IRC02:35
*** luyao has joined #openstack-mogan02:35
*** wanghao_ has joined #openstack-mogan02:36
*** wanghao has quit IRC02:36
*** kevinz has quit IRC02:40
*** kevinz has joined #openstack-mogan02:40
openstackgerritMerged openstack/mogan master: Add rpc api for consoleauth manager  https://review.openstack.org/44528502:42
openstackgerritMerged openstack/mogan master: Add service entry for consoleauth service  https://review.openstack.org/44528602:43
*** luyao has quit IRC02:45
*** luyao has joined #openstack-mogan02:45
*** luyao has quit IRC02:55
*** luyao has joined #openstack-mogan02:55
openstackgerritMerged openstack/mogan master: Add engine api for getting console info  https://review.openstack.org/44532102:58
*** luyao has quit IRC03:05
*** luyao has joined #openstack-mogan03:06
openstackgerritMerged openstack/mogan master: Updated from global requirements  https://review.openstack.org/45179703:10
*** luyao has quit IRC03:16
*** luyao has joined #openstack-mogan03:16
*** luyao has quit IRC03:26
*** luyao has joined #openstack-mogan03:26
*** luyao has quit IRC03:36
*** luyao has joined #openstack-mogan03:36
*** luyao has quit IRC03:46
*** luyao has joined #openstack-mogan03:47
*** luyao has quit IRC03:57
*** luyao has joined #openstack-mogan03:57
*** wanghao_ has quit IRC04:03
*** luyao has quit IRC04:07
*** luyao has joined #openstack-mogan04:07
*** luyao has quit IRC04:17
*** luyao has joined #openstack-mogan04:17
*** luyao has quit IRC04:27
*** luyao has joined #openstack-mogan04:28
*** luyao has quit IRC04:38
*** luyao has joined #openstack-mogan04:38
*** luyao has quit IRC04:48
*** luyao has joined #openstack-mogan04:48
*** luyao has quit IRC04:58
*** luyao has joined #openstack-mogan04:58
*** wanghao has joined #openstack-mogan05:04
*** luyao has quit IRC05:08
*** luyao has joined #openstack-mogan05:09
*** luyao has quit IRC05:19
*** luyao has joined #openstack-mogan05:19
*** luyao has quit IRC05:29
*** luyao has joined #openstack-mogan05:29
*** luyao has quit IRC05:39
*** luyao has joined #openstack-mogan05:39
*** luyao has quit IRC05:49
*** luyao has joined #openstack-mogan05:50
*** luyao has quit IRC06:00
*** luyao has joined #openstack-mogan06:00
*** luyao has quit IRC06:10
*** luyao has joined #openstack-mogan06:10
RuiChenhi zhenguo, I found it out, openstakclientclient check duplicated command jenkins job, we should keep mogan commands be different with them, https://github.com/openstack-infra/project-config/blob/master/jenkins/scripts/check-osc-plugins.sh#L45-L4606:14
RuiChenI think not confilction now, just a tip, when we want to add new commands06:15
zhenguoRuiChen: you mean they will check 'openstack baremetal'?06:15
zhenguoRuiChen: thanks for the reminder06:15
RuiChenyes, all the clients in the list06:15
zhenguoRuiChen: can we add moganclient there :D06:16
zhenguoRuiChen: or only offical project06:16
RuiChenI think only offical project can be in06:16
zhenguoRuiChen: that's really disappointing!06:17
RuiChenno worry, we will in :-)06:18
zhenguolol,06:18
openstackgerritliusheng proposed openstack/mogan master: Remove the policy check with function's parameter  https://review.openstack.org/45205306:20
*** luyao has quit IRC06:20
*** luyao has joined #openstack-mogan06:20
openstackgerritliusheng proposed openstack/mogan master: Remove the policy check with function's parameter  https://review.openstack.org/45205306:22
*** luyao has quit IRC06:30
*** luyao has joined #openstack-mogan06:31
*** luyao has quit IRC06:41
*** luyao has joined #openstack-mogan06:41
*** luyao has quit IRC06:51
*** luyao has joined #openstack-mogan06:51
*** luyao has quit IRC07:01
*** luyao has joined #openstack-mogan07:01
*** luyao has quit IRC07:11
*** luyao has joined #openstack-mogan07:12
*** wanghao has quit IRC07:21
*** luyao has quit IRC07:22
*** luyao has joined #openstack-mogan07:22
*** wanghao has joined #openstack-mogan07:24
*** wanghao has quit IRC07:24
*** luyao has quit IRC07:32
*** luyao has joined #openstack-mogan07:32
openstackgerritZhenguo Niu proposed openstack/mogan master: Add configdrive support - admin_password  https://review.openstack.org/43533007:39
*** luyao has quit IRC07:42
*** luyao has joined #openstack-mogan07:42
-openstackstatus- NOTICE: Jobs in gate are failing with POST_FAILURE. Infra roots are investigating07:43
*** ChanServ changes topic to "Jobs in gate are failing with POST_FAILURE. Infra roots are investigating"07:43
*** luyao has quit IRC07:52
*** luyao has joined #openstack-mogan07:53
*** luyao has quit IRC08:03
*** luyao has joined #openstack-mogan08:03
*** luyao has quit IRC08:13
*** luyao has joined #openstack-mogan08:13
*** luyao has quit IRC08:23
*** luyao has joined #openstack-mogan08:23
-openstackstatus- NOTICE: logs.openstack.org has corrupted disks, it's being repaired. Please avoid rechecking until this is fixed08:24
*** ChanServ changes topic to "logs.openstack.org has corrupted disks, it's being repaired. Please avoid rechecking until this is fixed"08:24
*** luyao has quit IRC08:33
*** luyao has joined #openstack-mogan08:34
openstackgerritZhong Luyao proposed openstack/mogan master: Save instance_fault info when error  https://review.openstack.org/44953108:38
*** luyao has quit IRC08:44
*** luyao has joined #openstack-mogan08:44
zhenguoluyao: seems 255 chars is not enough to save some error messages08:46
zhenguoluyao: on my test, when save instance fault to db, it raise error08:47
luyaozhenguo, It still raise error now?08:49
zhenguoluyao: I find you just change details to detail08:49
zhenguoluyao: that's not related to the db error08:49
luyaozhenguo, I just add a truncate function08:49
zhenguoluyao: oh, sorry, let me check again08:50
*** luyao has quit IRC08:54
*** luyao has joined #openstack-mogan08:54
luyaozhenguo, I don't know if truncate fault_message string is good here. Should I use text instead?08:58
zhenguoluyao: how nova handle this?08:58
luyaozhenguo, I copy this from nova. :P08:59
zhenguoluyao: hah, we can just keep this08:59
zhenguoluyao: until someone complains this08:59
luyaozhenguo, OK. :)09:00
zhenguoluyao: as nova has run with this for a long time, so seems it's ok to truncate it09:00
zhenguoluyao: another problem, currently we don't reraise some exceptions after catching them, just leave a log there, I will add a following up patch to make instance faults get more errors :D09:02
*** luyao has quit IRC09:04
*** luyao has joined #openstack-mogan09:04
luyaoliusheng, zhenguo,  so should I need add a test with a real raw fault info now? Or after zhenguo's following patch?09:06
zhenguoluyao: yes, please, my patch will just add more instance faults09:07
*** luyao has quit IRC09:14
*** luyao has joined #openstack-mogan09:15
luyaoliusheng, zhenguo: OK , thank you for your comments. :)09:15
zhenguoluyao: np :)09:15
liushengluyao: thanks for updating, agree with zhenguo's opinion :)09:16
zhenguoliusheng: seems something wrong with the gate09:16
liushengzhenguo: yes, the Bot has NOTICED09:17
liushengzhenguo: btw, did you have re-install devstack recently ?09:17
zhenguoliusheng: yes, reinstalling now :P09:17
liushengan error occured when I install my devstack :(09:18
liusheng2017-03-31 08:38:22.053 | ++/opt/stack/ironic/devstack/lib/ironic:prepare_baremetal_basic_ops:1941  sudo install -g libvirtd -o stack -m 644 /opt/devstack/files/cirros-0.3.5-x86_64-disk.img.img /opt/stack/data/ironic/httpboot09:18
liusheng2017-03-31 08:38:22.059 | install: cannot stat '/opt/devstack/files/cirros-0.3.5-x86_64-disk.img.img': No such file or directory09:18
zhenguoliusheng: why dupliacate img09:18
liushengthe error log show that ironic try to locate a cirros image, with double ".img" in the path09:18
liushengzhenguo: looks like a bug in ironic's devstack scripts09:19
zhenguoliusheng: let me check09:19
zhenguoliusheng: you can hack to see if it works09:20
liushengzhenguo: just start to find the reason09:20
liushenghttps://github.com/openstack/ironic/blob/master/devstack/lib/ironic#L1940-L194109:20
zhenguoliusheng: but seems the gate works well09:21
liushengzhenguo: here, the ironic'devstack script will try to read a path of cirros image, and it will add .img09:21
liushengmaybe because my local.conf is different with the gate09:21
liushengzhenguo: you can see, only disable nova and set IRONIC_IPXE_ENABLED as True, the condition will be True09:22
zhenguoliusheng: seems that only happens when nova is disabled09:22
liushengzhenguo: yes09:22
zhenguoliusheng: so it's hard to detect, yes it should be a bug09:23
liushengzhenguo: the IRONIC_WHOLEDISK_IMAGE_NAME can be a cirros  image name without ".img" but in some cases, it will be with an ".img" (in my env)09:24
*** luyao has quit IRC09:25
liushengzhenguo: it is better to modify the devstack script, check if the image name already has an ".img", if yes, it shouldn't add a ".img"09:25
zhenguoliusheng: you specified the WHOLEDISK_IMAGE_NAME?09:25
liushengzhenguo: IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False in local.conf09:26
liushengzhenguo: didn't set  WHOLEDISK_IMAGE_NAM09:27
zhenguoliusheng: not sure why, but seems there should be no problems if you don't specify a image name09:27
*** luyao has joined #openstack-mogan09:27
zhenguoliusheng: you can search IRONIC_DEFAULT_IMAGE_NAME there09:27
liushengzhenguo: I didn't specified any image name :(09:27
zhenguoliusheng: did you update you ironic code?09:28
liushengzhenguo: IRONIC_DEFAULT_IMAGE_NAME=cirros-0.3.5-x86_64-uec  IRONIC_IMAGE_NAME=cirros-0.3.5-x86_64-disk.img in stack.sh.log09:28
liushengzhenguo: yes09:28
liushengzhenguo: with all latest code09:29
zhenguoliusheng: IRONIC_IMAGE_NAME should be IRONIC_DEFAULT_IMAGE_NAME, not sure what's happened09:30
liushengzhenguo: I am also don't know why, have confirmed all the config files, didn't found any options related with "cirros" image name09:31
zhenguoliusheng: :(09:31
liushengzhenguo: maybe I need to enable Nova to bypass the error. lol09:32
zhenguoliusheng: hah, in fact, I enabled nova :D09:32
liushengzhenguo: you are lucky :P09:33
zhenguoliusheng: I need to compare with nova sometimes09:33
zhenguoliusheng: and enable nova is good for you to test migrate instance from nova to mogan09:33
liushengzhenguo: yes, let's me try09:33
*** luyao has quit IRC09:35
*** luyao has joined #openstack-mogan09:35
*** kevinz has quit IRC09:36
*** kevinz has joined #openstack-mogan09:37
*** luyao has quit IRC09:45
*** luyao has joined #openstack-mogan09:45
*** luyao has quit IRC09:55
*** luyao has joined #openstack-mogan09:56
*** kevinz has quit IRC10:05
*** luyao has quit IRC10:06
*** luyao has joined #openstack-mogan10:06
*** wanghao has joined #openstack-mogan10:16
*** luyao has quit IRC10:16
*** luyao has joined #openstack-mogan10:16
*** luyao has quit IRC10:26
*** luyao has joined #openstack-mogan10:26
openstackgerritMerged openstack/mogan master: Remove the policy check with function's parameter  https://review.openstack.org/45205310:29
*** luyao has quit IRC10:36
*** luyao has joined #openstack-mogan10:37
*** luyao has quit IRC10:47
*** luyao has joined #openstack-mogan10:49
*** luyao has quit IRC10:57
*** luyao has joined #openstack-mogan10:57
*** wanghao has quit IRC10:59
*** luyao has quit IRC11:07
*** luyao has joined #openstack-mogan11:07
*** luyao has quit IRC11:17
*** luyao has joined #openstack-mogan11:18
*** luyao has quit IRC11:28
*** luyao has joined #openstack-mogan11:28
*** luyao has quit IRC11:38
*** luyao has joined #openstack-mogan11:38
*** luyao has quit IRC11:48
*** luyao has joined #openstack-mogan11:48
*** luyao has quit IRC11:58
*** luyao has joined #openstack-mogan11:59
*** luyao has quit IRC12:09
*** luyao has joined #openstack-mogan12:09
*** luyao has quit IRC12:19
*** luyao has joined #openstack-mogan12:19
*** luyao has quit IRC12:29
*** luyao has joined #openstack-mogan12:29
*** wanghao has joined #openstack-mogan12:39
*** luyao has quit IRC12:39
*** luyao has joined #openstack-mogan12:40
*** luyao has quit IRC12:50
*** luyao has joined #openstack-mogan12:50
*** luyao has quit IRC13:00
*** luyao has joined #openstack-mogan13:05
*** luyao has quit IRC13:10
*** luyao has joined #openstack-mogan13:10
*** luyao has quit IRC13:20
*** luyao has joined #openstack-mogan13:21
*** luyao has quit IRC13:31
*** luyao has joined #openstack-mogan13:31
*** luyao has quit IRC13:41
*** luyao has joined #openstack-mogan13:41
*** luyao has quit IRC13:51
*** luyao has joined #openstack-mogan13:54
*** luyao has quit IRC14:01
*** luyao has joined #openstack-mogan14:02
*** luyao has quit IRC14:12
*** luyao has joined #openstack-mogan14:12
*** luyao has quit IRC14:22
*** luyao has joined #openstack-mogan14:22
*** luyao has quit IRC14:32
*** luyao has joined #openstack-mogan14:33
*** luyao has quit IRC14:42
*** luyao has joined #openstack-mogan14:43
*** luyao has quit IRC14:53
*** luyao has joined #openstack-mogan14:53
*** luyao has quit IRC15:03
*** luyao has joined #openstack-mogan15:03
*** wanghao has quit IRC15:05
*** luyao has quit IRC15:13
*** luyao has joined #openstack-mogan15:13
*** luyao has quit IRC15:23
*** luyao has joined #openstack-mogan15:24
*** luyao has quit IRC15:34
*** luyao has joined #openstack-mogan15:34
*** luyao has quit IRC15:44
*** luyao has joined #openstack-mogan15:44
*** luyao has quit IRC15:54
*** luyao has joined #openstack-mogan15:54
*** luyao has quit IRC16:04
*** luyao has joined #openstack-mogan16:05
*** luyao has quit IRC16:15
*** luyao has joined #openstack-mogan16:17
*** luyao has quit IRC16:25
*** luyao has joined #openstack-mogan16:25
*** luyao has quit IRC16:35
*** luyao has joined #openstack-mogan16:35
*** luyao has quit IRC16:45
*** luyao has joined #openstack-mogan16:46
*** luyao has quit IRC16:56
*** luyao has joined #openstack-mogan16:56
*** luyao has quit IRC17:06
*** luyao has joined #openstack-mogan17:06
*** luyao has quit IRC17:16
*** luyao has joined #openstack-mogan17:16
*** luyao has quit IRC17:26
*** luyao has joined #openstack-mogan17:27
*** luyao has quit IRC17:37
*** luyao has joined #openstack-mogan17:37
*** luyao has quit IRC17:47
*** luyao has joined #openstack-mogan17:47
*** luyao has quit IRC17:57
*** luyao has joined #openstack-mogan17:57
*** luyao has quit IRC18:07
*** luyao has joined #openstack-mogan18:08
*** luyao has quit IRC18:18
*** luyao has joined #openstack-mogan18:18
*** luyao has quit IRC18:28
*** luyao has joined #openstack-mogan18:28
*** luyao has quit IRC18:38
*** luyao has joined #openstack-mogan18:38
*** luyao has quit IRC18:48
*** luyao has joined #openstack-mogan18:49
*** luyao has quit IRC18:59
*** luyao has joined #openstack-mogan18:59
*** luyao has quit IRC19:09
*** luyao has joined #openstack-mogan19:09
*** luyao has quit IRC19:19
*** luyao has joined #openstack-mogan19:20
*** luyao has quit IRC19:29
*** luyao has joined #openstack-mogan19:30
*** luyao has quit IRC19:40
*** luyao has joined #openstack-mogan19:40
*** luyao has quit IRC19:50
*** luyao has joined #openstack-mogan19:50
-openstackstatus- NOTICE: lists.openstack.org will be offline from 20:00 to 23:00 UTC for planned upgrade maintenance19:58
*** luyao has quit IRC20:00
*** luyao has joined #openstack-mogan20:00
*** luyao has quit IRC20:10
*** luyao has joined #openstack-mogan20:11
*** luyao has quit IRC20:21
*** luyao has joined #openstack-mogan20:21
*** luyao has quit IRC20:31
*** luyao has joined #openstack-mogan20:31
*** luyao has quit IRC20:41
*** luyao has joined #openstack-mogan20:41
*** luyao has quit IRC20:51
*** luyao has joined #openstack-mogan20:52
*** luyao has quit IRC21:02
*** luyao has joined #openstack-mogan21:02
*** luyao has quit IRC21:12
*** luyao has joined #openstack-mogan21:12
*** luyao has quit IRC21:22
*** luyao has joined #openstack-mogan21:23
*** luyao has quit IRC21:32
*** luyao has joined #openstack-mogan21:33
*** luyao has quit IRC21:43
*** luyao has joined #openstack-mogan21:45
-openstackstatus- NOTICE: The upgrade maintenance for lists.openstack.org has been completed and it is back online.21:50
*** luyao has quit IRC21:53
*** luyao has joined #openstack-mogan21:53
*** luyao has quit IRC22:03
*** luyao has joined #openstack-mogan22:03
*** luyao has quit IRC22:13
*** luyao has joined #openstack-mogan22:14
*** luyao has quit IRC22:24
*** luyao has joined #openstack-mogan22:24
*** luyao has quit IRC22:34
*** luyao has joined #openstack-mogan22:34
*** luyao has quit IRC22:44
*** luyao has joined #openstack-mogan22:44
*** luyao has quit IRC22:54
*** luyao has joined #openstack-mogan22:55
*** luyao has quit IRC23:05
*** luyao has joined #openstack-mogan23:05
*** luyao has quit IRC23:15
*** luyao has joined #openstack-mogan23:15
*** luyao has quit IRC23:25
*** luyao has joined #openstack-mogan23:25
*** luyao has quit IRC23:35
*** luyao has joined #openstack-mogan23:38
*** luyao has quit IRC23:46
*** luyao has joined #openstack-mogan23:46
*** luyao has quit IRC23:56
*** luyao has joined #openstack-mogan23:56

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