*** wanghao has joined #openstack-mogan | 00:37 | |
*** wanghao has quit IRC | 00:55 | |
*** wanghao has joined #openstack-mogan | 00:56 | |
*** wanghao_ has joined #openstack-mogan | 01:04 | |
*** wanghao has quit IRC | 01:07 | |
*** kevinz has joined #openstack-mogan | 01:13 | |
*** wanghao has joined #openstack-mogan | 01:13 | |
*** wanghao_ has quit IRC | 01:16 | |
zhenguo | morning mogan! | 01:31 |
---|---|---|
*** wanghao has quit IRC | 01:36 | |
*** wanghao has joined #openstack-mogan | 01:37 | |
openstackgerrit | Merged openstack/mogan master: Fix doc generation for Python3 https://review.openstack.org/457208 | 01:47 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Change to use /flavors in URI https://review.openstack.org/457227 | 02:31 |
zhenguo | liusheng: hi, I would like to replace /types with /flavors in URI, and then /instances to /servers maybe, wdyt? | 02:43 |
liusheng | zhenguo: totally agree | 02:43 |
zhenguo | liusheng: hah | 02:43 |
liusheng | zhenguo: I have found your flavor patch | 02:43 |
zhenguo | liusheng: but how about the db and objects, should we still keep instances and instance_types like nova? | 02:44 |
liusheng | zhenguo: maybe replace all of them ? | 02:45 |
zhenguo | liusheng: ok, let me change the URI first | 02:45 |
liusheng | zhenguo: seems the instance concept nova also borrow from others | 02:45 |
liusheng | zhenguo: cool, thanks | 02:45 |
zhenguo | liusheng: yes, | 02:45 |
liusheng | zhenguo: i will land the keypair feature asap | 02:47 |
zhenguo | liusheng: thanks very much | 02:47 |
liusheng | zhenguo: lol | 02:47 |
zhenguo | liusheng: hah, then I will add it to configdrive | 02:47 |
liusheng | zhenguo: ok | 02:48 |
zhenguo | liusheng: ops, seems the moganclient should be changed first as our devstack plugin need to create a flavor :( | 02:52 |
liusheng | zhenguo: haha, that seems will lock the gate | 02:53 |
zhenguo | liusheng: yes, do we have such test in client gate? | 02:53 |
liusheng | zhenguo: I don't think so | 02:54 |
zhenguo | liusheng: so we can add a depends-on of client change :D | 02:54 |
liusheng | zhenguo: yes, please ping me if you want to merge patch in client side | 02:55 |
zhenguo | liusheng: ok, thanks | 02:55 |
openstackgerrit | Zhenguo Niu proposed openstack/python-moganclient master: Replace /types with /flavors in URI https://review.openstack.org/457437 | 03:12 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Change to use /flavors in URI https://review.openstack.org/457227 | 03:14 |
*** wanghao_ has joined #openstack-mogan | 03:26 | |
*** wanghao_ has quit IRC | 03:27 | |
*** wanghao has quit IRC | 03:29 | |
*** lin_yang has quit IRC | 06:43 | |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Change to use /flavors in URI https://review.openstack.org/457227 | 07:02 |
openstackgerrit | liusheng proposed openstack/mogan master: [PoC] keypair support https://review.openstack.org/457205 | 07:07 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan master: Change to use /flavors in URI https://review.openstack.org/457227 | 07:37 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan-ui master: Remove egg-info* https://review.openstack.org/457492 | 07:44 |
openstackgerrit | Merged openstack/mogan-ui master: Remove egg-info* https://review.openstack.org/457492 | 07:55 |
openstackgerrit | Tao Li proposed openstack/mogan master: [WIP]Improve the multi-instance creation https://review.openstack.org/453675 | 08:16 |
*** litao has joined #openstack-mogan | 08:17 | |
liusheng | zhenguo: FYI: the devstack env in physical machines is ready | 08:20 |
zhenguo | liusheng: cool | 08:21 |
liusheng | zhenguo: :D | 08:21 |
zhenguo | liusheng: so the next step, you can try to add a real node to mogan with the required driver information to test | 08:21 |
liusheng | zhenguo: ok, will try, I need to study more | 08:22 |
zhenguo | liusheng: hah, at least you can test power on/off the node, and maybe console | 08:23 |
liusheng | zhenguo: a bit strange, I added a "disable_service nova" in local conf, but it still installed nova | 08:23 |
liusheng | zhenguo: cannot disable nova by this option ? | 08:23 |
zhenguo | liusheng: you need to disalbe all nova services | 08:24 |
liusheng | zhenguo: but no effect, I have commented the "VIRT_DRIVER=ironic". lol | 08:24 |
liusheng | zhenguo: nova will use kvm | 08:24 |
zhenguo | liusheng: lol | 08:25 |
litao | : who knows the error "InternalServerError: No module named uts46data (HTTP 500)" | 08:27 |
zhenguo | litao: what's that? | 08:28 |
litao | I created a server by mogan in devstack, the ironic-conductor raised the exception | 08:28 |
zhenguo | litao: ironic need uts46data? | 08:29 |
litao | yes | 08:29 |
zhenguo | litao: your ironic env is also in devstack or it's a real physical env? | 08:29 |
litao | The ironic used the request module, and the request module add the feature | 08:29 |
litao | devstack env | 08:29 |
zhenguo | litao: not sure what's happend :( | 08:30 |
* litao zhenguo: The version fo requests module is 2.12.5 | 08:30 | |
liusheng | litao: any error traceback ? | 08:31 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance Traceback (most recent call last): | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance File "/opt/stack/mogan/mogan/engine/flows/create_instance.py", line 166, in _build_networks | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance port_dict['id']) | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance File "/opt/stack/mogan/mogan/engine/baremetal/ironic/driver.py", line 267, in plug_vif | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance self.ironicclient.call("port.update", ironic_port_id, patch) | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance File "/opt/stack/mogan/mogan/common/ironic.py", line 122, in call | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance return self._multi_getattr(client, method)(*args, **kwargs) | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance File "/usr/lib/python2.7/site-packages/ironicclient/v1/port.py", line 125, in update | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance return self._update(resource_id=port_id, patch=patch) | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance File "/usr/lib/python2.7/site-packages/ironicclient/common/base.py", line 191, in _update | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance resp, body = self.api.json_request(method, url, body=patch) | 08:32 |
litao | 2017-04-17 05:09:27.255 TRACE mogan.engine.flows.create_instance File "/usr/lib/python2.7/site-packages/ironicclient/common/http.py", line 560, in json_request | 08:32 |
*** openstackgerrit has quit IRC | 08:33 | |
liusheng | litao: just need the log messages near the "No module named uts46data" | 08:37 |
litao | File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 135, in _do_create_plugin | 08:40 |
litao | authenticated=False) | 08:40 |
litao | File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner | 08:40 |
litao | return wrapped(*args, **kwargs) | 08:40 |
litao | File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 341, in get_discovery | 08:40 |
litao | authenticated=authenticated) | 08:40 |
litao | File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner | 08:40 |
*** litao has quit IRC | 08:40 | |
*** litao has joined #openstack-mogan | 08:41 | |
litao | liusheng: | 08:41 |
litao | do you receive my log message? | 08:41 |
liusheng | litao: just some unrelated log :), may you can just paste it in paste.openstack.org | 08:42 |
litao | liusheng: just wait | 08:46 |
*** openstackgerrit has joined #openstack-mogan | 08:51 | |
openstackgerrit | Zhenguo Niu proposed openstack/mogan-ui master: Add servers list API https://review.openstack.org/457526 | 08:51 |
litao | liusheng: pls see the link http://paste.openstack.org/show/606981/ | 08:53 |
liusheng | litao: you can try to update requests lib and idna lib | 08:54 |
liusheng | zhenguo: upgrade | 08:55 |
liusheng | liusheng: upgrade | 08:55 |
litao | liusheng: The requests and idna is the lastest version | 08:57 |
liusheng | litao: clean the idna package and re-install it | 08:57 |
zhenguo | liusheng: hi, this passed all tests https://review.openstack.org/#/c/457227/ , maybe we can land the client patch first | 09:12 |
liusheng | zhenguo: awesome! | 09:12 |
zhenguo | liusheng: but the object and table are still named instance_type now :( | 09:13 |
zhenguo | liusheng: maybe just leave that? | 09:13 |
liusheng | zhenguo: all others have been renamed to 'flavor' ? | 09:13 |
zhenguo | liusheng: yes, the API related things have been changed | 09:14 |
liusheng | zhenguo: ok, we can just leave that now | 09:14 |
zhenguo | liusheng: if someone want to do that, it's easy for new comers :D | 09:15 |
liusheng | zhenguo: hah, sure | 09:15 |
openstackgerrit | Merged openstack/python-moganclient master: Replace /types with /flavors in URI https://review.openstack.org/457437 | 09:18 |
zhenguo | liusheng: client code is in, if there's no objections, I will land this https://review.openstack.org/#/c/457227/ , otherwise our gate will be blocked | 09:22 |
liusheng | zhenguo: ok | 09:23 |
zhenguo | liusheng: thanks | 09:23 |
liusheng | zhenguo: I have to handle some conflicts. lol | 09:23 |
zhenguo | liusheng: will that affect keypairs? | 09:23 |
liusheng | zhenguo: oh, maybe not conflict, only conflict with your PoC patch | 09:24 |
zhenguo | liusheng: but there's no other choice, as if the patch not landed, your patch will not landed forever :D | 09:24 |
liusheng | zhenguo: it is ok | 09:24 |
liusheng | zhenguo: hah | 09:24 |
openstackgerrit | liusheng proposed openstack/mogan master: [PoC] keypair support https://review.openstack.org/457205 | 09:41 |
openstackgerrit | Merged openstack/mogan master: Change to use /flavors in URI https://review.openstack.org/457227 | 09:52 |
*** kevinz has quit IRC | 10:25 | |
openstackgerrit | Tao Li proposed openstack/mogan master: [WIP]Improve the multi-instance creation https://review.openstack.org/453675 | 10:43 |
zhenguo | liusheng: hah, the flavor patch doesn't introduce any conflicts :D | 10:58 |
liusheng | zhenguo: yes, good to know that :P | 10:58 |
litao | zhenguo: I can't get the flavor after pulling the latest code | 10:59 |
zhenguo | litao: really? how do you get the flavor | 11:00 |
zhenguo | litao: moganclient or rest API? | 11:00 |
litao | zhenguo: moganclient | 11:00 |
zhenguo | litao: you need to upgrade the moganclient as well | 11:00 |
litao | zhenguo:ok | 11:00 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan-ui master: Add servers list API https://review.openstack.org/457526 | 11:17 |
*** Xinran has quit IRC | 11:25 | |
openstackgerrit | Merged openstack/mogan-ui master: Add servers list API https://review.openstack.org/457526 | 11:30 |
openstackgerrit | liusheng proposed openstack/mogan master: Add keypair support https://review.openstack.org/457205 | 11:47 |
litao | liusheng: The issue remains after re-installing idna | 11:59 |
liusheng | litao: it is strange, do you have confirmed the old files of idna under /usr/lib/python2.7/site-packages have been cleant | 12:02 |
openstackgerrit | Zhenguo Niu proposed openstack/mogan-ui master: Add bare metal servers content https://review.openstack.org/457595 | 12:05 |
litao | liusheng: I downgraded the requests version, then it worked | 12:16 |
liusheng | litao: ... | 12:16 |
openstackgerrit | liusheng proposed openstack/mogan master: Add keypair support https://review.openstack.org/457205 | 13:41 |
*** kevinz has joined #openstack-mogan | 14:01 | |
*** kevinz has quit IRC | 14:13 | |
*** kevinz has joined #openstack-mogan | 14:14 | |
openstackgerrit | Tao Li proposed openstack/mogan master: [WIP]Improve the multi-instance creation https://review.openstack.org/453675 | 14:23 |
*** kevinz has quit IRC | 15:00 | |
*** kevinz has joined #openstack-mogan | 15:16 | |
*** kevinz has quit IRC | 15:21 | |
*** Kevin_Zheng has quit IRC | 15:57 | |
*** litao has quit IRC | 16:49 | |
*** harlowja_ has joined #openstack-mogan | 16:50 | |
*** harlowja has quit IRC | 16:52 | |
*** wanghao has joined #openstack-mogan | 17:09 | |
*** wanghao has quit IRC | 17:41 | |
*** wanghao has joined #openstack-mogan | 17:42 | |
*** wanghao has quit IRC | 17:46 | |
*** openstackgerrit has quit IRC | 20:33 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!