Wednesday, 2017-07-19

*** wanghao has joined #openstack-mogan00:45
zhenguomorning mogan!00:47
*** harlowja has quit IRC01:13
openstackgerritwanghao proposed openstack/mogan master: Manage existing BMs: Part-1  https://review.openstack.org/47966001:34
Xinranzhenguo, liusheng  Hi,pls review this patch if you got time :) https://review.openstack.org/#/c/473323/02:08
zhenguoXinran: sure02:09
Xinranzhenguo, thanks02:10
openstackgerritZhenguo Niu proposed openstack/mogan master: Adds aggregates DB model and API  https://review.openstack.org/48278602:55
openstackgerritZhenguo Niu proposed openstack/mogan master: [WIP]Add aggregate API  https://review.openstack.org/48469002:55
openstackgerritZhenguo Niu proposed openstack/mogan master: [WIP]Add aggregate object  https://review.openstack.org/48463002:55
openstackgerritZhenguo Niu proposed openstack/mogan master: Adds aggregates DB model and API  https://review.openstack.org/48278603:08
openstackgerritZhenguo Niu proposed openstack/mogan master: [WIP]Add aggregate API  https://review.openstack.org/48469003:08
openstackgerritZhenguo Niu proposed openstack/mogan master: [WIP]Add aggregate object  https://review.openstack.org/48463003:08
*** litao__ has joined #openstack-mogan03:22
liushengXinran: just left comments in your patch :)03:51
openstackgerritZhenguo Niu proposed openstack/mogan master: Add support for DBDeadlock handling  https://review.openstack.org/48502103:52
*** harlowja has joined #openstack-mogan04:31
*** harlowja has quit IRC04:47
openstackgerritZhenguo Niu proposed openstack/mogan master: Add support for DBDeadlock handling  https://review.openstack.org/48502105:14
*** harlowja has joined #openstack-mogan05:46
Xinranliusheng,  will check it. Thanks05:58
*** wanghao_ has joined #openstack-mogan06:06
*** wanghao has quit IRC06:09
*** harlowja has quit IRC06:42
openstackgerritHangdong Zhang proposed openstack/mogan master: Update and optimize documentation links  https://review.openstack.org/48506706:57
litao__zhenguo, liusheng: An isssue. I call the rest API ,  but mogan api raised ‘’Client-side error: Unknown argument‘, do  you know why?07:07
zhenguolitao__: which api?07:08
zhenguolitao__: can you paste the log here07:08
litao__zhenguo: my new adoption API07:09
litao__zhenguo: Client-side error: Unknown argument: "{"name": "litao_adoption_server01", "description": "wwwwwwww", "node_uuid": "aacdbd78-d670-409e-95aa-ecfcfb94fee2", "flavor_uuid": "ff266c7d-d8d5-4f41-be7f-edae7db4d229", "networks": {port_id:": UnknownArgument: Unknown argument: "{"name": "litao_adoption_server01", "description": "wwwwwwww", "node_uuid": "aacdbd78-d670-409e-95aa-ecfcfb94fee2", "flavor_uuid":07:09
litao__"ff266c7d-d8d5-4f41-be7f-edae7db4d229", "networks": {port_id:" from (pid=17678) format_exception /usr/lib/python2.7/site-packages/wsme/api.py:22207:09
zhenguolitao__: seems format_exception07:10
litao__zhenguo: yes07:10
zhenguolitao__: can you paste your curl command here07:10
litao__zhenguo: curl -g -i -X POST http://192.168.2.71:6688/v1/servers/adopt -H "User-Agent: python-moganclient" -H "Accept: application/json" -H "X-Auth-Token:$Token" -d '{"name": "litao_adoption_server01", "description": "wwwwwwww", "node_uuid": "aacdbd78-d670-409e-95aa-ecfcfb94fee2", "flavor_uuid": "ff266c7d-d8d5-4f41-be7f-edae7db4d229", "networks": '{"port_id": "b532a4cd-97fe-411d-81e4-3e7219da18d1"}'}'07:10
zhenguolitao__: you need to add -H "Content-Type:application/json"07:11
zhenguolitao__: when request with a json body07:11
litao__zhenguo:  is it not the default type?07:12
zhenguolitao__: no07:12
litao__zhenguo: OK07:12
litao__zhenguo: tks07:12
zhenguolitao__: np07:13
openstackgerritZhenguo Niu proposed openstack/mogan master: Adds aggregates DB model and API  https://review.openstack.org/48278608:47
openstackgerritZhenguo Niu proposed openstack/mogan master: Add aggregate API  https://review.openstack.org/48469008:47
openstackgerritZhenguo Niu proposed openstack/mogan master: Add aggregate object  https://review.openstack.org/48463008:47
*** openstackgerrit has quit IRC08:49
*** openstackgerrit has joined #openstack-mogan09:11
openstackgerritXinran WANG proposed openstack/mogan master: Add filters to server list API  https://review.openstack.org/47332309:25
*** wanghao_ has quit IRC09:26
*** litao__ has quit IRC11:51
*** harlowja has joined #openstack-mogan17:25
*** harlowja has quit IRC17:25
*** harlowja has joined #openstack-mogan17:26

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