Wednesday, 2017-07-26

*** Xinran has quit IRC00:08
*** Xinran has joined #openstack-mogan00:10
*** Xinran has quit IRC00:18
*** Xinran has joined #openstack-mogan00:19
*** Xinran has quit IRC00:28
*** Xinran has joined #openstack-mogan00:30
*** wanghao has joined #openstack-mogan00:35
*** Xinran has quit IRC00:39
*** Xinran has joined #openstack-mogan00:40
*** Xinran has quit IRC00:49
*** Xinran has joined #openstack-mogan00:50
*** Xinran has quit IRC00:59
*** Xinran has joined #openstack-mogan01:00
*** Xinran has quit IRC01:09
*** Xinran has joined #openstack-mogan01:10
*** wanghao_ has joined #openstack-mogan01:16
*** wanghao has quit IRC01:19
*** Xinran has quit IRC01:20
*** Xinran has joined #openstack-mogan01:21
zhenguomorning mogan!01:26
*** harlowja has quit IRC01:29
*** Xinran has quit IRC01:30
zhenguoliusheng, litao__: something wrong with the scheduling?01:31
*** Xinran has joined #openstack-mogan01:31
liushengzhenguo: seems ok in my env01:32
zhenguoliusheng: is that related to nova?01:32
zhenguoliusheng: select a node which is reported by nova?01:32
liushengzhenguo: not very sure, maybe litao met that when debuged his adoptation patch01:33
zhenguoliusheng: ok, will ping him when he is online01:33
liushengzhenguo: ok01:33
zhenguoliusheng: I plan to update the README https://review.openstack.org/#/c/486930/01:34
*** litao__ has joined #openstack-mogan01:35
litao__any messages?01:36
*** Xinran has quit IRC01:40
*** Xinran has joined #openstack-mogan01:41
*** Kevin_Zheng has joined #openstack-mogan01:42
zhenguolitao__: can you show some details about you problems?01:42
zhenguolitao__: you got a scheduled node which node exist in ironic?01:42
litao__zhenguo: It occurs in my devstack. I pull the mogan and moganclient latest codes, and found the periodic task '_update_available_resources1 reported 'There was a conflict when trying to complete your request. Unable to delete resource provider 1eb14343-4dde-4964-a61d-cbb8aa39a3fc: Resource provider has allocations'01:45
litao__zhenguo: when I create a baremetal server, the mogan scheduler selected the node '1eb14343-4dde-4964-a61d-cbb8aa39a3fc' , and raise not found exception.01:46
zhenguolitao__: have you checked whether the node in ironic or placement then01:48
litao__zhenguo: I checked ironic and it does not  exist01:48
litao__zhenguo: I didn't check placement01:49
zhenguolitao__: it didn't exist in ironic, so resource update will remove that from placement, but there's an allocations there, so it can't get removed01:50
zhenguolitao__: but if there's an allocation, why you can schedule it again?01:50
zhenguoliusheng: do you know why?01:50
*** Xinran has quit IRC01:50
litao__zhenguo: Yes , this is strange01:51
zhenguolitao__: it's you old devstack env, and just update the mogan related code, right?01:51
*** Xinran has joined #openstack-mogan01:51
zhenguoliusheng: can we get rid of the RP if there's allocations during the resource updating?01:52
*** openstackgerrit has joined #openstack-mogan01:52
openstackgerritwanghao proposed openstack/mogan master: Support quota for keypairs in Mogan(part-three)  https://review.openstack.org/48546101:52
liushengzhenguo: maybe for Mogan we can do that01:52
liushengzhenguo: since a node is a atomic resource01:53
zhenguoliusheng: yes01:53
zhenguoliusheng: litao's log shows 'There was a conflict when trying to complete your request. Unable to delete resource provider 1eb14343-4dde-4964-a61d-cbb8aa39a3fc: Resource provider has allocations'01:53
liushengzhenguo: but I don't know why about that problem, there isn's any place can generate a node and record to placement if there isn't that node01:54
zhenguoliusheng: only mogan and nova can do that01:55
zhenguoliusheng: just realized you restored the scheduler_hints patch, so we will still use scheduler_hints :D01:56
liushengzhenguo: that should be Nova report  the node resource, may we'd better to config VIRT_DRIVER=libvirt in local.conf in devstack installation01:57
zhenguoliusheng: if you don't set VIRT_DRIVER=ironic, it will not report01:58
liushengzhenguo: just restore it, in case we need to comment it. and I can abandon it again if we don't like schedule_hint. hah01:58
*** zhuli has joined #openstack-mogan01:58
liushengzhenguo: yes, we'd better to avoid duplicated report01:58
zhenguoliusheng: hah,01:58
liushengzhenguo: or stop nova-compute01:58
zhenguoliusheng: does our recommended devstack config includes VIRT_DRIVER=ironic?01:59
zhenguolitao__: can you confirm whether you have set VIRT_DRIVER?02:00
liushengzhenguo: seems the default value is ironic if we enable ironic plugin02:00
zhenguoliusheng: really?02:00
zhenguoliusheng: I assume the default value for nova is libvirt02:00
liushengzhenguo: yes02:01
*** Xinran has quit IRC02:01
liushengzhenguo: but if when you enable ironic, that seems be ironic02:01
zhenguoliusheng: ironic plugin will do that?02:01
*** Xinran has joined #openstack-mogan02:01
liushengzhenguo: let me check again02:03
liushengzhenguo: http://logs.openstack.org/30/486930/1/check/gate-mogan-dsvm-tempest-plugin/ffa44cb/logs/etc/nova/nova.conf.txt.gz02:04
liushengzhenguo: you can see our gate log02:04
liushengzhenguo: compute_driver = ironic.IronicDriver02:04
zhenguoliusheng: oh, so maybe something wrong happlen with our gate as well02:05
litao__zhenguo: yes, for nova,  the VIRT_DRIVER is ironic02:05
liushengzhenguo: TBH, I really want to get rid of Nova, hah02:05
zhenguoliusheng: hah02:05
zhenguolitao__: that's the problem02:05
zhenguoliusheng: I remember because of the .img thing, we can't get rid of nova02:06
litao__liusheng: greate02:06
litao__liusheng: For now , how could i avoid this?02:06
litao__liusheng: Stop nova-compute?02:07
liushengzhenguo: yes, maybe we can consider that, to give a lightweight deployment for Mogan02:07
liushenglitao__: yes, and clean your mogan flavors, and clean placement tables, then restart mogan services02:08
zhenguoliusheng: yes, any ideas?02:08
liushenglitao__: s/mogan flaovrs/mogan servers02:08
litao__liusheng: OK02:09
zhenguo liusheng: http://logs.openstack.org/18/485618/2/check/gate-ironic-dsvm-standalone-ubuntu-xenial/470529d/02:10
zhenguoliusheng: ironic has a standalone tempest gate check02:10
liushengzhenguo: may we can study it02:10
zhenguoliusheng: yes02:10
liushengzhenguo: let me try the gate's local.conf02:11
zhenguoliusheng: ok02:11
zhenguoliusheng: only ironic, glance, keystone, neutron there02:11
*** Xinran has quit IRC02:11
zhenguoliusheng: and tempest02:11
liushengzhenguo: that's what we mogan need02:11
zhenguoliusheng: yes02:12
liushengzhenguo: do you konw why we need to enable swift ?02:14
zhenguoliusheng: for configdrive02:14
liushengzhenguo: oh02:15
*** Xinran has joined #openstack-mogan02:15
liushengzhenguo: btw, seems summit presentation voting started02:15
zhenguoliusheng: yes,02:16
*** Xinran has quit IRC02:21
*** Xinran has joined #openstack-mogan02:22
openstackgerritMerged openstack/mogan master: Clean the legacy flavor patch internal attributes  https://review.openstack.org/48654502:24
*** Xinran has quit IRC02:31
*** Xinran has joined #openstack-mogan02:32
*** Xinran has quit IRC02:42
*** Xinran has joined #openstack-mogan02:42
*** wanghao_ has quit IRC02:47
*** wanghao has joined #openstack-mogan02:48
*** Xinran has quit IRC02:51
litao__liusheng: I run tempest in my devstack, but it raised 'RequiredOptError: value required for option glance_api_servers in group [glance]', do you know why?02:53
liushenglitao__: you need to config that option in tempest.conf02:54
litao__liusheng: thks02:54
liushenglitao__: np02:55
litao__liusheng: should it be insert into the tempest.conf during  the deploying devstack02:57
openstackgerritZhenguo Niu proposed openstack/mogan master: Adds aggregates DB model and API  https://review.openstack.org/48278602:58
openstackgerritZhenguo Niu proposed openstack/mogan master: Retrieve availability zone from aggregate  https://review.openstack.org/48550602:58
openstackgerritZhenguo Niu proposed openstack/mogan master: Add node list support  https://review.openstack.org/48601602:58
openstackgerritZhenguo Niu proposed openstack/mogan master: Add aggregate API  https://review.openstack.org/48469002:58
openstackgerritZhenguo Niu proposed openstack/mogan master: Add aggregate object  https://review.openstack.org/48463002:58
liushenglitao__: it is better to get rid of that config option, and allow mogan discover the endpoint from keystone02:59
liushenglitao__: need to improve in the future02:59
*** Xinran has joined #openstack-mogan03:01
*** Xinran has quit IRC03:02
*** Xinran_ has joined #openstack-mogan03:03
*** Xinran has joined #openstack-mogan03:03
litao__liusheng: OK, I add it in tempest.conf,  the issue remains03:03
liushenglitao__: you need to confirm which tempest.conf you used03:04
litao__liusheng: The tempest.conf locates in /opt/stack/tempest/etc directory03:04
litao__liusheng:  several tempest.conf?03:05
liushenglitao__: if you run tempest under /opt/stack/tempest/, it seem will use /opt/stack/tempest/etc/tempest.conf, otherwise, it will use /etc/tempest/tempest.conf03:05
litao__liusheng: hah, I copy it to /etc/tempest/tempest.conf and have a try.03:06
litao__liusheng: It works, God sheng03:12
*** Xinran has quit IRC03:13
*** Xinran_ has quit IRC03:13
*** Xinran_ has joined #openstack-mogan03:13
*** Xinran has joined #openstack-mogan03:14
*** wanghao_ has joined #openstack-mogan03:19
*** wanghao has quit IRC03:22
*** Xinran has quit IRC03:23
*** Xinran_ has quit IRC03:23
*** Xinran_ has joined #openstack-mogan03:23
*** Xinran has joined #openstack-mogan03:23
*** Xinran has quit IRC03:24
*** Xinran has joined #openstack-mogan03:24
*** Xinran_ has quit IRC03:26
*** Xinran has quit IRC03:26
*** Xinran_ has joined #openstack-mogan03:26
*** Xinran has joined #openstack-mogan03:27
*** Xinran has quit IRC03:33
*** Xinran_ has quit IRC03:33
*** Xinran_ has joined #openstack-mogan03:33
*** wanghao_ has quit IRC03:34
*** Xinran has joined #openstack-mogan03:34
*** wanghao has joined #openstack-mogan03:35
openstackgerritMerged openstack/mogan master: Put the required conditions in appropriate of plugin.sh  https://review.openstack.org/48607803:38
openstackgerritMerged openstack/mogan master: Remove the unused reportclient importing  https://review.openstack.org/48604903:38
openstackgerritMerged openstack/mogan master: Update README  https://review.openstack.org/48693003:41
*** Xinran has quit IRC03:43
*** Xinran_ has quit IRC03:43
*** Xinran_ has joined #openstack-mogan03:44
*** Xinran has joined #openstack-mogan03:44
*** Xinran has quit IRC03:54
*** Xinran_ has quit IRC03:54
*** Xinran_ has joined #openstack-mogan03:54
*** Xinran has joined #openstack-mogan03:54
*** Xinran_ has quit IRC04:04
*** Xinran has quit IRC04:04
*** Xinran_ has joined #openstack-mogan04:04
*** Xinran has joined #openstack-mogan04:05
*** Xinran has quit IRC04:14
*** Xinran_ has quit IRC04:14
*** Xinran_ has joined #openstack-mogan04:14
*** Xinran has joined #openstack-mogan04:15
*** Xinran_ has quit IRC04:24
*** Xinran has quit IRC04:24
*** Xinran_ has joined #openstack-mogan04:25
*** Xinran has joined #openstack-mogan04:25
*** Xinran_ has quit IRC04:35
*** Xinran has quit IRC04:35
*** Xinran_ has joined #openstack-mogan04:35
*** Xinran has joined #openstack-mogan04:36
*** harlowja has joined #openstack-mogan04:40
*** wanghao_ has joined #openstack-mogan04:43
*** Xinran_ has quit IRC04:45
*** Xinran has quit IRC04:45
*** wanghao has quit IRC04:45
*** Xinran_ has joined #openstack-mogan04:45
*** Xinran has joined #openstack-mogan04:46
*** Xinran has quit IRC04:55
*** Xinran_ has quit IRC04:55
*** Xinran_ has joined #openstack-mogan04:55
*** Xinran has joined #openstack-mogan04:56
*** Xinran has quit IRC05:05
*** Xinran_ has quit IRC05:05
*** Xinran_ has joined #openstack-mogan05:06
*** Xinran has joined #openstack-mogan05:06
*** Xinran has quit IRC05:16
*** Xinran_ has quit IRC05:16
*** Xinran_ has joined #openstack-mogan05:16
*** Xinran has joined #openstack-mogan05:17
*** Xinran_ has quit IRC05:26
*** Xinran has quit IRC05:26
*** Xinran_ has joined #openstack-mogan05:26
*** Xinran has joined #openstack-mogan05:26
*** Xinran_ has quit IRC05:36
*** Xinran has quit IRC05:36
*** Xinran_ has joined #openstack-mogan05:36
*** Xinran has joined #openstack-mogan05:37
*** harlowja has quit IRC05:39
*** Xinran has quit IRC05:46
*** Xinran_ has quit IRC05:46
*** Xinran_ has joined #openstack-mogan05:47
*** Xinran has joined #openstack-mogan05:48
*** Xinran_ has quit IRC05:57
*** Xinran has quit IRC05:57
*** Xinran_ has joined #openstack-mogan05:57
*** Xinran has joined #openstack-mogan05:57
openstackgerritZhenguo Niu proposed openstack/mogan master: [WIP] Add aggregate nodes API  https://review.openstack.org/48728406:02
*** Xinran has quit IRC06:04
*** Xinran_ has quit IRC06:07
*** Xinran_ has joined #openstack-mogan06:07
*** Xinran_ has quit IRC06:07
*** Xinran has joined #openstack-mogan06:11
*** wanghao_ has quit IRC06:14
*** wanghao has joined #openstack-mogan06:17
*** wanghao_ has joined #openstack-mogan06:28
*** wanghao has quit IRC06:28
*** litao__ has quit IRC06:39
openstackgerritliusheng proposed openstack/mogan master: Tempest: use network client than compute client to retrive network  https://review.openstack.org/48730607:04
openstackgerritTao Li proposed openstack/mogan master: Manage existing BMs: Part-2  https://review.openstack.org/48154407:12
*** luyao has quit IRC07:15
*** luyao has joined #openstack-mogan07:17
*** dims has quit IRC07:45
*** dims has joined #openstack-mogan07:49
openstackgerritliusheng proposed openstack/mogan master: Tempest: use network client than compute client to retrive network  https://review.openstack.org/48730607:54
zhenguoliusheng: seems placement only got 2 APIs for resource provider aggregates08:08
zhenguoliusheng: GET and PUT08:09
liushengzhenguo: yes08:10
zhenguoliusheng: so we also provide such APIs instead of add node to aggregate, remove node to aggregate, lol08:10
liushengzhenguo: the  two apis are "get/set aggregates for a resource provider"08:12
zhenguoliusheng: PUT will replace all aggregates with the specified aggs?08:12
liushengzhenguo: no, seems *add* to existing08:13
zhenguoliusheng: really?08:13
liushengzhenguo: nova.objects.resource_provider.ResourceProvider#_set_aggregates08:14
zhenguoliusheng: so how to delete aggregate08:14
liushengzhenguo: just take a look08:14
liushengzhenguo: :(  not sure08:14
liushengzhenguo: do you know why I can create server in a devstack env on a vm, but cannot create a server in devstack env on a physical server ?08:18
zhenguoliusheng: ?08:19
zhenguoliusheng: for physical server you need to config physcial network08:19
liushengzhenguo: not Mogan on physical server, but a devstack on a physical server08:20
liushengzhenguo: still use 3 vms08:20
zhenguoliusheng: not sure, but it should work08:20
zhenguoliusheng: you recreate our physical env?08:21
liushengzhenguo: I tried serveral times, but it cannot work. no, another saperated physical server only used by me. lol08:21
zhenguoliusheng: hah08:21
zhenguoliusheng: any logs?08:21
liushengzhenguo: when creating a server, it is deploying, then wait-callback, and a long time later, it failed08:22
liushengzhenguo: in Ironic08:22
liushengJul 26 15:41:51 liusheng ironic-conductor[19322]: DEBUG ironic.common.utils [None req-bf7608a8-b679-4fa0-b108-1e527e07824f None None] Execution completed, command line is "ipmitool -I lanplus -H 10.3.4.10 -L ADMINISTRATOR -p 6231 -U adm08:23
liushengJul 26 15:41:51 liusheng ironic-conductor[19322]: DEBUG ironic.common.utils [None req-bf7608a8-b679-4fa0-b108-1e527e07824f None None] Command stdout is: "Chassis Power is off08:23
liushengzhenguo: seems just repeated above logs08:23
zhenguoliusheng: not sure why, but how we managed to make it work on our physical env before08:24
liushengzhenguo: maybe related with any Ironic config option ?08:25
zhenguoliusheng: you use the same config with the vm devstack?08:26
liushengzhenguo: yes08:26
zhenguoliusheng: not sure, I never played with a physcial machine :(08:27
liushengzhenguo: hah08:27
openstackgerrithoward lee proposed openstack/mogan master: Remove support for py3.3  https://review.openstack.org/48732108:38
*** RuiChen has joined #openstack-mogan08:54
openstackgerritTao Li proposed openstack/mogan master: Manage existing BMs: Part-2  https://review.openstack.org/48154409:21
*** wanghao_ has quit IRC09:28
*** wanghao has joined #openstack-mogan09:35
*** wanghao has quit IRC09:37
openstackgerritZhenguo Niu proposed openstack/mogan master: [WIP] Add aggregate nodes API  https://review.openstack.org/48728409:42
openstackgerritliusheng proposed openstack/mogan master: Improve resources updating process  https://review.openstack.org/48735110:00
liushengzhenguo: hi, i have made some changes of resource updating process ^, please take a look if you have time :)10:01
zhenguoliusheng: ok10:04
liushengzhenguo: thanks10:05
zhenguoliusheng: I remember we discussed before about the allocations10:06
zhenguoliusheng: seems if we delete allocations, when rp get back, it will be able to to scheuled again10:06
liushengzhenguo: but, there is a problem, I am not sure if it is a recent change, we cannot delete a rp if it has allocations :(10:07
zhenguoliusheng: so how do we handle that situation if a server still there, but the rp removed and get back again10:11
liushengzhenguo: sorry, I have to go home, will check that later, if you have better suggestion, please feel free to update the patch10:13
zhenguoliusheng: ok, ttyl10:13
zhenguoliusheng: in order to support aggregates, seems we should bump the placement API to latest version11:03
openstackgerritZhenguo Niu proposed openstack/mogan master: Add default placement api version  https://review.openstack.org/48737211:18
openstackgerritZhenguo Niu proposed openstack/mogan master: [WIP] Add aggregate nodes API  https://review.openstack.org/48728411:23
openstackgerritOpenStack Proposal Bot proposed openstack/mogan master: Updated from global requirements  https://review.openstack.org/48747015:03
*** harlowja has joined #openstack-mogan16:15
*** harlowja has quit IRC17:46
*** harlowja has joined #openstack-mogan19:21
*** harlowja has quit IRC19:25
*** harlowja has joined #openstack-mogan22:00

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