*** brinzhang has joined #openstack-nova | 00:04 | |
*** mtreinish has quit IRC | 00:07 | |
*** mtreinish has joined #openstack-nova | 00:08 | |
*** lbragstad has quit IRC | 00:12 | |
*** lbragstad has joined #openstack-nova | 00:14 | |
*** harlowja has quit IRC | 00:34 | |
*** Sundar has quit IRC | 00:41 | |
*** erlon has quit IRC | 00:47 | |
*** hongbin has joined #openstack-nova | 01:01 | |
*** mriedem_lawnboy is now known as mriedem | 01:04 | |
*** mriedem has quit IRC | 01:10 | |
*** imacdonn has quit IRC | 01:19 | |
*** imacdonn has joined #openstack-nova | 01:19 | |
*** Dinesh_Bhor has joined #openstack-nova | 01:33 | |
*** erlon has joined #openstack-nova | 01:38 | |
*** bhagyashris has joined #openstack-nova | 01:46 | |
*** munimeha1 has quit IRC | 01:49 | |
*** erlon has quit IRC | 01:49 | |
*** lei-zh has joined #openstack-nova | 01:52 | |
*** dpawlik has joined #openstack-nova | 02:18 | |
*** dpawlik has quit IRC | 02:22 | |
*** lei-zh has quit IRC | 02:31 | |
*** lei-zh1 has joined #openstack-nova | 02:31 | |
*** psachin has joined #openstack-nova | 02:55 | |
*** bhagyashris has quit IRC | 03:04 | |
*** moshele has joined #openstack-nova | 03:11 | |
*** moshele has quit IRC | 03:11 | |
openstackgerrit | Leopard Ma proposed openstack/nova master: Replace assertRaisesRegexp with assertRaisesRegex https://review.openstack.org/598415 | 03:15 |
---|---|---|
openstackgerrit | huanhongda proposed openstack/nova master: Fix instance delete stuck in deleting task_state https://review.openstack.org/598084 | 03:21 |
*** lei-zh1 has quit IRC | 03:32 | |
*** nicolasbock has quit IRC | 03:33 | |
openstackgerrit | Brin Zhang proposed openstack/nova-specs master: Resource retrieving: add changes-before filter https://review.openstack.org/591976 | 03:44 |
*** udesale has joined #openstack-nova | 03:59 | |
*** jaypipes has quit IRC | 04:04 | |
*** jaypipes has joined #openstack-nova | 04:04 | |
*** dave-mccowan has quit IRC | 04:05 | |
*** lei-zh1 has joined #openstack-nova | 04:06 | |
*** lei-zh1 has quit IRC | 04:11 | |
*** hamzy has joined #openstack-nova | 04:15 | |
*** Bhujay has joined #openstack-nova | 04:18 | |
*** links has joined #openstack-nova | 04:29 | |
*** tbachman has quit IRC | 04:43 | |
*** tbachman has joined #openstack-nova | 04:43 | |
*** jchhatbar has joined #openstack-nova | 04:49 | |
*** jchhatbar has quit IRC | 05:03 | |
*** janki has joined #openstack-nova | 05:09 | |
*** hongbin has quit IRC | 05:12 | |
*** janki has quit IRC | 05:23 | |
*** bhagyashris has joined #openstack-nova | 05:24 | |
*** lei-zh1 has joined #openstack-nova | 05:46 | |
*** Luzi has joined #openstack-nova | 05:51 | |
*** psachin has quit IRC | 06:00 | |
*** ivve has quit IRC | 06:02 | |
*** ivve has joined #openstack-nova | 06:14 | |
*** dpawlik has joined #openstack-nova | 06:18 | |
*** holser_ has joined #openstack-nova | 06:20 | |
*** Bhujay has quit IRC | 06:20 | |
*** dpawlik has quit IRC | 06:22 | |
*** Dinesh_Bhor has quit IRC | 06:23 | |
openstackgerrit | Leopard Ma proposed openstack/nova master: Replace assertRaisesRegexp with assertRaisesRegex https://review.openstack.org/598415 | 06:25 |
*** janki has joined #openstack-nova | 06:27 | |
*** holser_ has quit IRC | 06:29 | |
*** Dinesh_Bhor has joined #openstack-nova | 06:32 | |
*** ccamacho has joined #openstack-nova | 06:43 | |
*** ccamacho has quit IRC | 06:44 | |
*** alexchadin has joined #openstack-nova | 06:46 | |
*** ccamacho has joined #openstack-nova | 06:52 | |
*** ccamacho has quit IRC | 06:57 | |
*** ccamacho has joined #openstack-nova | 06:58 | |
*** lei-zh1 has quit IRC | 06:58 | |
*** lei-zh1 has joined #openstack-nova | 06:59 | |
*** rcernin has quit IRC | 07:00 | |
*** luksky has joined #openstack-nova | 07:04 | |
*** tssurya has joined #openstack-nova | 07:12 | |
*** sahid has joined #openstack-nova | 07:18 | |
*** pcaruana has joined #openstack-nova | 07:19 | |
*** kosamara has quit IRC | 07:19 | |
*** bhagyashris has quit IRC | 07:24 | |
*** janki has quit IRC | 07:25 | |
*** bjolo has joined #openstack-nova | 07:26 | |
*** dpawlik has joined #openstack-nova | 07:28 | |
*** holser_ has joined #openstack-nova | 07:29 | |
*** holser_ has quit IRC | 07:30 | |
*** holser_ has joined #openstack-nova | 07:30 | |
*** jpena|off is now known as jpena | 07:31 | |
*** janki has joined #openstack-nova | 07:32 | |
*** dpawlik has quit IRC | 07:32 | |
*** dpawlik has joined #openstack-nova | 07:38 | |
*** Bhujay has joined #openstack-nova | 07:41 | |
*** dpawlik has quit IRC | 07:46 | |
*** dpawlik_ has joined #openstack-nova | 07:46 | |
*** jchhatbar has joined #openstack-nova | 07:55 | |
openstackgerrit | Chen proposed openstack/nova master: Fix SOFT_DELETE vm_state string https://review.openstack.org/598482 | 07:56 |
*** janki has quit IRC | 07:57 | |
*** alexchadin has quit IRC | 07:57 | |
*** luksky has quit IRC | 07:58 | |
*** kosamara has joined #openstack-nova | 08:06 | |
*** alexchadin has joined #openstack-nova | 08:07 | |
*** Bhujay has quit IRC | 08:17 | |
*** luksky has joined #openstack-nova | 08:28 | |
*** hshiina has joined #openstack-nova | 08:35 | |
openstackgerrit | Brin Zhang proposed openstack/nova-specs master: Resource retrieving: add changes-before filter https://review.openstack.org/591976 | 08:45 |
openstackgerrit | Brin Zhang proposed openstack/nova-specs master: Resource retrieving: add changes-before filter https://review.openstack.org/591976 | 08:48 |
*** ttsiouts has joined #openstack-nova | 08:49 | |
*** alexchadin has quit IRC | 09:01 | |
*** dpawlik_ has quit IRC | 09:04 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Consumer gen support for delete instance allocations https://review.openstack.org/591597 | 09:06 |
*** dtantsur|afk is now known as dtantsur | 09:07 | |
*** Sigyn has quit IRC | 09:07 | |
*** Sigyn has joined #openstack-nova | 09:08 | |
*** dpawlik has joined #openstack-nova | 09:11 | |
*** alexchadin has joined #openstack-nova | 09:15 | |
*** lei-zh1 has quit IRC | 09:21 | |
*** moshele has joined #openstack-nova | 09:27 | |
*** gmann has quit IRC | 09:27 | |
*** hamzy_ has joined #openstack-nova | 09:37 | |
*** hamzy has quit IRC | 09:37 | |
*** stakeda has quit IRC | 09:41 | |
*** gmann has joined #openstack-nova | 09:43 | |
openstackgerrit | Chen proposed openstack/nova master: Fix filter server list with SOFT_DELETED status https://review.openstack.org/597443 | 09:45 |
*** brinzhang has quit IRC | 09:45 | |
*** trungnv has quit IRC | 09:52 | |
*** priteau has joined #openstack-nova | 09:53 | |
*** bzhao__ has joined #openstack-nova | 09:53 | |
*** alexchadin has quit IRC | 09:53 | |
*** dpawlik has quit IRC | 09:56 | |
*** dpawlik_ has joined #openstack-nova | 09:56 | |
-openstackstatus- NOTICE: Jobs using devstack-gate (legacy devstack jobs) have been failing due to an ara update. We use now a newer ansible version, it's safe to recheck if you see "ImportError: No module named manager" in the logs. | 09:57 | |
*** tbachman_ has joined #openstack-nova | 10:06 | |
*** tbachman has quit IRC | 10:07 | |
*** tbachman_ is now known as tbachman | 10:07 | |
*** alexchadin has joined #openstack-nova | 10:07 | |
*** moshele has quit IRC | 10:09 | |
*** ttsiouts has quit IRC | 10:09 | |
openstackgerrit | Merged openstack/nova master: Delete instance_group_member records from API DB during archive https://review.openstack.org/588943 | 10:13 |
*** hoangcx has quit IRC | 10:16 | |
*** Dinesh_Bhor has quit IRC | 10:17 | |
*** tbachman_ has joined #openstack-nova | 10:18 | |
*** tbachman has quit IRC | 10:19 | |
*** tbachman_ is now known as tbachman | 10:19 | |
*** cdent has joined #openstack-nova | 10:21 | |
*** Bhujay has joined #openstack-nova | 10:21 | |
*** Bhujay has quit IRC | 10:26 | |
dr_gogeta86 | hi | 10:31 |
dr_gogeta86 | there is any known tecnique to migrate VMs with high memory pressure | 10:31 |
dr_gogeta86 | i can't evaquate a node for some machine who uses a lot of ram | 10:32 |
*** nicolasbock has joined #openstack-nova | 10:33 | |
*** dave-mccowan has joined #openstack-nova | 10:35 | |
*** tbachman_ has joined #openstack-nova | 10:41 | |
*** tbachman_ has quit IRC | 10:42 | |
*** tbachman has quit IRC | 10:43 | |
*** Dinesh_Bhor has joined #openstack-nova | 10:45 | |
*** stephenfin is now known as finucannot | 10:46 | |
*** erlon has joined #openstack-nova | 10:49 | |
gibi | dr_gogeta86: I suggest to read the spec https://specs.openstack.org/openstack/nova-specs/specs/newton/implemented/auto-live-migration-completion.html | 10:52 |
*** gibi is now known as giblet | 10:53 | |
*** alexchadin has quit IRC | 10:53 | |
dr_gogeta86 | tnx | 10:54 |
*** alexchadin has joined #openstack-nova | 10:57 | |
giblet | dr_gogeta86: and here some final documentation for the features proposed in that spec https://docs.openstack.org/nova/latest/admin/configuring-migrations.html#advanced-configuration-for-kvm-and-qemu | 11:10 |
*** ttsiouts has joined #openstack-nova | 11:12 | |
*** udesale has quit IRC | 11:12 | |
*** alexchadin has quit IRC | 11:28 | |
*** jpena is now known as jpena|lunch | 11:28 | |
openstackgerrit | Radoslav Gerganov proposed openstack/nova master: Do not dump all instances in the scheduler https://review.openstack.org/598611 | 11:38 |
*** alexchadin has joined #openstack-nova | 11:39 | |
*** alexchadin has quit IRC | 11:39 | |
*** alexchadin has joined #openstack-nova | 11:40 | |
*** alexchadin has quit IRC | 11:40 | |
*** alexchadin has joined #openstack-nova | 11:58 | |
*** tonyb has quit IRC | 12:02 | |
*** tbachman has joined #openstack-nova | 12:03 | |
*** tbachman has quit IRC | 12:07 | |
openstackgerrit | sahid proposed openstack/nova master: hardware: fix memory check usage for small/large pages https://review.openstack.org/532168 | 12:13 |
sahid | finucannot: ^ | 12:14 |
*** tbachman has joined #openstack-nova | 12:15 | |
*** brinzhang has joined #openstack-nova | 12:18 | |
*** tonyb has joined #openstack-nova | 12:19 | |
*** jpena|lunch is now known as jpena | 12:23 | |
*** jaypipes is now known as leakypipes | 12:44 | |
finucannot | sahid: ack | 12:49 |
*** cdent has quit IRC | 12:55 | |
*** tssurya has quit IRC | 12:59 | |
*** Hazelesque has quit IRC | 13:03 | |
*** alexchadin has quit IRC | 13:09 | |
*** Hazelesque has joined #openstack-nova | 13:10 | |
*** eharney has joined #openstack-nova | 13:23 | |
*** ttsiouts has quit IRC | 13:24 | |
sahid | finucannot, leakypipes thanks | 13:26 |
leakypipes | sahid: de rien, mon ami | 13:29 |
*** ttsiouts has joined #openstack-nova | 13:30 | |
*** bnemec is now known as beekneemech | 13:31 | |
sahid | :-) | 13:31 |
*** alexchadin has joined #openstack-nova | 13:34 | |
*** alexchadin has quit IRC | 13:34 | |
*** alexchadin has joined #openstack-nova | 13:35 | |
*** alexchadin has quit IRC | 13:35 | |
*** alexchadin has joined #openstack-nova | 13:35 | |
*** alexchadin has quit IRC | 13:36 | |
openstackgerrit | Matt Riedemann proposed openstack/nova stable/rocky: Delete instance_group_member records from API DB during archive https://review.openstack.org/598953 | 13:36 |
*** alexchadin has joined #openstack-nova | 13:36 | |
*** alexchadin has quit IRC | 13:36 | |
*** alexchadin has joined #openstack-nova | 13:37 | |
*** lbragstad is now known as elbragstad | 13:37 | |
*** poojajadhav has joined #openstack-nova | 13:38 | |
*** efried is now known as fried_rice | 13:38 | |
poojajadhav | fried_rice: Hi | 13:39 |
fried_rice | poojajadhav: Greetings. | 13:39 |
poojajadhav | fried_rice: Can u help in simple tenant usage API | 13:39 |
*** luksky has quit IRC | 13:40 | |
fried_rice | poojajadhav: whoah. I'm certainly not the best resource for that, but I can see what I can do (read: who I can find who knows something about it). | 13:40 |
poojajadhav | fried_rice: Actually, I have started looking into the bug : https://bugs.launchpad.net/nova/+bug/1715570 | 13:41 |
openstack | Launchpad bug 1715570 in OpenStack Compute (nova) "simple tenant usage api calculating disk usages incorrectly" [Undecided,In progress] - Assigned to Bhagyashri Shewale (bhagyashri-shewale) | 13:41 |
poojajadhav | fried_rice: To resolve the issue of the usages of the (disk, memory_mb, vcpu) I am trying to get usages from placement usage api and then will use that infor for simple tenantr usage api. But facing issue when getting palcement usages. | 13:43 |
poojajadhav | fried_rice: Getting errot like : [dict(resource_class_id=item[0], usage=item[1])for item in query.all()] *** ProgrammingError: (pymysql.err.ProgrammingError) (1146, u"Table 'nova_cell0.consumers' doesn't exist") [SQL: u'SELECT allocations.resource_class_id AS allocations_resource_class_id, coalesce(sum(allocations.used), %(coalesce_2)s) AS coalesce_1 \nFROM allocations INNER JOIN consumers ON allocations.consumer_id = cons | 13:43 |
fried_rice | leakypipes: ^ ? | 13:44 |
fried_rice | poojajadhav: Wait, how are you trying to retrieve the usages? | 13:45 |
fried_rice | via the placement API or by talking directly to "the database"? | 13:45 |
*** mriedem has joined #openstack-nova | 13:45 | |
openstackgerrit | Balazs Gibizer proposed openstack/nova master: Consumer gen support for put allocations https://review.openstack.org/591647 | 13:45 |
poojajadhav | fried_rice: same like done in placement https://github.com/openstack/nova/blob/master/nova/api/openstack/placement/handlers/usage.py#L104-L109 | 13:46 |
leakypipes | fried_rice: simple tenant usage unfortunately is a pile of legacy and doesn't query placement at all. | 13:47 |
*** ttsiouts has quit IRC | 13:47 | |
leakypipes | fried_rice: it's all looking at instances, compute_nodes table etc | 13:47 |
leakypipes | in the nova cell DBs. | 13:47 |
mdbooth | pip's giving me an ssl error (CERTIFICATE_VERIFY_FAILED) trying to download https://files.pythonhosted.org/packages/2a/fd/2a8b894ee3451704cf8525a6a94b87d5ba24747b7bbd3d2f7059189ad79f/stestr-2.1.1.tar.gz on F28. Chrome thinks it's fine. Anybody seen anything similar? | 13:47 |
*** alex_xu has quit IRC | 13:47 | |
fried_rice | poojajadhav: You definitely shouldn't be attempting to access the placement database directly from anywhere other than within the placement API code itself. If you're trying to get placement information from nova, you would need to do it by talking to the placement API service through the REST interface, via the SchedulerReportClient. | 13:48 |
poojajadhav | fried_rice, leakypipes: If the instance is BFV then also its shwoing the flavor,root_gb as per https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/simple_tenant_usage.py#L165-L168 | 13:49 |
fried_rice | poojajadhav: I thought we had some patches already proposed that were looking at fixing this... | 13:50 |
dansmith | leakypipes: despite the legacyness, placement doesn't provide the data it would need anyway | 13:50 |
mriedem | the is_bfv fix doesn't extend to the simple tenant usage API right?/ | 13:51 |
mriedem | since the API doesn't look at the request spec | 13:52 |
poojajadhav | fried_rice : But in the simple tenant usage api, we can get flavors details and falvor is exists in nova_api only. | 13:52 |
*** alex_xu has joined #openstack-nova | 13:53 | |
dansmith | mriedem: unrelated, but .. haven't we already had a discussion about allowing delete-on-termination to be provided in attach volume? | 13:53 |
dansmith | I found a very old blueprint and code from like 2013, but couldn't find anything more recent | 13:53 |
dansmith | and I thought we had (and you were opposed) | 13:54 |
mriedem | dansmith: someone was asking for adding delete_on_termination for ports during server create to match bdms, but not sure about adding that flag during attach | 13:54 |
mdbooth | dansmith: It does seem like a kinda weird thing to do, tbh. Also, how would that work with multi-attach? | 13:54 |
mriedem | i agree it would be weird | 13:54 |
dansmith | mdbooth: mriedem: yeah, I think it violates the "nova created it so nova deleted it" rule | 13:55 |
mriedem | delete_on_termination, to me, makes the most sense when nova creates the resoruce | 13:55 |
dansmith | and could be quite surprising | 13:55 |
poojajadhav | fried_rice : Can u please locate me to those patches | 13:55 |
fried_rice | poojajadhav: I'm probably thinking of something different. | 13:55 |
dansmith | mriedem: anyway i was sure you had already thrown down the hammer on this previously so I was just looking for a shortcut | 13:55 |
leakypipes | dansmith: ack | 13:55 |
mriedem | poojajadhav: https://github.com/openstack/nova/commit/03c596a9f4324e572bc04d4bbad09a6d3d47366c#diff-cbbdc4d7c140314a7e0b2d97ebcd1f9c ? | 13:56 |
mriedem | dansmith: b/c today is friday red hat bug squash day and you have a customer that wants this ability? | 13:56 |
dansmith | mriedem: I told you never to call me here | 13:56 |
mriedem | and you can say "ol man riderman doesn't like it" | 13:56 |
dansmith | mriedem: no, I was hoping for a link to an ML thread where "ol man riderman said no" | 13:57 |
mriedem | for that you'd have to dig :) | 13:57 |
dansmith | well, I did | 13:57 |
*** giblet is now known as giblet_off | 13:57 | |
mriedem | i wouldn't be surprised if it came up | 13:57 |
leakypipes | I think we'd need hansmoleman for that. | 13:57 |
*** mlavalle has joined #openstack-nova | 13:58 | |
mriedem | https://review.openstack.org/#/c/89777/ | 13:58 |
poojajadhav | mriedem: I have checked on current master, in the usages for BFV instance it shows local_gb=1. | 13:58 |
mriedem | there are -1s in that spec from not me | 13:58 |
dansmith | mriedem: just procedural | 13:58 |
dansmith | I already found that and the conversation on the ML about it | 13:59 |
mriedem | poojajadhav: yeah, because the simple tenant usage API doesn't take into account whether or not an instance is volume-backed | 13:59 |
mriedem | as i said above | 13:59 |
dansmith | nobody seemed to actually discuss it | 13:59 |
mriedem | phil day was -1 onn it | 13:59 |
mriedem | for the reasons we just said | 13:59 |
mriedem | "I think the option for delete on termination when booting an instance is a hang over from the original boot from volume work where Nova would create a new (in effect ephemeral) volume from an image in Glance. I'm not sure that use case really exist anymore - but even if it does it doesn't seem like it should be extended to more general cases." | 14:00 |
mriedem | doesn't exist anymore....oh phil | 14:00 |
mriedem | heh jay was +1 on it | 14:00 |
mriedem | 2014 jay loved bfv! | 14:00 |
poojajadhav | mriedem: but should we consider instance is volume-backed or not for simple tenant usage api? | 14:01 |
mriedem | poojajadhav: yes we likely should | 14:01 |
melwitt | . | 14:01 |
mriedem | poojajadhav: you could start by reporting a bug, related to bug 1469179 and mention the issue | 14:01 |
openstack | bug 1469179 in OpenStack Compute (nova) "instance.root_gb should be 0 for volume-backed instances" [Medium,Fix released] https://launchpad.net/bugs/1469179 - Assigned to Dan Smith (danms) | 14:01 |
leakypipes | mriedem: I must have mistaken it to mean delete bfv. | 14:01 |
mriedem | leakypipes: heh | 14:01 |
poojajadhav | mriedem: bug is already reported https://bugs.launchpad.net/nova/+bug/1715570 | 14:02 |
openstack | Launchpad bug 1715570 in OpenStack Compute (nova) "simple tenant usage api calculating disk usages incorrectly" [Undecided,In progress] - Assigned to Bhagyashri Shewale (bhagyashri-shewale) | 14:02 |
*** gbarros has joined #openstack-nova | 14:03 | |
mriedem | poojajadhav: ok | 14:06 |
mriedem | i'm not really sure how we could efficiently calculate volume-backed for all servers in the simple tenant usage API call - since it's not a flag on the instance itself | 14:06 |
mriedem | unless we started reporting that into the instance system_metadata or something | 14:07 |
mriedem | dansmith: any thoughts on that? | 14:07 |
*** Luzi has quit IRC | 14:07 | |
*** ttsiouts has joined #openstack-nova | 14:08 | |
dansmith | mriedem: yeah, we'd need a new element of data I think to be able to do it at all efficiently | 14:10 |
dansmith | sysmeta would not be that thing though | 14:10 |
poojajadhav | mriedem: I was thought like currently placement usage api giving correct usages so we can get them and use it for the simple tenant usage api | 14:10 |
dansmith | poojajadhav: that's not what simple tenant usage wants or needs | 14:10 |
dansmith | it needs historical data | 14:10 |
poojajadhav | dansmith: hmm | 14:10 |
mriedem | simple tenant usage is asking for an aggregate usage of resources for a given tenant over a specific time period | 14:11 |
mriedem | placement doesn't expose consumer type (instance or volume or container) nor created_at time | 14:12 |
dansmith | nor keep anything after deletion | 14:12 |
dansmith | i.e. no historical archive | 14:12 |
mriedem | right | 14:12 |
mriedem | when a record is deleted in placement, it's gone | 14:12 |
mriedem | it's not put in a box in the basement like in nova | 14:12 |
* mriedem eagerly awaits the placement specs for adding all of this into placement now... | 14:13 | |
leakypipes | mriedem: gonna have to wait until the glacier unfreezes I'm afraid. /me goes back to reviewing nova-specs | 14:14 |
*** mriedem has quit IRC | 14:14 | |
*** mriedem has joined #openstack-nova | 14:15 | |
poojajadhav | mriedem: I was trying to fix it.. but which can be then efficient way now :( | 14:16 |
mriedem | well, system_metadata isn't great | 14:19 |
mriedem | dansmith: thinking out loud, how crazy would it be to have a joinedload field in the db api when we get an instance that adds a boolean attribute to the sqla instance object that queries the bdms table for that instance to see if it's volume-backed, i.e. (1) bdm exists for the instance (2) boot_index=0, (3) destination_type='volume' ? | 14:20 |
mriedem | essentially nova.compute.utils.is_volume_backed_instance but in the db api | 14:21 |
dansmith | are those all columns? | 14:22 |
dansmith | even if they are, I dunno if you can easily synthesize a field on an ORM object or not | 14:23 |
*** links has quit IRC | 14:24 | |
mriedem | we do that in other places, like what we had for instance_group.policies | 14:24 |
mriedem | definitely not something i'm going to spend a lot of time thinking about today | 14:25 |
mriedem | i'll throw it in the bug as an idea | 14:25 |
*** cdent has joined #openstack-nova | 14:26 | |
*** hamzy_ is now known as hamzy | 14:26 | |
dansmith | we synthesize something with a subquery? | 14:27 |
mriedem | well i was thinking stuff like htis | 14:29 |
mriedem | *this | 14:29 |
mriedem | _policies = orm.relationship(InstanceGroupPolicy, | 14:29 |
mriedem | primaryjoin='InstanceGroup.id == InstanceGroupPolicy.group_id') | 14:29 |
mriedem | or this from the services table: | 14:30 |
mriedem | instance = orm.relationship( | 14:30 |
mriedem | "Instance", | 14:30 |
mriedem | backref='services', | 14:30 |
mriedem | primaryjoin='and_(Service.host == Instance.host,' | 14:30 |
mriedem | 'Service.binary == "nova-compute",' | 14:30 |
mriedem | 'Instance.deleted == 0)', | 14:30 |
mriedem | foreign_keys=host, | 14:30 |
mriedem | ) | 14:30 |
mriedem | that's how we get the instance.services column right? | 14:30 |
mriedem | calling it a column isn't really appropriate i suppose | 14:30 |
mriedem | model attribute | 14:30 |
dansmith | that's a join so we get the right thing, | 14:33 |
dansmith | that just gets us a list of matching records, not a boolean calculated, | 14:33 |
*** zzzeek has quit IRC | 14:33 | |
dansmith | but we could turn it into a boolean on the nova object if there's a bdm in that list I guess | 14:34 |
*** zzzeek has joined #openstack-nova | 14:34 | |
dansmith | do we keep the bdms after instance deletion? I think we use the flavor data for that usage info, so we'd need the bdms to still be there on deleted instances for that to work properly | 14:34 |
mriedem | the bdms are soft deleted just like the instance | 14:35 |
dansmith | okay | 14:35 |
*** moshele has joined #openstack-nova | 14:38 | |
openstackgerrit | Merged openstack/nova master: api-ref: add a warning about calling swap volume directly https://review.openstack.org/596492 | 14:38 |
*** zzzeek has quit IRC | 14:40 | |
*** alexchadin has quit IRC | 14:41 | |
*** hshiina has quit IRC | 14:42 | |
*** zzzeek has joined #openstack-nova | 14:42 | |
*** jpena is now known as jpena|off | 14:42 | |
*** jpena|off is now known as jpena | 14:43 | |
*** jaosorior has quit IRC | 14:43 | |
*** zzzeek has quit IRC | 14:46 | |
*** zzzeek has joined #openstack-nova | 14:47 | |
mriedem | bauzas: see my todo/question in https://review.openstack.org/#/c/598365/1/nova/compute/resource_tracker.py - i'm assuming this is something operators may do in case they need to 'reset' allocation ratios on computes in the db back to the default | 14:48 |
mriedem | i.e. i set a config value for the allocation ratio, then want to get back to defaults, so remove my custom config and restart nova-compute and expect the compute to report the default allocation ratio | 14:48 |
bauzas | mriedem: ack, I need to go out, but I'll look at it | 14:50 |
bauzas | mriedem: mmm, about your question | 14:51 |
bauzas | mriedem: I think we can say something in a reno note that in case they want to use the default values, they should pass 16.0 for example | 14:52 |
bauzas | some upgrade section | 14:52 |
bauzas | setting it back to 0.0 looks insane to me | 14:52 |
bauzas | or another way to fix the problem would be to use the object method there | 14:53 |
mriedem | if we leave it and doc it anywhere, it should be in the option help, | 14:53 |
mriedem | release notes aren't read and are lost in the sands of time once you FFU | 14:53 |
bauzas | right, I meant in both a relnote and the help | 14:53 |
mriedem | need to wrap my head around this a bit myeslf | 14:53 |
*** poojajadhav has quit IRC | 14:53 | |
mriedem | *myself | 14:53 |
bauzas | or I need to think about just modifying the conf default value | 14:54 |
bauzas | with your change too | 14:54 |
mriedem | my change needs to be backported so we wouldn't do that | 14:54 |
mriedem | in the same change | 14:54 |
bauzas | I mean, both fixing the RT *and* changing the default values | 14:54 |
bauzas | I need to go out but I'll think about it | 14:55 |
dansmith | man zuul is backed up real bad | 14:57 |
* dansmith offers it some fiber | 14:57 | |
mriedem | dansmith: yeah https://bugs.launchpad.net/openstack-gate/+bug/1790152 | 14:58 |
openstack | Launchpad bug 1790152 in OpenStack-Gate "jobs failing with ansible "ImportError: No module named manager" since 8/30" [Undecided,Fix released] | 14:58 |
mriedem | already fixed but broke everything last night | 14:58 |
dansmith | yeah, but are we still on that backlog? | 15:00 |
dansmith | at 2am this morning they said "go ahead and recheck" -- maybe it's just the influx of everyone doing that/ | 15:00 |
*** tbachman has quit IRC | 15:02 | |
mriedem | i assume so yes - everyone woke up and started rechecking the world | 15:02 |
*** brinzhang has quit IRC | 15:02 | |
openstackgerrit | Merged openstack/nova master: Remove old check_attach version check in API https://review.openstack.org/588348 | 15:02 |
mriedem | ^ feels good to have that gone | 15:04 |
*** ccamacho has quit IRC | 15:12 | |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Don't persist zero allocation ratios in ResourceTracker https://review.openstack.org/598365 | 15:14 |
*** tbachman has joined #openstack-nova | 15:17 | |
cdent | sean-k-mooney: in case you're following along at home my car failed its mot rather spectacularly | 15:22 |
*** moshele has quit IRC | 15:24 | |
sean-k-mooney | cdent: i was actully wondering about that | 15:25 |
*** sahid has quit IRC | 15:26 | |
*** macza has joined #openstack-nova | 15:26 | |
cdent | i'll find out the details in a few minutes when I go to pick it up. the parts it needs may be impossible to get. | 15:26 |
sean-k-mooney | cdent: fixable or not viable | 15:26 |
*** pcaruana has quit IRC | 15:26 | |
cdent | well, fixable with a) much money, b) access to parts. Both require some effort to resolve. | 15:27 |
*** jchhatbar has quit IRC | 15:27 | |
sean-k-mooney | ya what is it by the way. you mentioned it was 21 years old but not the make or modle | 15:27 |
*** jlvillal is now known as jlvilla-viva | 15:30 | |
*** tbachman has quit IRC | 15:33 | |
*** ttsiouts has quit IRC | 15:38 | |
*** ttsiouts has joined #openstack-nova | 15:39 | |
*** tbachman has joined #openstack-nova | 15:39 | |
*** erlon has quit IRC | 15:41 | |
*** tbachman_ has joined #openstack-nova | 15:42 | |
*** ttsiouts has quit IRC | 15:43 | |
*** dpawlik_ has quit IRC | 15:44 | |
*** tbachman has quit IRC | 15:44 | |
*** tbachman_ is now known as tbachman | 15:44 | |
*** munimeha1 has joined #openstack-nova | 15:56 | |
*** gbarros has quit IRC | 15:58 | |
*** r-daneel has joined #openstack-nova | 16:01 | |
*** jpena is now known as jpena|off | 16:03 | |
*** openstackgerrit has quit IRC | 16:06 | |
*** holser_ has quit IRC | 16:07 | |
*** gbarros has joined #openstack-nova | 16:21 | |
*** mriedem is now known as mriedem_away | 16:21 | |
*** fried_rice is now known as fried_rolls | 16:27 | |
sean-k-mooney | melwitt: finucannot since sahid was fine https://review.openstack.org/#/q/topic:bug/1759420+(status:open+OR+status:merged) and melwitt mentioned to not squash unless i respin are they good to go? | 16:34 |
melwitt | sean-k-mooney: probably. I'd ask mriedem_away if he thinks squashing is important but he's away for atm | 16:35 |
finucannot | sean-k-mooney: Sure. I've +2d the bottom one but, in hindsight, I might leave both to melwitt seeing as she got there first (assuming that's alright with her) | 16:35 |
melwitt | finucannot: I'm fine with you taking them, I can +1 them anyway. I want to ask mriedem_away about squashing since it's related to the backport | 16:37 |
finucannot | melwitt: Yeah, it can wait until next week, in that case | 16:37 |
melwitt | we routinely backport 2-change deals for functional regression tests, but this is a unit regression test, just want to make sure with him since I'm not sure it matters | 16:38 |
sean-k-mooney | sure just comment or ping me if you want it squashed. its like 30 seconds to do but the gate is busy at the moment so did not want to push a change for no reason | 16:38 |
melwitt | ok, I'll let you know | 16:38 |
*** r-daneel has quit IRC | 16:38 | |
*** r-daneel has joined #openstack-nova | 16:38 | |
*** gbarros has quit IRC | 16:47 | |
*** Swami has joined #openstack-nova | 16:48 | |
*** mdbooth has quit IRC | 16:56 | |
*** hoonetorg has joined #openstack-nova | 17:07 | |
*** cfriesen has joined #openstack-nova | 17:23 | |
*** cfriesen has quit IRC | 17:27 | |
*** cfriesen has joined #openstack-nova | 17:28 | |
*** cfriesen has quit IRC | 17:31 | |
*** cfriesen has joined #openstack-nova | 17:31 | |
hamzy | hey y'all, my ethernet connections in instances installed via TripleO doesn't work. I seem to see all the bridges and connections setup, but some final qemu hardware connection is broken or missing http://paste.openstack.org/show/729241/ | 17:43 |
sean-k-mooney | hamzy: that all seams fine at first glance | 17:44 |
sean-k-mooney | hamzy: how did you determihn that the connectivity did not work | 17:44 |
hamzy | sean-k-mooney, on lines 78+ I can't get the IP via DHCP, or when I set it manually, ping the router | 17:45 |
sean-k-mooney | hamzy: is dhcp enable on the neutron subnet | 17:48 |
cfriesen | who's a good person to talk to about performance issues? | 17:48 |
cfriesen | I mean process startup times | 17:48 |
sean-k-mooney | cfriesen: as in makeing them better or debuging a problem | 17:49 |
sean-k-mooney | cfriesen: if your debugging a proablem i proably cant help but if you have a proposal on how to make it faster then im happy to be a sound board to bounce ideas off | 17:50 |
cfriesen | sean-k-mooney: in nova/compute/flavors.py we call "from nova.api.validation import parameter_types". This appears to be really expensive (~6 seconds in a recent test) due to the regex stuff, which makes a controller node startup fairly expensive | 17:50 |
hamzy | sean-k-mooney, yes I believe that it is... all ports on 'openstack port list' are active | 17:50 |
*** mriedem_away is now known as mriedem | 17:50 | |
sean-k-mooney | cfriesen: ocuch 6 seconds for a singel function call for paramater validation is nuts | 17:51 |
sean-k-mooney | hamzy: yes they will be active regardless of if dhcp is enable on the subnet | 17:52 |
cfriesen | sean-k-mooney: that was in vbox, but it's still multiple seconds on bare metal. internally we moved the import down into the actual code so it's only done if we actually do the flavor creation | 17:52 |
sean-k-mooney | they also will have ips assigned | 17:52 |
sean-k-mooney | cfriesen: wait the import is executing code? is it building the regex on import or something if so that is terible | 17:53 |
hamzy | sean-k-mooney, http://paste.openstack.org/show/729253/ | 17:53 |
hamzy | is the DHCP agent only run on the controller? | 17:54 |
sean-k-mooney | cfriesen: sigh... https://github.com/openstack/nova/blob/master/nova/api/validation/parameter_types.py#L144-L492 its all at file scope we do this on every import | 17:54 |
cfriesen | sean-k-mooney: precisely | 17:55 |
sean-k-mooney | cfriesen: can you open a bug for that. i would have to check what this actully used for but personally i think we should lazy initallies the values or replace them with caching factoryFunctions | 17:56 |
cfriesen | sean-k-mooney: sure | 17:56 |
sean-k-mooney | the simplest thing to do is proably make them all properties but not sure that is leagal at file/module scope | 17:57 |
sean-k-mooney | hamzy: yes it should only be running on the contoller/networking nodes | 17:57 |
hamzy | sean-k-mooney, I would think that "sudo ip addr add ..." and ping .254 (router) should work as a test for network connectivity, right? | 17:58 |
sean-k-mooney | hamzy: can you do an "openstack subnet list" and then "openstack subnet show" for the subnet the vm is connected too | 17:58 |
leakypipes | cfriesen, sean-k-mooney: I'm actually only seeing a single re.compile() in that module... | 17:58 |
leakypipes | cfriesen, sean-k-mooney: It would seem like it would be more efficient to be re.compile()'ing all the regexes that are in module scope in that module. | 17:59 |
*** dtantsur is now known as dtantsur|afk | 17:59 | |
sean-k-mooney | leakypipes: actully i had assumed the ValidationRegex object was compiling them but i see now its not | 18:00 |
leakypipes | sean-k-mooney: no it is not... | 18:01 |
leakypipes | sean-k-mooney: or at least, it isn't AFAICT | 18:01 |
sean-k-mooney | ya looking over the file level stuff its not really doing anything expecive | 18:02 |
cfriesen | try running python and then doing "from nova.api.validation import parameter_types" | 18:02 |
sean-k-mooney | https://github.com/openstack/nova/blob/master/nova/api/validation/__init__.py however might be | 18:02 |
sean-k-mooney | also not really be i hate when people hide stuff in __init__.py files | 18:03 |
cfriesen | just retested and it's 3 secs on pretty beefy hardware | 18:04 |
sean-k-mooney | cfriesen: and if you move the import to the fuction where its used what happens? | 18:05 |
cfriesen | sean-k-mooney: then you don't hit the delay at process startup, only when you actually run the function | 18:05 |
sean-k-mooney | cfriesen: yes but what is the delta in start up | 18:06 |
sean-k-mooney | if its 3 second to 2.9 then do we care | 18:06 |
cfriesen | no, it's 3 secs just for "from nova.api.validation import parameter_types" | 18:06 |
sean-k-mooney | oh that is different | 18:06 |
leakypipes | sean-k-mooney: well, there's no state in the dunderinit file at least... just functions. | 18:07 |
sean-k-mooney | cfriesen: can you temporally comment out the file level suff just to see if it changes | 18:07 |
* leakypipes goes to benchmark what cfriesen is seeing | 18:07 | |
*** luksky has joined #openstack-nova | 18:08 | |
leakypipes | holy fucksticks, Batman. | 18:09 |
leakypipes | [jaypipes@uberbox nova]$ source .tox/py27/bin/activate | 18:09 |
leakypipes | (py27) [jaypipes@uberbox nova]$ time python -m nova.api.validation.parameter_types | 18:09 |
leakypipes | real0m5.653s | 18:09 |
leakypipes | user0m3.331s | 18:09 |
leakypipes | sys0m0.201s | 18:09 |
sean-k-mooney | cfriesen: the only thin that looks even remotely expensive is maybe _build_regex_range and even then the most expecive thing i see there is re.escape | 18:09 |
sean-k-mooney | i dont really like this https://github.com/openstack/nova/blob/master/nova/api/validation/parameter_types.py#L128-L142 | 18:10 |
sean-k-mooney | def _get_all_chars(): | 18:11 |
sean-k-mooney | for i in range(0xFFFF): | 18:11 |
sean-k-mooney | yield six.unichr(i) | 18:11 |
sean-k-mooney | so that is got to loop 65535 times | 18:11 |
sean-k-mooney | *going too | 18:12 |
sean-k-mooney | and we call the function 17 times | 18:12 |
sean-k-mooney | so that 1.1 million callse to re.escape every time we load that module | 18:14 |
sean-k-mooney | leakypipes: cfriesen shall i fix this or do one of ye wnat to do it | 18:14 |
*** openstackgerrit has joined #openstack-nova | 18:15 | |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Default AZ for instance if cross_az_attach=False and checking from API https://review.openstack.org/469675 | 18:15 |
cfriesen | sean-k-mooney: go for it. :) | 18:15 |
sean-k-mooney | cfriesen: good find by the way that is nuts | 18:16 |
*** moshele has joined #openstack-nova | 18:16 | |
cfriesen | sean-k-mooney: https://bugs.launchpad.net/nova/+bug/1790195 | 18:17 |
openstack | Launchpad bug 1790195 in OpenStack Compute (nova) "performance problems starting up nova process due to regex code" [Undecided,New] | 18:17 |
leakypipes | cfriesen: ++ | 18:18 |
*** priteau has quit IRC | 18:18 | |
*** tbachman has quit IRC | 18:19 | |
cfriesen | sean-k-mooney: I think that's likely the culprit. Changing it to "for i in range(0x1):" made "python -m nova.api.validation.parameter_types" take 1.5 sec instead of 7. | 18:21 |
mriedem | hmm, so https://review.openstack.org/#/c/598366/ passed with https://review.openstack.org/#/c/598365/ but i'm not sure if that tells us much | 18:21 |
sean-k-mooney | cfriesen: ill fix this two ways. first ill cache te result of _build_regex_range wit a decorator and second ill probably convert the file level vars to propertys so they are lazy evaulted | 18:21 |
cfriesen | sean-k-mooney: sounds good | 18:22 |
*** tbachman has joined #openstack-nova | 18:23 | |
openstackgerrit | Adam Harwell proposed openstack/nova stable/pike: Add apply_cells to nova-manage https://review.openstack.org/599050 | 18:48 |
openstackgerrit | Merged openstack/nova master: Report client: update_from_provider_tree w/reshape https://review.openstack.org/585049 | 18:51 |
openstackgerrit | Merged openstack/nova master: Compute: Handle reshaped provider trees https://review.openstack.org/576236 | 18:51 |
openstackgerrit | Merged openstack/nova master: Do test_reshape with an actual startup https://review.openstack.org/597218 | 18:52 |
openstackgerrit | Merged openstack/nova master: Fix reshaper report client functonal test nits https://review.openstack.org/598330 | 18:52 |
cfriesen | any chance of a second core looking at https://review.openstack.org/#/c/588657/ ? It's a fairly straightforward change related to image properties, claims, and evacuate. | 18:55 |
*** tbachman has quit IRC | 18:58 | |
*** openstackstatus has quit IRC | 18:58 | |
mriedem | that is an excellent patch | 18:58 |
leakypipes | cfriesen: ack, I'll review shortly. | 19:01 |
cfriesen | leakypipes: much appreciated | 19:07 |
leakypipes | cfriesen: you KNOW how much I love the instance migration/evacuate/shelve/funkychicken code paths. | 19:08 |
cfriesen | just the thing for a friday | 19:08 |
sean-k-mooney | cfriesen: so the decorator alone went from 0m3.535s to 1.128s | 19:11 |
cfriesen | cool | 19:11 |
*** tbachman has joined #openstack-nova | 19:18 | |
*** fried_rolls is now known as fried_rice | 19:23 | |
leakypipes | cfriesen: +W | 19:33 |
cfriesen | leakypipes: sweet, thx | 19:34 |
*** openstackstatus has joined #openstack-nova | 19:38 | |
*** ChanServ sets mode: +v openstackstatus | 19:38 | |
mriedem | fried_rice: you wanted to know when i reported this https://bugs.launchpad.net/nova/+bug/1790204 | 19:43 |
openstack | Launchpad bug 1790204 in OpenStack Compute (nova) "Allocations are "doubled up" on same host resize even though there is only 1 server on the host" [Medium,Triaged] | 19:43 |
mriedem | cfriesen: ^ fyi | 19:43 |
dansmith | mriedem: shall we? https://review.openstack.org/#/c/598353 | 19:44 |
mriedem | dansmith: see my comment on the test? | 19:44 |
dansmith | oh, sure | 19:44 |
mriedem | iow, if i remove the fix the test would still pass i think | 19:44 |
fried_rice | mriedem: ack, thx | 19:44 |
dansmith | mriedem: yep probably | 19:44 |
dansmith | mriedem: the way the gate is that makes this probably tuesday before it's in | 19:45 |
dansmith | I dunno what the fail rate is | 19:45 |
mriedem | my gut says the pass rate is not great | 19:45 |
dansmith | fail rate? | 19:46 |
mriedem | but this has also been this way since queens i think when i changed devstack to use [upgrade_levels]compute=auto so what's a few more days | 19:46 |
mriedem | i don't actually know what the pass/fail rate is right now | 19:47 |
mriedem | heh http://grafana.openstack.org/d/QBHIN5Smk/tempest-failure-rate?orgId=1 | 19:47 |
mriedem | these dashboards are all using old job names | 19:48 |
dansmith | okay i thought this was spiking in the gate based on the discussion | 19:49 |
mriedem | not it's definitely not our worst failure | 19:50 |
dansmith | ack | 19:50 |
mriedem | http://status.openstack.org/elastic-recheck/#1789484 | 19:50 |
openstackgerrit | Dan Smith proposed openstack/nova master: Move conductor wait_until_ready() delay before manager init https://review.openstack.org/598353 | 19:50 |
mriedem | it's not nothing either | 19:50 |
*** openstackstatus has quit IRC | 19:55 | |
*** eharney has quit IRC | 19:57 | |
*** openstackstatus has joined #openstack-nova | 19:58 | |
*** ChanServ sets mode: +v openstackstatus | 19:58 | |
*** cdent has quit IRC | 20:02 | |
*** itlinux has joined #openstack-nova | 20:03 | |
mriedem | dansmith: +2 | 20:05 |
*** openstackstatus has quit IRC | 20:11 | |
*** openstackstatus has joined #openstack-nova | 20:12 | |
*** ChanServ sets mode: +v openstackstatus | 20:12 | |
mriedem | fried_rice: more details https://bugs.launchpad.net/nova/+bug/1790204/comments/1 - i expect reschedules would make any solution for that bug even messier | 20:13 |
openstack | Launchpad bug 1790204 in OpenStack Compute (nova) "Allocations are "doubled up" on same host resize even though there is only 1 server on the host" [Medium,Triaged] | 20:13 |
fried_rice | mriedem: ack. I'm subscribed. | 20:13 |
*** nicolasbock has quit IRC | 20:16 | |
*** itlinux has quit IRC | 20:16 | |
openstackgerrit | Matt Riedemann proposed openstack/nova stable/rocky: Fix image-defined numa claims during evacuate https://review.openstack.org/599062 | 20:17 |
mriedem | we've got an easy gate fix here https://review.openstack.org/598353 | 20:17 |
mriedem | would be good to get that in given the gate borkages of late | 20:17 |
fried_rice | mriedem, dansmith: +A | 20:19 |
mriedem | thanks | 20:20 |
openstackgerrit | Matt Riedemann proposed openstack/nova stable/rocky: Move conductor wait_until_ready() delay before manager init https://review.openstack.org/599064 | 20:22 |
*** holser_ has joined #openstack-nova | 20:23 | |
*** itlinux has joined #openstack-nova | 20:28 | |
*** niceplace has joined #openstack-nova | 20:33 | |
*** med_ has joined #openstack-nova | 20:33 | |
*** openstackstatus has quit IRC | 20:36 | |
*** openstackstatus has joined #openstack-nova | 20:38 | |
*** ChanServ sets mode: +v openstackstatus | 20:38 | |
*** itlinux has quit IRC | 20:44 | |
*** harlowja has joined #openstack-nova | 20:46 | |
*** imacdonn has quit IRC | 20:48 | |
*** tbachman has quit IRC | 20:51 | |
openstackgerrit | Eric Fried proposed openstack/nova master: Other host allocs may appear in gafpt during evac https://review.openstack.org/597301 | 20:51 |
*** tbachman has joined #openstack-nova | 20:52 | |
openstackgerrit | Eric Fried proposed openstack/nova master: Other host allocs may appear in gafpt during evac https://review.openstack.org/597301 | 20:55 |
openstackgerrit | sean mooney proposed openstack/nova master: add caching to _build_regex_range https://review.openstack.org/599071 | 20:55 |
*** holser_ has quit IRC | 20:58 | |
*** luksky has quit IRC | 21:00 | |
*** imacdonn has joined #openstack-nova | 21:01 | |
*** munimeha1 has quit IRC | 21:07 | |
mriedem | that wily old shelve https://bugs.launchpad.net/nova/+bug/1790221 | 21:10 |
openstack | Launchpad bug 1790221 in OpenStack Compute (nova) "shelved offloaded server still shows old AZ while shelved" [Low,Triaged] | 21:10 |
cfriesen | mriedem: why is that bad? | 21:12 |
cfriesen | the unshelve api doesn't say anything about selecting a new AZ | 21:12 |
mriedem | cfriesen: a shelved instance isn't on a host, | 21:12 |
mriedem | note that the server details don't show a host or node when it's shelved | 21:12 |
cfriesen | mriedem: sure, but the AZ was selected at boot time as part of the boot criteria | 21:13 |
mriedem | if it's not on a host, it's clearly not in an AZ | 21:13 |
mriedem | nope | 21:13 |
mriedem | i didn't create the server with an az | 21:13 |
mriedem | so when i unshelve it, it can go into any othre az | 21:13 |
mriedem | related https://review.openstack.org/#/c/567701/ | 21:14 |
cfriesen | I had thought that once we pick an AZ at boot it might have implications on which cinder backends are available, so you couldn't leave it afterwards | 21:15 |
mriedem | oh fuck no | 21:15 |
mriedem | related https://review.openstack.org/#/c/469675/ | 21:15 |
cfriesen | cool, learned something new | 21:15 |
mriedem | we only give a shit about volume az if cinder.cross_az_attach=False, which it's not by default | 21:15 |
mriedem | if it is, well, good luck friend | 21:16 |
mriedem | b/c nova sucks at handling that | 21:16 |
mriedem | https://review.openstack.org/#/c/467674/ will show you exactly why | 21:16 |
mriedem | if you remove that nova fix as a dependency, you can't create a server with a pre-existing volume at all | 21:17 |
mriedem | because 'nova' != None | 21:17 |
mriedem | KABLAMMO | 21:17 |
mriedem | granted, my patch for that cross_az_attach fix is fugly | 21:18 |
*** med_ has quit IRC | 21:36 | |
*** moshele has quit IRC | 21:37 | |
*** med_ has joined #openstack-nova | 21:43 | |
* melwitt will bbl | 21:54 | |
*** elbragstad has quit IRC | 22:02 | |
*** itlinux has joined #openstack-nova | 22:11 | |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Null out instance.availability_zone on shelve offload https://review.openstack.org/599087 | 22:20 |
*** harlowja has quit IRC | 22:24 | |
*** mriedem has quit IRC | 22:32 | |
*** itlinux has quit IRC | 22:34 | |
*** markvoelker has joined #openstack-nova | 22:40 | |
*** erlon has joined #openstack-nova | 23:04 | |
*** macza has quit IRC | 23:07 | |
*** Swami has quit IRC | 23:08 | |
*** tbachman has joined #openstack-nova | 23:18 | |
*** cfriesen has quit IRC | 23:36 | |
*** r-daneel has quit IRC | 23:36 | |
*** erlon has quit IRC | 23:56 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!