*** vikasc has joined #openstack-zun | 00:04 | |
*** jwcroppe has joined #openstack-zun | 00:32 | |
*** jwcroppe has quit IRC | 01:08 | |
*** catintheroof has quit IRC | 01:10 | |
*** XueFeng has quit IRC | 01:14 | |
*** lakerzhou2 has joined #openstack-zun | 01:32 | |
*** caowei has joined #openstack-zun | 01:56 | |
openstackgerrit | Merged openstack/zun-ui master: Updated from global requirements https://review.openstack.org/470569 | 02:01 |
---|---|---|
openstackgerrit | Merged openstack/python-zunclient master: Updated from global requirements https://review.openstack.org/470558 | 02:04 |
*** Shunli has joined #openstack-zun | 02:08 | |
*** hongbin has joined #openstack-zun | 02:26 | |
*** chenying has quit IRC | 02:28 | |
*** chenying has joined #openstack-zun | 02:28 | |
*** jwcroppe has joined #openstack-zun | 02:29 | |
hongbin | hi all, team meeting will start in about 15 minutes | 02:44 |
hongbin | at #openstack-meeting | 02:44 |
*** chenying has quit IRC | 02:54 | |
*** chenying has joined #openstack-zun | 02:54 | |
*** diga has joined #openstack-zun | 02:58 | |
openstackgerrit | feng.shengqin proposed openstack/zun master: [WIP]Persist infra container in DB https://review.openstack.org/467535 | 03:04 |
*** zsli_ has joined #openstack-zun | 03:05 | |
*** Shunli has quit IRC | 03:07 | |
*** Shunli has joined #openstack-zun | 03:13 | |
*** zsli_ has quit IRC | 03:16 | |
*** klkumar has joined #openstack-zun | 03:18 | |
*** zhurong has joined #openstack-zun | 03:28 | |
openstackgerrit | feng.shengqin proposed openstack/zun master: Log the network configuration https://review.openstack.org/470809 | 03:36 |
openstackgerrit | Merged openstack/python-zunclient master: Skip run OSC tests on unit tests https://review.openstack.org/465190 | 03:55 |
*** janki has joined #openstack-zun | 04:05 | |
hongbin | lakerzhou2: hi zhoubin, a question | 04:07 |
hongbin | lakerzhou2: does nova support create a vm in both tenant and provider network? | 04:08 |
hongbin | perhaps, it is as simple as specifying two --nic ? | 04:10 |
*** lakerzhou2 has quit IRC | 04:12 | |
*** hongbin has quit IRC | 04:16 | |
openstackgerrit | Rajat Sharma proposed openstack/zun master: Replace assertEqual([], items) with assertEmpty(items) https://review.openstack.org/468358 | 04:18 |
*** zhurong has quit IRC | 04:27 | |
*** kevinz has joined #openstack-zun | 04:29 | |
*** diga has quit IRC | 04:39 | |
*** zhurong has joined #openstack-zun | 04:54 | |
*** jwcroppe has quit IRC | 05:42 | |
*** zsli_ has joined #openstack-zun | 05:48 | |
*** zsli__ has joined #openstack-zun | 05:49 | |
*** Shunli has quit IRC | 05:51 | |
*** zsli_ has quit IRC | 05:52 | |
*** zsli_ has joined #openstack-zun | 05:55 | |
*** zsli__ has quit IRC | 05:57 | |
*** zsli__ has joined #openstack-zun | 05:58 | |
*** zsli_ has quit IRC | 06:00 | |
*** XueFeng has joined #openstack-zun | 06:03 | |
*** jwcroppe has joined #openstack-zun | 06:10 | |
openstackgerrit | miaohb proposed openstack/zun master: Add return the image ID in container commit https://review.openstack.org/470864 | 06:21 |
openstackgerrit | feng.shengqin proposed openstack/python-zunclient master: OSC: return columns instead of using print_dict https://review.openstack.org/470850 | 06:24 |
*** zhurong has quit IRC | 06:32 | |
openstackgerrit | feng.shengqin proposed openstack/zun master: Persist infra container in DB https://review.openstack.org/467535 | 06:36 |
*** zhurong has joined #openstack-zun | 06:38 | |
*** jwcroppe has quit IRC | 06:47 | |
*** eliqiao has quit IRC | 07:09 | |
*** eliqiao has joined #openstack-zun | 07:10 | |
openstackgerrit | Merged openstack/zun master: Log the network configuration https://review.openstack.org/470809 | 07:16 |
openstackgerrit | Merged openstack/zun master: Updated from global requirements https://review.openstack.org/470941 | 07:16 |
*** klkumar has quit IRC | 07:21 | |
*** klkumar has joined #openstack-zun | 07:23 | |
*** yasemin has joined #openstack-zun | 07:24 | |
*** jwcroppe has joined #openstack-zun | 07:29 | |
*** nicolasbock has joined #openstack-zun | 07:31 | |
openstackgerrit | feng.shengqin proposed openstack/python-zunclient master: OSC: return columns instead of using print_dict https://review.openstack.org/470850 | 07:33 |
*** egonzalez has joined #openstack-zun | 07:37 | |
openstackgerrit | feng.shengqin proposed openstack/python-zunclient master: Delete the links info when showing a container https://review.openstack.org/471252 | 08:21 |
*** zhurong has quit IRC | 08:35 | |
*** zhurong has joined #openstack-zun | 08:40 | |
*** nicolasbock has quit IRC | 09:03 | |
*** yasemin has quit IRC | 09:10 | |
*** zsli__ has quit IRC | 09:30 | |
*** jwcroppe has quit IRC | 09:33 | |
*** zhurong has quit IRC | 09:33 | |
*** yasemin has joined #openstack-zun | 09:42 | |
*** kevinz has quit IRC | 10:14 | |
*** caowei has quit IRC | 10:26 | |
*** klkumar has quit IRC | 10:38 | |
*** vikasc has quit IRC | 10:41 | |
*** nicolasbock has joined #openstack-zun | 10:44 | |
*** vikasc has joined #openstack-zun | 10:54 | |
*** klkumar has joined #openstack-zun | 10:57 | |
*** yasemin has quit IRC | 11:26 | |
*** zhurong has joined #openstack-zun | 11:30 | |
*** klkumar has quit IRC | 11:42 | |
*** XueFeng has quit IRC | 11:51 | |
*** XueFeng has joined #openstack-zun | 11:51 | |
*** jwcroppe has joined #openstack-zun | 11:59 | |
*** yasemin has joined #openstack-zun | 12:02 | |
*** lakerzhou2 has joined #openstack-zun | 12:09 | |
lakerzhou2 | hongbin, yes, VM can attach to multiple networks, tenant and/or providers | 12:10 |
*** klkumar has joined #openstack-zun | 12:11 | |
*** zhurong has quit IRC | 12:12 | |
*** janki has quit IRC | 12:21 | |
*** XueFeng has quit IRC | 12:26 | |
*** yasemin has quit IRC | 12:35 | |
*** yasemin has joined #openstack-zun | 12:38 | |
*** catintheroof has joined #openstack-zun | 12:42 | |
*** vikasc has quit IRC | 12:48 | |
*** lakerzhou2 has quit IRC | 12:59 | |
*** vikasc has joined #openstack-zun | 13:05 | |
*** raphaelehret has quit IRC | 13:08 | |
*** lakerzhou2 has joined #openstack-zun | 13:23 | |
*** lakerzhou1 has joined #openstack-zun | 13:24 | |
*** lakerzhou2 has quit IRC | 13:28 | |
*** klkumar has quit IRC | 13:58 | |
*** janki has joined #openstack-zun | 14:02 | |
*** lakerzhou2 has joined #openstack-zun | 14:02 | |
*** lakerzhou1 has quit IRC | 14:06 | |
*** klkumar has joined #openstack-zun | 14:10 | |
*** raphaelehret has joined #openstack-zun | 14:12 | |
raphaelehret | Hi! I am currently trying to install zun in devstack, but during the `./stack` command, I encounter the error "AttributeError: 'module' object has no attribute 'HostAddressOpt'" when the script executes the command `/usr/local/bin/zun-db-manage upgrade`. | 14:14 |
mkrai | raphaelehret: Hi | 14:14 |
mkrai | Can you paste the error log ? | 14:14 |
raphaelehret | My devstack version is Mitaka, as I wanted to try if zun was compatible with this version of Openstack. Is this error caused by compatibiliy? | 14:15 |
raphaelehret | https://pastebin.com/raw/YCeSyn9c | 14:15 |
mkrai | Yes that is possibly a compatibility issue | 14:16 |
mkrai | What's your oslo.cfg version? | 14:17 |
*** lakerzhou2 has quit IRC | 14:18 | |
*** lakerzhou2 has joined #openstack-zun | 14:20 | |
raphaelehret | mhh, where is this file supposed to be located? Can't seem to find it in /etc | /usr/local/lib | 14:20 |
*** hongbin has joined #openstack-zun | 14:28 | |
mkrai | sudo pip show oslo.config | 14:28 |
raphaelehret | Ho, my bad | 14:28 |
raphaelehret | 3.9.0 | 14:28 |
raphaelehret | Full output : "Name: oslo.config Version: 3.9.0 Summary: Oslo Configuration API Home-page: https://wiki.openstack.org/wiki/Oslo#oslo.config Author: OpenStack Author-email: openstack-dev@lists.openstack.org License: UNKNOWN Location: /usr/local/lib/python2.7/dist-packages Requires: six, netaddr, stevedore, debtcollector" | 14:28 |
mkrai | raphaelehret: Mitaka doesn't have HostAddressOpt option | 14:30 |
*** lakerzhou2 has quit IRC | 14:30 | |
*** lakerzhou2 has joined #openstack-zun | 14:30 | |
raphaelehret | So there is definitely compatibility involved, then | 14:30 |
raphaelehret | mkrai: Thanks for this :) Do you know if zun is compatible with Zun? | 14:31 |
raphaelehret | with Newton* | 14:31 |
hongbin | raphaelehret: officially no, zun doesn't have stable branch for either newton or ocata, but you might want to make several small tweak to make it work with newton if you want | 14:34 |
raphaelehret | hongbin: I'll try this way, I guess | 14:35 |
raphaelehret | My production environment is currently Mitaka, I will migrate it into Newton soon enough, but Pike isn't stable ATM so I don't think it is suitable for prod | 14:36 |
hongbin | raphaelehret: i see | 14:37 |
hongbin | yes, we should start produce stable branch from now on | 14:37 |
hongbin | unfortunately, it seems we cannot make a stable branch for newton anymore | 14:38 |
raphaelehret | Is it out of the development cycle? | 14:38 |
hongbin | dont quite get your question, could you elaborate? | 14:39 |
raphaelehret | Is it still possible to develop plugins/modules for newton and integrate it into Newton officially? | 14:41 |
raphaelehret | (Excuse my for my poor English, I'm not a native english speaker :P) | 14:41 |
hongbin | as far as i know, this is impossible officially | 14:42 |
hongbin | since zun is a new project, we were not participanting in the newton release in about one year ago | 14:42 |
raphaelehret | Okay, thanks | 14:43 |
hongbin | (np for the english speaking, i am not native english speaker as well) | 14:43 |
raphaelehret | One last question, is there any ressources available on the Web for the installation of Zun into Newton (official or unofficial)? | 14:44 |
hongbin | the closest one is: https://github.com/openstack/zun/blob/master/doc/source/dev/manual-devstack.rst , we are working on giving the official installation guide, but not there yet | 14:47 |
*** kevzha01 has joined #openstack-zun | 14:48 | |
hongbin | the manual install guide is for master, but might work for newton after a few tweak | 14:49 |
*** kevzha01 has quit IRC | 14:52 | |
*** kevzha01 has joined #openstack-zun | 14:52 | |
raphaelehret | hongbin: Okay, I'll definitely give it a try. Would it help for me to give a feedback about the needed modifications to make it work? | 14:53 |
raphaelehret | For you* | 14:53 |
raphaelehret | I mean, would it be helpful for you if I give a feedback of my installation of Zun on Newton? | 14:54 |
*** kevzha01_ has joined #openstack-zun | 14:54 | |
hongbin | raphaelehret: that is for sure | 14:54 |
mkrai | raphaelehret: That will be great :) | 14:54 |
raphaelehret | Okay then! Thanks for your time :) | 14:56 |
hongbin | thank you | 14:56 |
hongbin | raphaelehret: btw, for the error you mentioned above, it might be resolved by reverting this commit: https://github.com/openstack/zun/commit/093c65aea30d69e8bf4623b218a4cba921886bf7 | 14:56 |
*** kevzha01 has quit IRC | 14:57 | |
hongbin | raphaelehret: feel free to ping me or mkrai if you encounter any error later and need help to resolve it | 14:58 |
raphaelehret | hongbin: Let's try this | 14:59 |
*** pksingh has joined #openstack-zun | 15:03 | |
*** kevzha01_ has quit IRC | 15:04 | |
*** kevzha01_ has joined #openstack-zun | 15:04 | |
*** kevzha01_ has quit IRC | 15:07 | |
*** kevzha01_ has joined #openstack-zun | 15:07 | |
pksingh | hongbin: hello | 15:09 |
hongbin | pksingh: hey pradeep | 15:09 |
pksingh | hongbin: i am busy these days with someother stuffs, so just getting some time at night to work on zun | 15:09 |
pksingh | hongbin: i think this will be over soon | 15:09 |
hongbin | pksingh: that is totally fine :) | 15:10 |
openstackgerrit | Merged openstack/zun master: Change default scheduler to filter_scheduler https://review.openstack.org/470062 | 15:10 |
pksingh | hongbin: btw, do you have any idea why we use oslo-versioned-object in openstack, from user's perspective | 15:10 |
pksingh | hongbin: what are it's benifits? | 15:10 |
hongbin | pksingh: it is for upgrade between compoenents | 15:11 |
pksingh | hongbin: components means different openstack components, like nove and zun | 15:12 |
pksingh | hongbin: or some service in a single project | 15:12 |
hongbin | hongbin: some service in a single project | 15:12 |
pksingh | hongbin: ok, so how does it help, can you little bit elaborate, if you have some time plz | 15:13 |
hongbin | hongbin: for example, if you want to upgrade zun-api from version 1 to version 2, you will have zun-api (version 2) and zun-compute (version 1) after the upgrade | 15:13 |
hongbin | s/after the upgrade/during the upgrade/ | 15:13 |
hongbin | that is what versioned object is for | 15:14 |
openstackgerrit | Merged openstack/zun master: Introduce cpu-policy for container deployment https://review.openstack.org/427007 | 15:14 |
hongbin | it is for different version of compoenents to do rpc communication | 15:14 |
pksingh | hongbin: ok, so it gives the result based on the consuming service version | 15:15 |
hongbin | pksingh: yes, it suppose to do that | 15:15 |
pksingh | hongbin: so it maintains a version for every service which is accessing the DB and if there is change in schema they wouldn't be affected? | 15:16 |
hongbin | pksingh: in particular, maintains a version for every service which is doing RPC calls | 15:17 |
hongbin | but yes, eventually, it si for handling different db schema | 15:18 |
pksingh | hongbin: so in our case zun-compute is not using rpc calls to access the DB? | 15:18 |
hongbin | pksingh: no we don't | 15:18 |
raphaelehret | hongbin: I have tried with the commit reverted, the script still fails with a quite similar error : https://pastebin.com/A3bJWWPB | 15:18 |
hongbin | raphaelehret: perhaps revert this commit as well: https://github.com/openstack/zun/commit/72a79970803d8d5ba9c11903a7ba0e0fe8fe63ac | 15:19 |
hongbin | pksingh: rpc layer and db layer are independent | 15:20 |
pksingh | hongbin: and same with zun-api, which is accessing the database directly? | 15:20 |
hongbin | pksingh: yes, zun-api should access the db directly | 15:21 |
hongbin | pksingh: for security reason, we don't want to let zun-compute to access the db directly, but we are doing it right now | 15:21 |
pksingh | hongbin: so you are saying, since zun api uses rpc calls, it will be benifitted from this versioning library/ | 15:22 |
hongbin | pksingh: yes | 15:23 |
pksingh | hongbin: ok, but not zun-compute? | 15:23 |
hongbin | pksingh: zun-compute is using versioned-object as well | 15:23 |
hongbin | pksingh: i think there are several benefits the versioned-object provides | 15:24 |
hongbin | pksingh: one of them is solving the upgrade problem | 15:24 |
pksingh | hongbin: k | 15:25 |
hongbin | pksingh: another one is for defining the rpc protocal | 15:25 |
pksingh | hongbin: can you plz explain last point? | 15:25 |
hongbin | pksingh: for rpc call, we need something to serialize object to data stream, and deserialize data stram to object | 15:25 |
pksingh | hongbin: ok, got it | 15:26 |
hongbin | pksingh: for example, serialize the container object into a json stream, before sending it to the message queue | 15:26 |
hongbin | yes, this is what versioned-object is doing | 15:26 |
pksingh | hongbin: ok thanks a lot for your time | 15:27 |
pksingh | hongbin: you save a lot of my time | 15:27 |
hongbin | pksingh: np, happy to help | 15:27 |
pksingh | hongbin: thnx again | 15:27 |
pksingh | hongbin: i will see if i can take any BP over this weekend | 15:27 |
pksingh | hongbin: did you found how nova updates the Floating IP in DB? | 15:28 |
hongbin | pksingh: ack, take your time | 15:28 |
pksingh | hongbin: i did not get time to work on that | 15:28 |
hongbin | pksingh: haven't looked into it yet | 15:28 |
pksingh | hongbin: ok, no issue, i will look into that | 15:29 |
hongbin | pksingh: ack, take your time :) | 15:29 |
*** kevzha01_ has quit IRC | 15:40 | |
*** janki has quit IRC | 15:58 | |
*** egonzalez has quit IRC | 16:05 | |
*** pksingh has quit IRC | 16:21 | |
*** klkumar has quit IRC | 16:51 | |
*** pksingh has joined #openstack-zun | 17:05 | |
*** pksingh has quit IRC | 17:06 | |
*** pksingh has joined #openstack-zun | 17:33 | |
*** nicolasbock has quit IRC | 17:41 | |
*** nicolasbock has joined #openstack-zun | 17:42 | |
pksingh | hongbin: It seems nova get the floating IP update through events generated by neutron | 18:34 |
hongbin | pksingh: interesting | 18:35 |
pksingh | hongbin: when there is change in network, neutron generates an event and nova process that | 18:35 |
hongbin | pksingh: could you point to the code? | 18:36 |
pksingh | hongbin: https://github.com/openstack/nova/blob/5d95cb9dbca403790db4e9680919e6716fa5cb76/nova/compute/manager.py#L6881 | 18:36 |
pksingh | hongbin: nova maintains such information in table at here https://github.com/openstack/nova/blob/5d95cb9dbca403790db4e9680919e6716fa5cb76/nova/db/sqlalchemy/models.py#L355 | 18:37 |
pksingh | hongbin: neutron generates it here https://github.com/openstack/neutron/blob/03c5283c69f1f5cba8a9f29e7bd7fd306ee0c123/neutron/notifiers/nova.py#L133 | 18:38 |
hongbin | pksingh: the event is delivered over rpc? | 18:40 |
pksingh | hongbin: i have no idea about that, but i think should | 18:41 |
pksingh | hongbin: otherwise who will process it, if it pub/sub? | 18:42 |
hongbin | pksingh: i think another possibility is via rest api | 18:42 |
hongbin | pksingh: but it seems it is via rpc | 18:42 |
pksingh | hongbin: i was talking at nova channel, and they said to avoid neutron proxy | 18:42 |
pksingh | hongbin: they also said plz dont copy there address field style, which they show during server detail | 18:43 |
pksingh | hongbin: its not good | 18:43 |
hongbin | i see | 18:43 |
hongbin | pksingh: what do you think about our cases | 18:45 |
pksingh | hongbin: let me give you the chat snippet | 18:46 |
pksingh | hongbin: i am little bit weak in networking ;) | 18:46 |
pksingh | hongbin: http://eavesdrop.openstack.org/irclogs/%23openstack-nova/%23openstack-nova.2017-06-06.log.html#t2017-06-06T15:37:50 | 18:47 |
pksingh | hongbin: at this time i am not sure, how to deal with it | 18:50 |
pksingh | hongbin: but i am sure we should not use neutron proxy, because that will create dependency on neutron | 18:51 |
* hongbin is reading the nova logs | 18:51 | |
hongbin | pksingh: i see, then you think we should not show any floating ip in server details? | 18:52 |
pksingh | hongbin: i think we need to show it, may be we can follow the same as nova follows | 18:55 |
pksingh | hongbin: neutron, is using rest API, https://github.com/openstack/neutron/blob/03c5283c69f1f5cba8a9f29e7bd7fd306ee0c123/neutron/notifiers/nova.py#L242 | 18:56 |
hongbin | pksingh: that means nova has a rest api to receive external events | 18:57 |
hongbin | pksingh: here you go: https://developer.openstack.org/api-ref/compute/#create-external-events-os-server-external-events | 18:58 |
pksingh | hongbin: yes, so neutron generates the event, nova calls neutron api and updates the floating IP | 18:59 |
hongbin | pksingh: ok, that means we cannot leverage the same approcah since it is specific for nova-neutron communication | 18:59 |
pksingh | hongbin: yes, for that purpose there will be major change in neutron | 19:00 |
hongbin | pksingh: personally, i think the nova implementation is very advanced, we possibly couldn't copy the same approach due to the amount of work | 19:00 |
pksingh | hongbin: agree | 19:00 |
hongbin | pksingh: do you have an idea for a simplier approach? | 19:01 |
pksingh | hongbin: there remains two approaches, 1) go old nova way 2) add some periodic task(it will be large overhead for large number for containers) | 19:01 |
hongbin | pksingh: i see | 19:02 |
pksingh | hongbin: do you see any other way | 19:02 |
hongbin | pksingh: i think we could let zunclient to retrieve the floating ip | 19:02 |
hongbin | pksingh: that will reduce the complexity and performance overhead on the server | 19:03 |
pksingh | hongbin: but if user uses rest then? | 19:03 |
hongbin | pksingh: yes, that is a cons | 19:03 |
pksingh | hongbin: and zun client will always calls neutron, whether fip is assigned or not | 19:04 |
hongbin | pksingh: that is true | 19:04 |
hongbin | pksingh: you decide :) | 19:05 |
hongbin | pksingh: there are pros and cons of either approach | 19:06 |
pksingh | hongbin: correct | 19:06 |
pksingh | hongbin: i think in long term, we should also be notified if there is change in network | 19:08 |
pksingh | hongbin: like if somebody deletes port then we should get notified | 19:08 |
hongbin | pksingh: ok, i will look into the long term approach and figure out how to talk to the neutron people | 19:08 |
hongbin | let me create a bp to track that | 19:09 |
pksingh | hongbin: regarding approaches, we can decide in team meeting, or i can drop am mail to team | 19:09 |
hongbin | pksingh: sure | 19:09 |
hongbin | sounds like a plan | 19:09 |
pksingh | hongbin: ok, bye, going to sleep, will ttyl | 19:10 |
hongbin | pksingh: good night | 19:10 |
pksingh | hongbin: have a great day ahead | 19:10 |
pksingh | bye | 19:10 |
*** pksingh has quit IRC | 19:11 | |
*** Qiming has quit IRC | 19:13 | |
*** Qiming has joined #openstack-zun | 19:17 | |
*** harlowja has quit IRC | 19:29 | |
*** harlowja has joined #openstack-zun | 19:50 | |
*** nicolasbock has quit IRC | 20:35 | |
*** lakerzhou2 has quit IRC | 21:28 | |
*** raphaelehret has quit IRC | 21:29 | |
*** catintheroof has quit IRC | 22:41 | |
*** hongbin has quit IRC | 22:59 | |
*** jwcroppe has quit IRC | 23:07 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!