Earlier  
Posted Nick Remark
#openstack-nova - 2018-01-15
21:52:38 bauzas hence why it works
21:53:38 sean-k-mooney well im adding a new filed to the expected value so use if it downgraded it would discard it but os-vif 1.7.0 does not have explcit down grade logic for 1.8.0 objects
21:54:49 sean-k-mooney bauzas: basically it works because of this https://github.com/openstack/oslo.versionedobjects/blob/1.18.0/oslo_versionedobjects/base.py#L514-L520
21:55:52 sean-k-mooney obj_to_primitive loops over the ovo fields and uses that to generate the dictionary retrunt by obj_to_primitive
21:56:02 bauzas sean-k-mooney: right, it works thanks of the ovo framework, that's it
21:56:07 bauzas soooooo...
21:56:10 sean-k-mooney since datapath_type is not in the 1.7.0 field list it just gets discared
21:56:13 bauzas what to do ?
21:56:17 bauzas I think I'll +2
21:56:26 bauzas it's harmless
21:56:40 bauzas and unblocks things
21:57:39 sean-k-mooney out side of unit tests we have defencive logic which will only populate the datapath_type if it is defined in the vif object
21:58:08 sean-k-mooney and in os-vif we also default to the original hardcoded values if the datapath_type is not set in the profile
21:58:16 sean-k-mooney so in real code this is safe
21:58:43 bauzas right
21:59:53 sean-k-mooney anyway its almost 10 so its 2 hours past when i should have gone home. catch ye tommorow o/
22:00:29 bauzas \o
22:01:02 openstackgerrit Jay Pipes proposed openstack/nova master: add tests for _get_trees_matching_all() with trait https://review.openstack.org/531899
22:01:02 openstackgerrit Jay Pipes proposed openstack/nova master: placement: _get_trees_matching_all() https://review.openstack.org/531512
22:22:49 openstackgerrit Eric Fried proposed openstack/nova master: SchedulerReportClient.set_traits_for_provider https://review.openstack.org/532564
22:22:50 openstackgerrit Eric Fried proposed openstack/nova master: Raise on API errors getting aggregates/traits https://review.openstack.org/526540
22:22:50 openstackgerrit Eric Fried proposed openstack/nova master: Track associated sharing RPs in report client https://review.openstack.org/526539
22:22:51 openstackgerrit Eric Fried proposed openstack/nova master: Track tree-associated providers in report client https://review.openstack.org/526541
22:22:51 openstackgerrit Eric Fried proposed openstack/nova master: ProviderTree.populate_from_iterable https://review.openstack.org/520756
22:22:52 openstackgerrit Eric Fried proposed openstack/nova master: WIP: ComputeDriver.update_provider_tree() https://review.openstack.org/521187
22:22:52 openstackgerrit Eric Fried proposed openstack/nova master: Scheduler[Report]Client.get_provider_tree https://review.openstack.org/521098
22:22:53 openstackgerrit Eric Fried proposed openstack/nova master: WIP: Use update_provider_tree from resource tracker https://review.openstack.org/520246
22:22:53 openstackgerrit Eric Fried proposed openstack/nova master: ProviderTree.snapshot => ProviderSnapshot https://review.openstack.org/533244
22:22:54 openstackgerrit Eric Fried proposed openstack/nova master: SchedulerReportClient.set_aggregates_for_provider https://review.openstack.org/533808
22:23:41 efried jaypipes I removed that 'generation' param in the snapshot patch (where I also cleaned up the other _Provider-accessing cheats).
22:23:57 efried jaypipes If that's too messy for ya, I'll reshuffle the whole series.
22:27:06 tonyb bauzas: you need 1 review to bump u-c; a second that bumps g-r and have the nova change gate on that 2nd chnage ... which I think is basically what you said
22:34:57 bauzas tonyb: the problem is that it seems the u-c change is gated by nova which needs the test modification
22:35:04 bauzas as per sean-k-mooney
22:38:04 efried jaypipes I'm not convinced that ProviderTree.delta(other_provider_tree) is the way to go, because whatever that guy returns is going to be an ugly blob of unstructured data. I was thinking to do the diff-and-update logic in a single method either in report client or resource tracker.
23:20:42 jaypipes efried: I'd be fine with that (single method diff-and-update thing)
23:20:53 efried jaypipes coo, working on it.
23:20:56 jaypipes efried: and will re-review your bottom series tomrrow morn.
23:21:01 efried ack
23:21:06 jaypipes efried: signing off for the night.
23:21:11 efried sleep tight
23:21:16 jaypipes danke
23:25:10 openstackgerrit Chris Dent proposed openstack/nova master: WIP: Refactor WSGI apps and utils to limit imports https://review.openstack.org/533797
23:27:24 openstackgerrit Sylvain Bauza proposed openstack/nova master: WIP: libvirt: pass the mdevs when rebooting the guest https://review.openstack.org/533818
23:29:56 gmann ameeda: sure, ll check that
23:30:59 openstackgerrit Eric Fried proposed openstack/nova master: ProviderTree.snapshot => ProviderSnapshot https://review.openstack.org/533244
23:30:59 openstackgerrit Eric Fried proposed openstack/nova master: ComputeDriver.update_provider_tree() https://review.openstack.org/521187
23:31:00 openstackgerrit Eric Fried proposed openstack/nova master: WIP: Scheduler[Report]Client.update_from_provider_tree https://review.openstack.org/533821
23:31:00 openstackgerrit Eric Fried proposed openstack/nova master: WIP: Use update_provider_tree from resource tracker https://review.openstack.org/520246
#openstack-nova - 2018-01-16
00:40:17 openstackgerrit melanie witt proposed openstack/nova master: Stop globally caching host states in scheduler HostManager https://review.openstack.org/533371
00:57:32 tonyb bauzas: Oh then you need a verion of noce that works with old and new versions of os-vif
01:05:52 openstackgerrit Jackie Truong proposed openstack/nova master: Implement certificate_utils https://review.openstack.org/479949
01:24:56 openstackgerrit Chen Hanxiao proposed openstack/nova master: libvirt: guest: introduce blockStats instead of domain.blockStats https://review.openstack.org/526833
01:46:51 openstackgerrit Jackie Truong proposed openstack/python-novaclient master: Microversion 2.60 - Add trusted_image_certificates https://review.openstack.org/500396
02:06:45 openstackgerrit Takashi NATSUME proposed openstack/python-novaclient master: Microversion 2.60 - List/Show all server migration types https://review.openstack.org/430839
03:36:37 openstackgerrit OpenStack Proposal Bot proposed openstack/nova master: Updated from global requirements https://review.openstack.org/533046
03:43:07 openstackgerrit OpenStack Proposal Bot proposed openstack/os-vif master: Updated from global requirements https://review.openstack.org/533918
03:55:53 openstackgerrit Jackie Truong proposed openstack/nova master: Add trusted_image_certificates to REST API https://review.openstack.org/486204
04:19:59 openstackgerrit Takashi NATSUME proposed openstack/nova master: Transform instance.resize_confirm notification https://review.openstack.org/482557
04:20:21 openstackgerrit OpenStack Proposal Bot proposed openstack/nova master: Updated from global requirements https://review.openstack.org/533046
04:20:32 openstackgerrit OpenStack Proposal Bot proposed openstack/nova master: Updated from global requirements https://review.openstack.org/533046
04:25:43 openstackgerrit OpenStack Proposal Bot proposed openstack/os-traits master: Updated from global requirements https://review.openstack.org/533994
04:25:51 openstackgerrit OpenStack Proposal Bot proposed openstack/os-vif master: Updated from global requirements https://review.openstack.org/533918
04:35:18 rano hi.....how can i check for nova logs
04:35:20 rano ?
04:38:46 rano andreas_s: where i can see the nova logs ?
04:38:54 rano can you help me out
04:38:56 rano ?
04:39:21 rano while using nova cli
04:44:01 jichen use nova --debug xxx to print more logs and go to host running nova service, check logs ,sometimes it locates at /var/log/nova/*
04:58:54 Spazmotic Morning... evening..whatever
05:00:54 rano Spazmotic: hi morning
05:01:15 rano Spazmotic: can you help me in find the nova logs
05:01:17 rano ?
05:01:39 rano i am new to nova
05:02:08 Spazmotic Like running nova services in an env, or while doing development?
05:02:29 Spazmotic Like jichen mentioned, depending on the service, they'll usually be located in /var/log/nova, or you can run the --debugs
05:02:30 rano Spazmotic: AIO devstack
05:03:08 rano can you help me with CLI that can be use to see
05:03:46 Spazmotic the nova client CLI?
05:03:48 Spazmotic What do you need to do?
05:04:33 rano Spazmotic: I am running the `openstack aggregate list` after installation of devstack
05:04:46 rano and want to check the logs of fired CLI
05:05:28 rano that is what i am trying to do
05:05:30 Spazmotic So you're running aggregate list and want to see it running that action directly in the logs, i guess for more understanding of what all it hits?
05:05:43 rano yes exactly
05:05:46 rano Spazmotic:
05:06:46 Spazmotic so if you run the --debug command with the openstack client or just use nova, it will show you a pretty nice breakdown of what it calls.. but if you want to get more granular than that you will need a sharper understanding of nova itself
05:07:01 Spazmotic Somoene here may be more familiar with the aggregate code, so i'm not 100% sure what all it hits.. the logs you would check would vary depending.
05:07:19 Spazmotic A good place to start would be nova api code for that action and see where it bounces off to.
05:15:02 Spazmotic rano: Just a quick look through nova API and into compute API.. it pushes the get_aggregatre_list through here and then moves into objects -- https://github.com/openstack/nova/blob/master/nova/compute/api.py#L4815-L4817
05:15:20 Spazmotic Be careful moving through conductor you'll get black holed.. if it sends it to conductor generally just look in nova.compute.manager.py
05:15:22 Spazmotic good luck :)
05:17:25 Spazmotic or honestly just run the command then "ls -lstrh" on the log dir to see which ones change and peruse them
05:22:24 rano Spazmotic: thanks a lot for help
05:22:41 rano but i am unable to find the log directory
05:22:42 rano :(
05:45:01 Spazmotic gotta do some googling buddy. https://ask.openstack.org/en/question/13014/where-to-find-log-files-in-devstack-installation/
06:08:40 ameeda Morning :)
06:09:29 ameeda gmann: please review the code, there is a reviewer give me -1, it seems that he doesn't understand the bug clearly. I don't change anything on metadata

Earlier   Later