Earlier  
Posted Nick Remark
#openstack-nova - 2017-05-24
21:16:11 mriedem https://github.com/openstack/nova/blob/master/nova/test.py#L317
21:16:22 openstackgerrit Matt Rabe proposed openstack/nova master: Query deleted instance records during _destroy_evacuated_instances https://review.openstack.org/467774
21:16:29 zzzeek mriedem: I shoved dozens of weird nova use cases into this and that...hmm actually I can do that. one fixture per DB
21:17:45 zzzeek mriedem: so the test would create three schemas on one MySQL server ?
21:18:00 zzzeek err three databases
21:23:09 mriedem yeah
21:23:19 mriedem nova_api, nova_cell0 and nova
21:23:37 mriedem schema for the first is 'api' and 'main' for the latter 2
21:38:29 jose-phillips someone know
21:38:42 jose-phillips if i can update a metadata from a vm with a post command?
21:38:47 jose-phillips to the metadata address?
21:40:11 mriedem update in the config drive?
21:40:22 mriedem config drive is static after you've created the server
21:40:30 jose-phillips no i m mean
21:40:32 jose-phillips for example
21:40:39 jose-phillips i want to update a metadata called last-login
21:41:02 jose-phillips the question is if i can perform the update of these metadata from this address http://169.254.169.254/openstack/latest/meta_data.json
21:41:05 jose-phillips m
21:41:05 jose-phillips on each v
21:41:14 mriedem no
21:41:21 mriedem metadata API is read-only
21:41:30 mriedem you can change the metadata on the server via the compute REST API
21:41:44 mriedem https://developer.openstack.org/api-ref/compute/#server-metadata-servers-metadata
21:41:55 jose-phillips got it
21:42:05 jose-phillips i was thinking if i can doint from there as a post
21:42:25 jose-phillips my idea is track the last time activity on each server
21:42:55 jose-phillips so i will send this information to a intermediate server and this server will going to update the metadata then.
21:43:04 jose-phillips with nova api
21:45:31 openstackgerrit Ed Leafe proposed openstack/nova master: Pass the number of hosts to return explicitly https://review.openstack.org/465767
21:45:31 openstackgerrit Ed Leafe proposed openstack/nova master: Have scheduler claim resources https://review.openstack.org/463993
21:45:32 openstackgerrit Ed Leafe proposed openstack/nova master: Make the method to put allocations public https://review.openstack.org/464086
21:45:32 openstackgerrit Ed Leafe proposed openstack/nova master: Remove selecting host based on host_subset_size https://review.openstack.org/465174
21:45:33 openstackgerrit Ed Leafe proposed openstack/nova master: Pass a list of instance UUIDs to scheduler https://review.openstack.org/465171
21:45:33 openstackgerrit Ed Leafe proposed openstack/nova master: Don't delete allocation if instance being scheduled https://review.openstack.org/460177
21:45:34 openstackgerrit Ed Leafe proposed openstack/nova master: Return multiple hosts from select_destinations https://review.openstack.org/465768
22:04:57 zzzeek mriedem: this test case https://review.openstack.org/#/c/467772/1/nova/tests/functional/test_servers.py seems to use just one database right now? I'd need to see how that cell logic relates the UUID to a database, and I'd set up a fixture per-DB which will each make a new anonymous per-test schema
22:05:42 zzzeek mriedem: but...i would need to find some time. let me know if I can just show you around the API and maybe build a less-nova-ish proof of concept
22:22:41 openstackgerrit Ildiko Vancsa proposed openstack/nova master: WIP/POC Implement new attach Cinder flow https://review.openstack.org/330285
22:37:43 openstackgerrit Takashi NATSUME proposed openstack/nova master: Enable cold migration with target host(1/2) https://review.openstack.org/408955
22:39:26 openstackgerrit Takashi NATSUME proposed openstack/nova master: Enable cold migration with target host(2/2) https://review.openstack.org/408964
22:40:04 openstackgerrit Takashi NATSUME proposed openstack/nova master: Add functional tests for cold migration to same host https://review.openstack.org/414926
22:40:28 openstackgerrit Takashi NATSUME proposed openstack/python-novaclient master: Microversion 2.46 - Enable cold migration with target host https://review.openstack.org/406707
22:40:49 openstackgerrit Takashi NATSUME proposed openstack/nova master: api-ref: Add parameters in cold migrate action https://review.openstack.org/410042
23:36:31 openstackgerrit Claudiu Belu proposed openstack/nova master: POC: tests: autospecs all the mock.patch usages https://review.openstack.org/447505
23:47:59 mriedem zzzeek: it would eventually need to use at least the nova_api db and the nova (cell) db
23:48:03 mriedem the instance is going to live in the cell db
23:48:34 mriedem i'm not starting enough services for the actual instance create to work yet,
23:48:57 mriedem but it seems the schema migrations aren't getting run anyway because when i try to create/start the services, like nova-api, it's blowing up because the services table doesn't exist yet
23:53:04 mriedem i'm getting a little further, if i sync the 'main' db i can start services, but w/o syncing the api db i don't have flavors to create a server
23:53:37 mriedem trying to sync the api db fails with http://paste.openstack.org/show/610607/
23:53:46 mriedem i assume b/c i'm using the wrong engine
23:55:49 gmann mriedem: yea, that was hide server address cfg and policy deprecation things which i will be pushing spec for that
23:56:06 gmann mriedem: got the issues with instance id.
23:56:34 gmann alex_xu: thanks for help. i will push doc and other things
23:56:49 mriedem gmann: working on that here https://review.openstack.org/#/c/467772/
23:57:07 mriedem the code fix for this bug is easy, but we're trying to write a functional test to recreate it using mysql as the backend
#openstack-nova - 2017-05-25
00:00:03 gmann mriedem: yea. nice. we will use resp.obj['server']['id'] to fetch instance right ?
00:01:08 gmann mriedem: also we would not need instance there once we deprecate and remove the CONF.api.hide_server_address_states
00:01:26 gmann but thats long term things may be next release as it need spec
00:01:38 mriedem gmann: yes that's the fix
00:02:05 mriedem so the plan is to just remove the config option and always hide 'addresses' when the vm_state is 'building'?
00:03:22 gmann mriedem: yea, but on spec we can discuss more VM states if addresses is not ready during those
00:07:48 melwitt apologies in advance
00:07:57 openstackgerrit melanie witt proposed openstack/nova master: Add FixedIP.get_count_by_project() https://review.openstack.org/446246
00:07:58 openstackgerrit melanie witt proposed openstack/nova master: Add get_count_by_vm_state() to Instance object https://review.openstack.org/446244
00:07:58 openstackgerrit melanie witt proposed openstack/nova master: Add FloatingIP.get_count_by_project() https://review.openstack.org/446247
00:07:59 openstackgerrit melanie witt proposed openstack/nova master: Add SecurityGroup.get_counts() https://review.openstack.org/446245
00:08:00 openstackgerrit melanie witt proposed openstack/nova master: Remove useless quota_usage_refresh from nova-manage https://review.openstack.org/446243
00:08:00 openstackgerrit melanie witt proposed openstack/nova master: Remove 'reserved' count from used limits https://review.openstack.org/446242
00:08:01 openstackgerrit melanie witt proposed openstack/nova master: Count server groups to check quota https://review.openstack.org/446240
00:08:02 openstackgerrit melanie witt proposed openstack/nova master: Count networks to check quota https://review.openstack.org/446241
00:08:05 openstackgerrit melanie witt proposed openstack/nova master: Count instances to check quota https://review.openstack.org/416521
00:08:06 openstackgerrit melanie witt proposed openstack/nova master: Add check_deltas() and limit_check_project_and_user() to Quotas https://review.openstack.org/446239
00:08:06 openstackgerrit melanie witt proposed openstack/nova master: Add InstanceGroup.get_counts() https://review.openstack.org/457857
00:08:07 openstackgerrit melanie witt proposed openstack/nova master: Add InstanceGroup._remove_members_in_db https://review.openstack.org/457858
00:08:08 openstackgerrit melanie witt proposed openstack/nova master: Count server group members to check quota https://review.openstack.org/457859
00:08:10 openstackgerrit melanie witt proposed openstack/nova master: Count security groups to check quota https://review.openstack.org/457860
00:08:14 openstackgerrit melanie witt proposed openstack/nova master: Make Quotas object favor the API database https://review.openstack.org/410945
00:08:15 openstackgerrit melanie witt proposed openstack/nova master: Count fixed ips to check quota https://review.openstack.org/457861
00:08:18 openstackgerrit melanie witt proposed openstack/nova master: Add online migration to move quotas to API database https://review.openstack.org/410946
00:08:19 openstackgerrit melanie witt proposed openstack/nova master: Count floating ips to check quota https://review.openstack.org/457862
00:08:29 dtp goodness gracious
00:29:21 openstackgerrit Dan Peschman proposed openstack/nova master: WIP: Use uuid for id in Services API https://review.openstack.org/464280
00:33:54 litao__ alex_xu: pls review my patch https://review.openstack.org/#/c/414463/ if you have free time, thanks.
00:46:26 mriedem zzzeek: well good news, i sorted out how to get the main and api db's setup, so i've made quite a bit of progress
00:46:30 mriedem it's all hackaroo, but it's a start
00:47:21 mriedem oh nice, just recreated the 500 error
01:07:41 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Fix instance lookup in hide_server_addresses extension https://review.openstack.org/467772
01:23:30 openstackgerrit Matt Riedemann proposed openstack/nova master: WIP: Log traceback when bdm validation fails for unknown reason https://review.openstack.org/467809
01:43:09 openstackgerrit John Griffith proposed openstack/nova master: WIP/POC Implement new attach Cinder flow https://review.openstack.org/330285
03:03:27 openstackgerrit Zhenyu Zheng proposed openstack/nova master: Send out notifications when instance tags changed https://review.openstack.org/459923
03:15:35 mriedem Kevin_Zheng: looking better but no release note yet :)
03:15:56 Kevin_Zheng ...ah...god, what was I thinking
03:20:01 gmann mriedem: re-thinking on quota class fix, as we are going to move quota/limit thing to keystone (as discussed in PTG) , is it worth to fix this API in microversion when there is a work around of getting default quotas from os-quota-set
03:20:18 gmann mriedem: but yes that's per projects not global default
03:26:17 mriedem gmann: it seems trivial to fix,
03:26:31 mriedem and i'd rather not assume we're going to have nova using limits from keystone in queens
03:27:14 mriedem anyway, i have to call it a day
03:27:19 mriedem ttyl
03:27:43 gmann mriedem: ok, yea trivial but it increase microversion numbers :) anyways yea keystone limits might be far.

Earlier   Later