| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2018-07-10 | |||
| 08:02:19 | openstackgerrit | huanhongda proposed openstack/nova master: Microversion 2.64 - Add "deleted" time in GET server response https://review.openstack.org/574159 | |
| 08:17:39 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: Transform missing delete notifications https://review.openstack.org/410297 | |
| 08:17:40 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: Send soft_delete from context manager https://review.openstack.org/476459 | |
| 08:36:32 | openstackgerrit | Yikun Jiang (Kero) proposed openstack/nova master: Microversion 2.64 - Use new format policy in server group https://review.openstack.org/567534 | |
| 08:49:50 | openstackgerrit | Vu Cong Tuan proposed openstack/os-traits master: Switch to stestr https://review.openstack.org/581265 | |
| 09:11:47 | flwang1 | greetings, can anybody help me understand how the local_gb set for hypervisor? | |
| 09:13:33 | flwang1 | after installed devstack, i found the local_gb of hypervisor is so small, but i have a big cinder volume vg, stack-volumes-default 1 0 0 wz--n- 100.00g 100.00g | |
| 09:14:29 | flwang1 | so the question is, how can I let the hypervisor to use the stack-volumes? thanks | |
| 09:18:02 | openstackgerrit | Surya Seetharaman proposed openstack/nova master: Add queued for delete to instance_mappings table. https://review.openstack.org/566788 | |
| 09:18:03 | openstackgerrit | Surya Seetharaman proposed openstack/nova master: Add queued_for_delete field to InstanceMapping object https://review.openstack.org/566795 | |
| 09:22:54 | fanzhang | hi flwang1 I think it's the resource tracker updates the hypervisor info. As for the loca_gb, check configuration option 'state_path' in /etc/nova/nova.conf, you can change this item with your cinder volume vg path | |
| 09:24:36 | openstackgerrit | Vu Cong Tuan proposed openstack/os-traits master: Switch to stestr https://review.openstack.org/581265 | |
| 09:25:12 | fanzhang | flwang1 ^ | |
| 09:25:18 | jmccarthy | Is it a common problem, when deleting instances, that volumes which were attached to it may be left with stuck attachments to the instance afterwards ? (queens) | |
| 09:26:42 | flwang1 | fanzhang: cool, i will give it a try | |
| 09:26:44 | flwang1 | cheers | |
| 09:27:04 | fanzhang | jmccarthy I think it's just about the hypervisor configuration :) | |
| 09:27:14 | fanzhang | flwang1 good luck \o/ | |
| 09:29:01 | flwang1 | fanzhang: seems it doesn't work | |
| 09:29:23 | openstackgerrit | Vu Cong Tuan proposed openstack/nova-specs master: Switch to stestr https://review.openstack.org/581284 | |
| 09:29:46 | jmccarthy | Oh I was asking about a different issue, I seem to have an issue with multiattach volumes that get stuck to instances which have been deleted | |
| 09:30:22 | fanzhang | flwang1 do you restart openstack-nova-comput service? Try to wait awhile for periodic task updating the hypervisor info. | |
| 09:35:33 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Use hard coded values in schema than reference https://review.openstack.org/581288 | |
| 09:36:25 | openstackgerrit | Ghanshyam Mann proposed openstack/nova master: Use hard coded values in schema than reference https://review.openstack.org/581288 | |
| 09:48:32 | flwang1 | fanzhang: i restarted all nova services and wait quite a white | |
| 09:48:35 | flwang1 | while | |
| 09:48:48 | flwang1 | but it's still using my root and it's 30GB | |
| 09:49:29 | fanzhang | flwang1 emmm...it's odd... | |
| 09:51:58 | fanzhang | oh, do you change the folder's owner and owning group with nova:nova ? | |
| 09:52:04 | fanzhang | flwang1 | |
| 09:52:37 | flwang1 | fanzhang: nope, let me try | |
| 09:53:06 | flwang1 | oh, i don't have nova user in my system | |
| 09:56:15 | openstackgerrit | Yikun Jiang (Kero) proposed openstack/nova master: Microversion 2.64 - Use new format policy in server group https://review.openstack.org/567534 | |
| 09:58:24 | fanzhang | flwang1 emmm...my env is packstack, and I am pretty sure I have nova user :) Check the owner and owning group of your folder on previous state_patch ? | |
| 09:58:54 | flwang1 | i did and i'm using the same user/user group and it still doesn't work :( | |
| 09:59:39 | flwang1 | fanzhang: i will monitor it for a while and will see | |
| 10:01:00 | sapd_ | Hi everyone. I'm looking for the change which implement rebuild for volume-backed instance. | |
| 10:01:34 | flwang1 | sapd_: that's the one i worked on 3 years ago :( | |
| 10:01:36 | flwang1 | and i failed | |
| 10:02:00 | fanzhang | flwang1 ok, good luck :) | |
| 10:02:12 | flwang1 | fanzhang: thank you very much anyway ;) | |
| 10:02:37 | openstackgerrit | huanhongda proposed openstack/nova master: Microversion 2.64 - Add "deleted" time in GET server response https://review.openstack.org/574159 | |
| 10:02:48 | sapd_ | flwang1: I'm using this patch https://review.openstack.org/#/c/528740/ for Pike release, But when I apply this patch for Queens release, It's not work again. | |
| 10:03:30 | openstack | bug 1779818 in OpenStack Compute (nova) "child's root provider is not updated." [Medium,In progress] https://launchpad.net/bugs/1779818 - Assigned to Tetsuro Nakamura (tetsuro0907) | |
| 10:03:30 | openstackgerrit | Merged openstack/nova master: Regression test for bug 1779818 https://review.openstack.org/580011 | |
| 10:10:36 | neha_alhat_ | cdent: Hi | |
| 10:12:27 | cdent | hi neha_alhat_ | |
| 10:12:41 | stephenfin | sahid: Comments left on https://review.openstack.org/#/c/580657. Fancy taking a look? | |
| 10:13:04 | neha_alhat_ | cdent: For some performance testing I want to create 100 RPs, for that I am writing python code. | |
| 10:13:35 | neha_alhat_ | cdent: 100 Resource providers* | |
| 10:14:33 | neha_alhat_ | cdent: using openstackclient: openstack resource provider create rp1 | |
| 10:14:56 | stephenfin | mdbooth, lyarwood: I'm guessing this failing test is a race or the likes in our unit tests? http://logs.openstack.org/57/580657/2/check/openstack-tox-lower-constraints/607ab0c/job-output.txt.gz | |
| 10:15:14 | stephenfin | Looks unrelated to the actual change https://review.openstack.org/#/c/580657 | |
| 10:15:22 | mdbooth | stephenfin: clicking | |
| 10:17:19 | cdent | neha_alhat_: if you do that in a loop with a different name each time, that ought to work. another way to do it is directly in python code that makes its own http requests to the service | |
| 10:17:42 | neha_alhat_ | cdent: But I am unable to create novaclient using openstackclient in python code. Like we can do in cinderclient: https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v3/client.py#L51 | |
| 10:17:46 | mdbooth | stephenfin: Weird! | |
| 10:18:35 | stephenfin | Right? It's the lower constraints job so we're using different requirements to usual but I can't see how that would be an issue | |
| 10:19:33 | mdbooth | stephenfin: I hit failures in those tests recently which didn't hit on python2. Any chance they run a different set of tests? | |
| 10:19:41 | neha_alhat_ | cdent: How can I create a http requests to the service through python code | |
| 10:19:51 | stephenfin | mdbooth: What do you mean a different set of tests? | |
| 10:20:00 | neha_alhat_ | cdent: like https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v3/client.py#L51 | |
| 10:20:04 | cdent | neha_alhat_: that's right, there is no "for use in code" placement client. This is because making your own is very straightforward. Have a look at the code around https://github.com/openstack/nova/blob/master/nova/scheduler/client/report.py#L270 for some ideas | |
| 10:20:08 | mdbooth | stephenfin: i.e. it runs unit tests which don't run in py27 | |
| 10:20:26 | stephenfin | I don't think so https://github.com/openstack/nova/blob/master/tox.ini#L249 | |
| 10:20:29 | openstack | Launchpad bug 1779711 in OpenStack Compute (nova) "test_pre_live_migration_volume_backed* intermittently fails serialized json compare" [Critical,Fix released] - Assigned to Matt Riedemann (mriedem) | |
| 10:20:29 | gibi | stephenfin: I think you see this https://bugs.launchpad.net/nova/+bug/1779711 | |
| 10:20:45 | stephenfin | gibi: Yup, that looks like the one and the same | |
| 10:21:14 | mdbooth | gibi: Whoa... | |
| 10:21:28 | mdbooth | gibi: Ah... dict ordering | |
| 10:21:44 | gibi | yeah, good old dict ordering | |
| 10:21:50 | stephenfin | gibi: Not the first thing I've been caught out by ordering in recent days :) | |
| 10:21:54 | stephenfin | *first time | |
| 10:23:02 | gibi | python 3.7 adds stable dict key ordering https://docs.python.org/3/tutorial/datastructures.html#dictionaries | |
| 10:23:03 | mdbooth | Aren't all dicts ordered in the newest anguine offering? | |
| 10:23:07 | stephenfin | fwiw, Python 3.6+ dicts are insertion ordered, which is rather nice | |
| 10:23:10 | mdbooth | gibi: Snap ;) | |
| 10:23:16 | stephenfin | mdbooth: double snap | |
| 10:23:19 | gibi | :D | |
| 10:24:12 | stephenfin | I'm sure whoever is working on nova in 10 years or whenever we can drop Python < 3.6 support will be very happy | |
| 10:31:44 | kashyap | (Maybe there won't be any.) | |
| 10:35:16 | neha_alhat_ | cdent: yes, will check. Thanks | |
| 11:13:22 | cdent | johnthetubaguy: you still happy with https://review.openstack.org/#/c/543262/ ? | |
| 11:34:12 | flwang1 | i'm going to ask again, can anybody help understand how to set the local_gb for hypervisor? thanks | |
| 11:43:22 | jroll | flwang1: that's set by nova-compute when it updates its resources. it looks at the size of the block device that instances are on | |
| 11:43:53 | flwang1 | jroll: thanks, then my question is how can i change it? | |
| 11:44:39 | jroll | change local_gb? I don't believe you can. why do you want to? | |
| 11:45:38 | flwang1 | after installed devstack, i found the local_gb is too small because it's using my root /, though i have almost 800GB at /home | |
| 11:45:49 | jroll | ah | |
| 11:45:53 | flwang1 | but my / only has 30GB | |
| 11:46:06 | jroll | flwang1: there's a config option for where the instance data lives, you can change that | |
| 11:46:52 | flwang1 | ? | |
| 11:46:52 | flwang1 | #state_path = /opt/stack/data/nova | |
| 11:46:52 | flwang1 | #instances_path = /opt/stack/data/nova/instances | |
| 11:47:13 | jroll | yes, instances_path | |
| 11:47:34 | flwang1 | i changed them both and doesn't work | |
| 11:48:02 | jroll | did you restart nova-compute (and give it time to update resources)? | |
| 11:48:29 | flwang1 | yes, i did. i restarted all nova services | |
| 11:49:27 | jroll | hm, that's odd. I'm not sure if there's something else that needs to be done, hopefully someone else can help, sorry | |
| 11:50:53 | flwang1 | jroll: no worries, thank you for the help | |