*** Xinran has quit IRC | 00:08 | |
*** Xinran has joined #openstack-mogan | 00:10 | |
*** Xinran has quit IRC | 00:18 | |
*** Xinran has joined #openstack-mogan | 00:19 | |
*** Xinran has quit IRC | 00:28 | |
*** Xinran has joined #openstack-mogan | 00:30 | |
*** wanghao has joined #openstack-mogan | 00:35 | |
*** Xinran has quit IRC | 00:39 | |
*** Xinran has joined #openstack-mogan | 00:40 | |
*** Xinran has quit IRC | 00:49 | |
*** Xinran has joined #openstack-mogan | 00:50 | |
*** Xinran has quit IRC | 00:59 | |
*** Xinran has joined #openstack-mogan | 01:00 | |
*** Xinran has quit IRC | 01:09 | |
*** Xinran has joined #openstack-mogan | 01:10 | |
*** wanghao_ has joined #openstack-mogan | 01:16 | |
*** wanghao has quit IRC | 01:19 | |
*** Xinran has quit IRC | 01:20 | |
*** Xinran has joined #openstack-mogan | 01:21 | |
zhenguo | morning mogan! | 01:26 |
---|---|---|
*** harlowja has quit IRC | 01:29 | |
*** Xinran has quit IRC | 01:30 | |
zhenguo | liusheng, litao__: something wrong with the scheduling? | 01:31 |
*** Xinran has joined #openstack-mogan | 01:31 | |
liusheng | zhenguo: seems ok in my env | 01:32 |
zhenguo | liusheng: is that related to nova? | 01:32 |
zhenguo | liusheng: select a node which is reported by nova? | 01:32 |
liusheng | zhenguo: not very sure, maybe litao met that when debuged his adoptation patch | 01:33 |
zhenguo | liusheng: ok, will ping him when he is online | 01:33 |
liusheng | zhenguo: ok | 01:33 |
zhenguo | liusheng: I plan to update the README https://review.openstack.org/#/c/486930/ | 01:34 |
*** litao__ has joined #openstack-mogan | 01:35 | |
litao__ | any messages? | 01:36 |
*** Xinran has quit IRC | 01:40 | |
*** Xinran has joined #openstack-mogan | 01:41 | |
*** Kevin_Zheng has joined #openstack-mogan | 01:42 | |
zhenguo | litao__: can you show some details about you problems? | 01:42 |
zhenguo | litao__: 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 |
zhenguo | litao__: have you checked whether the node in ironic or placement then | 01:48 |
litao__ | zhenguo: I checked ironic and it does not exist | 01:48 |
litao__ | zhenguo: I didn't check placement | 01:49 |
zhenguo | litao__: 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 removed | 01:50 |
zhenguo | litao__: but if there's an allocation, why you can schedule it again? | 01:50 |
zhenguo | liusheng: do you know why? | 01:50 |
*** Xinran has quit IRC | 01:50 | |
litao__ | zhenguo: Yes , this is strange | 01:51 |
zhenguo | litao__: it's you old devstack env, and just update the mogan related code, right? | 01:51 |
*** Xinran has joined #openstack-mogan | 01:51 | |
zhenguo | liusheng: can we get rid of the RP if there's allocations during the resource updating? | 01:52 |
*** openstackgerrit has joined #openstack-mogan | 01:52 | |
openstackgerrit | wanghao proposed openstack/mogan master: Support quota for keypairs in Mogan(part-three) https://review.openstack.org/485461 | 01:52 |
liusheng | zhenguo: maybe for Mogan we can do that | 01:52 |
liusheng | zhenguo: since a node is a atomic resource | 01:53 |
zhenguo | liusheng: yes | 01:53 |
zhenguo | liusheng: 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 |
liusheng | zhenguo: 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 node | 01:54 |
zhenguo | liusheng: only mogan and nova can do that | 01:55 |
zhenguo | liusheng: just realized you restored the scheduler_hints patch, so we will still use scheduler_hints :D | 01:56 |
liusheng | zhenguo: that should be Nova report the node resource, may we'd better to config VIRT_DRIVER=libvirt in local.conf in devstack installation | 01:57 |
zhenguo | liusheng: if you don't set VIRT_DRIVER=ironic, it will not report | 01:58 |
liusheng | zhenguo: just restore it, in case we need to comment it. and I can abandon it again if we don't like schedule_hint. hah | 01:58 |
*** zhuli has joined #openstack-mogan | 01:58 | |
liusheng | zhenguo: yes, we'd better to avoid duplicated report | 01:58 |
zhenguo | liusheng: hah, | 01:58 |
liusheng | zhenguo: or stop nova-compute | 01:58 |
zhenguo | liusheng: does our recommended devstack config includes VIRT_DRIVER=ironic? | 01:59 |
zhenguo | litao__: can you confirm whether you have set VIRT_DRIVER? | 02:00 |
liusheng | zhenguo: seems the default value is ironic if we enable ironic plugin | 02:00 |
zhenguo | liusheng: really? | 02:00 |
zhenguo | liusheng: I assume the default value for nova is libvirt | 02:00 |
liusheng | zhenguo: yes | 02:01 |
*** Xinran has quit IRC | 02:01 | |
liusheng | zhenguo: but if when you enable ironic, that seems be ironic | 02:01 |
zhenguo | liusheng: ironic plugin will do that? | 02:01 |
*** Xinran has joined #openstack-mogan | 02:01 | |
liusheng | zhenguo: let me check again | 02:03 |
liusheng | zhenguo: http://logs.openstack.org/30/486930/1/check/gate-mogan-dsvm-tempest-plugin/ffa44cb/logs/etc/nova/nova.conf.txt.gz | 02:04 |
liusheng | zhenguo: you can see our gate log | 02:04 |
liusheng | zhenguo: compute_driver = ironic.IronicDriver | 02:04 |
zhenguo | liusheng: oh, so maybe something wrong happlen with our gate as well | 02:05 |
litao__ | zhenguo: yes, for nova, the VIRT_DRIVER is ironic | 02:05 |
liusheng | zhenguo: TBH, I really want to get rid of Nova, hah | 02:05 |
zhenguo | liusheng: hah | 02:05 |
zhenguo | litao__: that's the problem | 02:05 |
zhenguo | liusheng: I remember because of the .img thing, we can't get rid of nova | 02:06 |
litao__ | liusheng: greate | 02:06 |
litao__ | liusheng: For now , how could i avoid this? | 02:06 |
litao__ | liusheng: Stop nova-compute? | 02:07 |
liusheng | zhenguo: yes, maybe we can consider that, to give a lightweight deployment for Mogan | 02:07 |
liusheng | litao__: yes, and clean your mogan flavors, and clean placement tables, then restart mogan services | 02:08 |
zhenguo | liusheng: yes, any ideas? | 02:08 |
liusheng | litao__: s/mogan flaovrs/mogan servers | 02:08 |
litao__ | liusheng: OK | 02:09 |
zhenguo | liusheng: http://logs.openstack.org/18/485618/2/check/gate-ironic-dsvm-standalone-ubuntu-xenial/470529d/ | 02:10 |
zhenguo | liusheng: ironic has a standalone tempest gate check | 02:10 |
liusheng | zhenguo: may we can study it | 02:10 |
zhenguo | liusheng: yes | 02:10 |
liusheng | zhenguo: let me try the gate's local.conf | 02:11 |
zhenguo | liusheng: ok | 02:11 |
zhenguo | liusheng: only ironic, glance, keystone, neutron there | 02:11 |
*** Xinran has quit IRC | 02:11 | |
zhenguo | liusheng: and tempest | 02:11 |
liusheng | zhenguo: that's what we mogan need | 02:11 |
zhenguo | liusheng: yes | 02:12 |
liusheng | zhenguo: do you konw why we need to enable swift ? | 02:14 |
zhenguo | liusheng: for configdrive | 02:14 |
liusheng | zhenguo: oh | 02:15 |
*** Xinran has joined #openstack-mogan | 02:15 | |
liusheng | zhenguo: btw, seems summit presentation voting started | 02:15 |
zhenguo | liusheng: yes, | 02:16 |
*** Xinran has quit IRC | 02:21 | |
*** Xinran has joined #openstack-mogan | 02:22 | |
openstackgerrit | Merged openstack/mogan master: Clean the legacy flavor patch internal attributes https://review.openstack.org/486545 | 02:24 |
*** Xinran has quit IRC | 02:31 | |
*** Xinran has joined #openstack-mogan | 02:32 | |
*** Xinran has quit IRC | 02:42 | |
*** Xinran has joined #openstack-mogan | 02:42 | |
*** wanghao_ has quit IRC | 02:47 | |
*** wanghao has joined #openstack-mogan | 02:48 | |
*** Xinran has quit IRC | 02: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 |
liusheng | litao__: you need to config that option in tempest.conf | 02:54 |
litao__ | liusheng: thks | 02:54 |
liusheng | litao__: np | 02:55 |
litao__ | liusheng: should it be insert into the tempest.conf during the deploying devstack | 02:57 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Adds aggregates DB model and API https://review.openstack.org/482786 | 02:58 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Retrieve availability zone from aggregate https://review.openstack.org/485506 | 02:58 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Add node list support https://review.openstack.org/486016 | 02:58 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Add aggregate API https://review.openstack.org/484690 | 02:58 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Add aggregate object https://review.openstack.org/484630 | 02:58 |
liusheng | litao__: it is better to get rid of that config option, and allow mogan discover the endpoint from keystone | 02:59 |
liusheng | litao__: need to improve in the future | 02:59 |
*** Xinran has joined #openstack-mogan | 03:01 | |
*** Xinran has quit IRC | 03:02 | |
*** Xinran_ has joined #openstack-mogan | 03:03 | |
*** Xinran has joined #openstack-mogan | 03:03 | |
litao__ | liusheng: OK, I add it in tempest.conf, the issue remains | 03:03 |
liusheng | litao__: you need to confirm which tempest.conf you used | 03:04 |
litao__ | liusheng: The tempest.conf locates in /opt/stack/tempest/etc directory | 03:04 |
litao__ | liusheng: several tempest.conf? | 03:05 |
liusheng | litao__: 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.conf | 03:05 |
litao__ | liusheng: hah, I copy it to /etc/tempest/tempest.conf and have a try. | 03:06 |
litao__ | liusheng: It works, God sheng | 03:12 |
*** Xinran has quit IRC | 03:13 | |
*** Xinran_ has quit IRC | 03:13 | |
*** Xinran_ has joined #openstack-mogan | 03:13 | |
*** Xinran has joined #openstack-mogan | 03:14 | |
*** wanghao_ has joined #openstack-mogan | 03:19 | |
*** wanghao has quit IRC | 03:22 | |
*** Xinran has quit IRC | 03:23 | |
*** Xinran_ has quit IRC | 03:23 | |
*** Xinran_ has joined #openstack-mogan | 03:23 | |
*** Xinran has joined #openstack-mogan | 03:23 | |
*** Xinran has quit IRC | 03:24 | |
*** Xinran has joined #openstack-mogan | 03:24 | |
*** Xinran_ has quit IRC | 03:26 | |
*** Xinran has quit IRC | 03:26 | |
*** Xinran_ has joined #openstack-mogan | 03:26 | |
*** Xinran has joined #openstack-mogan | 03:27 | |
*** Xinran has quit IRC | 03:33 | |
*** Xinran_ has quit IRC | 03:33 | |
*** Xinran_ has joined #openstack-mogan | 03:33 | |
*** wanghao_ has quit IRC | 03:34 | |
*** Xinran has joined #openstack-mogan | 03:34 | |
*** wanghao has joined #openstack-mogan | 03:35 | |
openstackgerrit | Merged openstack/mogan master: Put the required conditions in appropriate of plugin.sh https://review.openstack.org/486078 | 03:38 |
openstackgerrit | Merged openstack/mogan master: Remove the unused reportclient importing https://review.openstack.org/486049 | 03:38 |
openstackgerrit | Merged openstack/mogan master: Update README https://review.openstack.org/486930 | 03:41 |
*** Xinran has quit IRC | 03:43 | |
*** Xinran_ has quit IRC | 03:43 | |
*** Xinran_ has joined #openstack-mogan | 03:44 | |
*** Xinran has joined #openstack-mogan | 03:44 | |
*** Xinran has quit IRC | 03:54 | |
*** Xinran_ has quit IRC | 03:54 | |
*** Xinran_ has joined #openstack-mogan | 03:54 | |
*** Xinran has joined #openstack-mogan | 03:54 | |
*** Xinran_ has quit IRC | 04:04 | |
*** Xinran has quit IRC | 04:04 | |
*** Xinran_ has joined #openstack-mogan | 04:04 | |
*** Xinran has joined #openstack-mogan | 04:05 | |
*** Xinran has quit IRC | 04:14 | |
*** Xinran_ has quit IRC | 04:14 | |
*** Xinran_ has joined #openstack-mogan | 04:14 | |
*** Xinran has joined #openstack-mogan | 04:15 | |
*** Xinran_ has quit IRC | 04:24 | |
*** Xinran has quit IRC | 04:24 | |
*** Xinran_ has joined #openstack-mogan | 04:25 | |
*** Xinran has joined #openstack-mogan | 04:25 | |
*** Xinran_ has quit IRC | 04:35 | |
*** Xinran has quit IRC | 04:35 | |
*** Xinran_ has joined #openstack-mogan | 04:35 | |
*** Xinran has joined #openstack-mogan | 04:36 | |
*** harlowja has joined #openstack-mogan | 04:40 | |
*** wanghao_ has joined #openstack-mogan | 04:43 | |
*** Xinran_ has quit IRC | 04:45 | |
*** Xinran has quit IRC | 04:45 | |
*** wanghao has quit IRC | 04:45 | |
*** Xinran_ has joined #openstack-mogan | 04:45 | |
*** Xinran has joined #openstack-mogan | 04:46 | |
*** Xinran has quit IRC | 04:55 | |
*** Xinran_ has quit IRC | 04:55 | |
*** Xinran_ has joined #openstack-mogan | 04:55 | |
*** Xinran has joined #openstack-mogan | 04:56 | |
*** Xinran has quit IRC | 05:05 | |
*** Xinran_ has quit IRC | 05:05 | |
*** Xinran_ has joined #openstack-mogan | 05:06 | |
*** Xinran has joined #openstack-mogan | 05:06 | |
*** Xinran has quit IRC | 05:16 | |
*** Xinran_ has quit IRC | 05:16 | |
*** Xinran_ has joined #openstack-mogan | 05:16 | |
*** Xinran has joined #openstack-mogan | 05:17 | |
*** Xinran_ has quit IRC | 05:26 | |
*** Xinran has quit IRC | 05:26 | |
*** Xinran_ has joined #openstack-mogan | 05:26 | |
*** Xinran has joined #openstack-mogan | 05:26 | |
*** Xinran_ has quit IRC | 05:36 | |
*** Xinran has quit IRC | 05:36 | |
*** Xinran_ has joined #openstack-mogan | 05:36 | |
*** Xinran has joined #openstack-mogan | 05:37 | |
*** harlowja has quit IRC | 05:39 | |
*** Xinran has quit IRC | 05:46 | |
*** Xinran_ has quit IRC | 05:46 | |
*** Xinran_ has joined #openstack-mogan | 05:47 | |
*** Xinran has joined #openstack-mogan | 05:48 | |
*** Xinran_ has quit IRC | 05:57 | |
*** Xinran has quit IRC | 05:57 | |
*** Xinran_ has joined #openstack-mogan | 05:57 | |
*** Xinran has joined #openstack-mogan | 05:57 | |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: [WIP] Add aggregate nodes API https://review.openstack.org/487284 | 06:02 |
*** Xinran has quit IRC | 06:04 | |
*** Xinran_ has quit IRC | 06:07 | |
*** Xinran_ has joined #openstack-mogan | 06:07 | |
*** Xinran_ has quit IRC | 06:07 | |
*** Xinran has joined #openstack-mogan | 06:11 | |
*** wanghao_ has quit IRC | 06:14 | |
*** wanghao has joined #openstack-mogan | 06:17 | |
*** wanghao_ has joined #openstack-mogan | 06:28 | |
*** wanghao has quit IRC | 06:28 | |
*** litao__ has quit IRC | 06:39 | |
openstackgerrit | liusheng proposed openstack/mogan master: Tempest: use network client than compute client to retrive network https://review.openstack.org/487306 | 07:04 |
openstackgerrit | Tao Li proposed openstack/mogan master: Manage existing BMs: Part-2 https://review.openstack.org/481544 | 07:12 |
*** luyao has quit IRC | 07:15 | |
*** luyao has joined #openstack-mogan | 07:17 | |
*** dims has quit IRC | 07:45 | |
*** dims has joined #openstack-mogan | 07:49 | |
openstackgerrit | liusheng proposed openstack/mogan master: Tempest: use network client than compute client to retrive network https://review.openstack.org/487306 | 07:54 |
zhenguo | liusheng: seems placement only got 2 APIs for resource provider aggregates | 08:08 |
zhenguo | liusheng: GET and PUT | 08:09 |
liusheng | zhenguo: yes | 08:10 |
zhenguo | liusheng: so we also provide such APIs instead of add node to aggregate, remove node to aggregate, lol | 08:10 |
liusheng | zhenguo: the two apis are "get/set aggregates for a resource provider" | 08:12 |
zhenguo | liusheng: PUT will replace all aggregates with the specified aggs? | 08:12 |
liusheng | zhenguo: no, seems *add* to existing | 08:13 |
zhenguo | liusheng: really? | 08:13 |
liusheng | zhenguo: nova.objects.resource_provider.ResourceProvider#_set_aggregates | 08:14 |
zhenguo | liusheng: so how to delete aggregate | 08:14 |
liusheng | zhenguo: just take a look | 08:14 |
liusheng | zhenguo: :( not sure | 08:14 |
liusheng | zhenguo: 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 |
zhenguo | liusheng: ? | 08:19 |
zhenguo | liusheng: for physical server you need to config physcial network | 08:19 |
liusheng | zhenguo: not Mogan on physical server, but a devstack on a physical server | 08:20 |
liusheng | zhenguo: still use 3 vms | 08:20 |
zhenguo | liusheng: not sure, but it should work | 08:20 |
zhenguo | liusheng: you recreate our physical env? | 08:21 |
liusheng | zhenguo: I tried serveral times, but it cannot work. no, another saperated physical server only used by me. lol | 08:21 |
zhenguo | liusheng: hah | 08:21 |
zhenguo | liusheng: any logs? | 08:21 |
liusheng | zhenguo: when creating a server, it is deploying, then wait-callback, and a long time later, it failed | 08:22 |
liusheng | zhenguo: in Ironic | 08:22 |
liusheng | Jul 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 adm | 08:23 |
liusheng | Jul 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 off | 08:23 |
liusheng | zhenguo: seems just repeated above logs | 08:23 |
zhenguo | liusheng: not sure why, but how we managed to make it work on our physical env before | 08:24 |
liusheng | zhenguo: maybe related with any Ironic config option ? | 08:25 |
zhenguo | liusheng: you use the same config with the vm devstack? | 08:26 |
liusheng | zhenguo: yes | 08:26 |
zhenguo | liusheng: not sure, I never played with a physcial machine :( | 08:27 |
liusheng | zhenguo: hah | 08:27 |
openstackgerrit | howard lee proposed openstack/mogan master: Remove support for py3.3 https://review.openstack.org/487321 | 08:38 |
*** RuiChen has joined #openstack-mogan | 08:54 | |
openstackgerrit | Tao Li proposed openstack/mogan master: Manage existing BMs: Part-2 https://review.openstack.org/481544 | 09:21 |
*** wanghao_ has quit IRC | 09:28 | |
*** wanghao has joined #openstack-mogan | 09:35 | |
*** wanghao has quit IRC | 09:37 | |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: [WIP] Add aggregate nodes API https://review.openstack.org/487284 | 09:42 |
openstackgerrit | liusheng proposed openstack/mogan master: Improve resources updating process https://review.openstack.org/487351 | 10:00 |
liusheng | zhenguo: hi, i have made some changes of resource updating process ^, please take a look if you have time :) | 10:01 |
zhenguo | liusheng: ok | 10:04 |
liusheng | zhenguo: thanks | 10:05 |
zhenguo | liusheng: I remember we discussed before about the allocations | 10:06 |
zhenguo | liusheng: seems if we delete allocations, when rp get back, it will be able to to scheuled again | 10:06 |
liusheng | zhenguo: 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 |
zhenguo | liusheng: so how do we handle that situation if a server still there, but the rp removed and get back again | 10:11 |
liusheng | zhenguo: sorry, I have to go home, will check that later, if you have better suggestion, please feel free to update the patch | 10:13 |
zhenguo | liusheng: ok, ttyl | 10:13 |
zhenguo | liusheng: in order to support aggregates, seems we should bump the placement API to latest version | 11:03 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Add default placement api version https://review.openstack.org/487372 | 11:18 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: [WIP] Add aggregate nodes API https://review.openstack.org/487284 | 11:23 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/mogan master: Updated from global requirements https://review.openstack.org/487470 | 15:03 |
*** harlowja has joined #openstack-mogan | 16:15 | |
*** harlowja has quit IRC | 17:46 | |
*** harlowja has joined #openstack-mogan | 19:21 | |
*** harlowja has quit IRC | 19:25 | |
*** harlowja has joined #openstack-mogan | 22:00 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!