Earlier  
Posted Nick Remark
#openstack-nova - 2021-05-04
14:30:33 bauzas * bauzas would imagine himself dressed up like Cruella
14:31:07 sean-k-mooney those were dalmations
14:31:07 tobias-urdin * tobias-urdin dreams about deleting all affected instances
14:31:07 sean-k-mooney those were dalmations
14:31:15 sean-k-mooney anyway
14:31:15 sean-k-mooney anyway
14:31:23 bauzas tobias-urdin: in order to fix your existing instances, that's difficult
14:31:23 bauzas tobias-urdin: in order to fix your existing instances, that's difficult
14:31:31 bauzas as I said, the AZ value is within the RequestSpec
14:31:31 bauzas as I said, the AZ value is within the RequestSpec
14:31:40 bauzas and we persist the whole blob
14:31:40 bauzas and we persist the whole blob
14:32:17 bauzas you could hack tho with python scripts
14:32:17 bauzas you could hack tho with python scripts
14:32:28 bauzas and I'm pretty sure there are existing tools that make this for you
14:32:28 bauzas and I'm pretty sure there are existing tools that make this for you
14:33:00 bauzas * bauzas has seen a lof of operators asking how to modify the RequestSpec records
14:33:06 sean-k-mooney the way to "fix" this for your deployment would be two fold 1.) set a default az. 2.) write a scprit in python tha tloads the instance from the db and set the current az in its request spec
14:33:06 sean-k-mooney the way to "fix" this for your deployment would be two fold 1.) set a default az. 2.) write a scprit in python tha tloads the instance from the db and set the current az in its request spec
14:33:15 bauzas yup
14:33:26 bauzas but you can only have one default AZ
14:33:26 bauzas but you can only have one default AZ
14:33:38 sean-k-mooney there mihgt be something in the opts tools repo for this
14:33:38 sean-k-mooney there mihgt be something in the opts tools repo for this
14:34:00 bauzas this doesn't really help but you can 'load-balance' fakely by having different default AZs for each nova-api service
14:34:00 bauzas this doesn't really help but you can 'load-balance' fakely by having different default AZs for each nova-api service
14:34:10 openstackgerrit John Garbutt proposed openstack/nova-specs master: Re-propose Unified Limits in Nova https://review.opendev.org/c/openstack/nova-specs/+/789585
14:34:10 openstackgerrit John Garbutt proposed openstack/nova-specs master: Re-propose Unified Limits in Nova https://review.opendev.org/c/openstack/nova-specs/+/789585
14:34:16 tobias-urdin already have a default az, so newer instances actually works, it's just those old ones with the "legacy" requestspec data
14:34:16 tobias-urdin already have a default az, so newer instances actually works, it's just those old ones with the "legacy" requestspec data
14:34:30 bauzas tobias-urdin: script it then
14:34:30 bauzas tobias-urdin: script it then
14:34:50 bauzas tobias-urdin: you need to regenerate the RequestSpec object, then modify it, then persisting it again
14:34:50 bauzas tobias-urdin: you need to regenerate the RequestSpec object, then modify it, then persisting it again
14:35:30 bauzas that's pretty simple honestly, but you need to understand how oslo versioned objects work within nova
14:35:30 bauzas that's pretty simple honestly, but you need to understand how oslo versioned objects work within nova
14:35:53 bauzas that's a 3-line
14:35:53 bauzas that's a 3-line
14:36:05 bauzas <import the objects module>
14:36:05 bauzas <import the objects module>
14:36:22 bauzas <get the request_spec object from its UUID>
14:36:22 bauzas <get the request_spec object from its UUID>
14:36:30 bauzas <modify the object value>
14:36:30 bauzas <modify the object value>
14:36:34 bauzas <save the object>
14:36:34 bauzas <save the object>
14:37:06 bauzas (4 lines, actually)
14:37:06 bauzas (4 lines, actually)
14:39:03 tobias-urdin problem was that it's saved for neutron ports and cinder attachments as well right uggh
14:39:03 tobias-urdin problem was that it's saved for neutron ports and cinder attachments as well right uggh
14:40:13 bauzas * bauzas facepalms
14:40:49 bauzas KISS
14:40:50 bauzas KISS
14:41:14 bauzas (keep it simple)
14:41:14 bauzas (keep it simple)
14:41:44 tobias-urdin 15:51 < sean-k-mooney> for exampel we add the AZ to the neutron port in the device_owner filed i belive
14:41:44 tobias-urdin 15:51 < sean-k-mooney> for exampel we add the AZ to the neutron port in the device_owner filed i belive
14:41:47 tobias-urdin 15:52 < sean-k-mooney> its proably in the cinder attaments somewhere
14:41:47 tobias-urdin 15:52 < sean-k-mooney> its proably in the cinder attaments somewhere
14:42:10 bauzas tobias-urdin: you want to have the scheduler only supporting hosts from the AZ
14:42:10 bauzas tobias-urdin: you want to have the scheduler only supporting hosts from the AZ
14:42:20 bauzas if so, first modify the Request AZ
14:42:20 bauzas if so, first modify the Request AZ
14:42:34 bauzas and then you'll move the instance to a host
14:42:34 bauzas and then you'll move the instance to a host
14:42:40 openstackgerrit Merged openstack/nova-specs master: Trival change:Correct the link url https://review.opendev.org/c/openstack/nova-specs/+/789485
14:42:40 openstackgerrit Merged openstack/nova-specs master: Trival change:Correct the link url https://review.opendev.org/c/openstack/nova-specs/+/789485
14:42:57 bauzas so, you could look whether we duplicated this field
14:42:57 bauzas so, you could look whether we duplicated this field
14:43:09 bauzas or whether it's just a field that's changed, like instance.az
14:43:09 bauzas or whether it's just a field that's changed, like instance.az
14:43:20 bauzas and only reflects the az the host currently belongs to
14:43:20 bauzas and only reflects the az the host currently belongs to
14:43:22 openstackgerrit Merged openstack/nova-specs master: setup.cfg: Replace dashes with underscores https://review.opendev.org/c/openstack/nova-specs/+/789475
14:43:22 openstackgerrit Merged openstack/nova-specs master: setup.cfg: Replace dashes with underscores https://review.opendev.org/c/openstack/nova-specs/+/789475
14:46:31 tobias-urdin got it, thanks
14:46:31 tobias-urdin got it, thanks
14:46:33 tobias-urdin * tobias-urdin out
14:48:22 openstackgerrit Merged openstack/nova-specs master: Repropose smartnic support spec https://review.opendev.org/c/openstack/nova-specs/+/783632
14:48:22 openstackgerrit Merged openstack/nova-specs master: Repropose smartnic support spec https://review.opendev.org/c/openstack/nova-specs/+/783632
14:54:24 openstackgerrit Balazs Gibizer proposed openstack/nova-specs master: Allow provider re-parenting in placement https://review.opendev.org/c/openstack/nova-specs/+/788243
14:57:52 bauzas * bauzas needs to look at some specs :)
16:31:20 openstackgerrit John Garbutt proposed openstack/nova master: Add stub unified limits driver https://review.opendev.org/c/openstack/nova/+/712137
16:31:20 openstackgerrit John Garbutt proposed openstack/nova master: Add stub unified limits driver https://review.opendev.org/c/openstack/nova/+/712137
16:31:28 openstackgerrit John Garbutt proposed openstack/nova master: Assert quota related API behavior when noop https://review.opendev.org/c/openstack/nova/+/712140
16:31:28 openstackgerrit John Garbutt proposed openstack/nova master: Assert quota related API behavior when noop https://review.opendev.org/c/openstack/nova/+/712140
16:40:29 openstackgerrit John Garbutt proposed openstack/nova master: Make unified limits APIs return reserved of 0 https://review.opendev.org/c/openstack/nova/+/712141
16:40:29 openstackgerrit John Garbutt proposed openstack/nova master: Make unified limits APIs return reserved of 0 https://review.opendev.org/c/openstack/nova/+/712141
16:43:53 openstackgerrit John Garbutt proposed openstack/nova master: Add logic to enforce local api and db limits https://review.opendev.org/c/openstack/nova/+/712139
16:43:53 openstackgerrit John Garbutt proposed openstack/nova master: Add logic to enforce local api and db limits https://review.opendev.org/c/openstack/nova/+/712139
16:49:18 openstackgerrit Merged openstack/python-novaclient master: setup.cfg: Replace dashes with underscores https://review.opendev.org/c/openstack/python-novaclient/+/789477
16:49:18 openstackgerrit Merged openstack/python-novaclient master: setup.cfg: Replace dashes with underscores https://review.opendev.org/c/openstack/python-novaclient/+/789477
16:54:36 openstackgerrit Merged openstack/nova-specs master: Adds spec for supporting @ and . in keypair name https://review.opendev.org/c/openstack/nova-specs/+/785674
16:54:36 openstackgerrit Merged openstack/nova-specs master: Adds spec for supporting @ and . in keypair name https://review.opendev.org/c/openstack/nova-specs/+/785674
17:20:53 openstackgerrit John Garbutt proposed openstack/nova master: Enforce api and db limits https://review.opendev.org/c/openstack/nova/+/712142
17:20:53 openstackgerrit John Garbutt proposed openstack/nova master: Enforce api and db limits https://review.opendev.org/c/openstack/nova/+/712142
19:30:12 BLZbubba is there a way to speed up "openstack image create"? uploading a 100G raw image to a ceph backend takes almost an hour
19:30:13 BLZbubba is there a way to speed up "openstack image create"? uploading a 100G raw image to a ceph backend takes almost an hour
19:32:15 openstackgerrit John Garbutt proposed openstack/nova master: Update quota_class APIs for db and api limits https://review.opendev.org/c/openstack/nova/+/712143
19:32:15 openstackgerrit John Garbutt proposed openstack/nova master: Update quota_class APIs for db and api limits https://review.opendev.org/c/openstack/nova/+/712143

Earlier   Later