nodepool/releasenotes/notes
Ian Wienand 46f44b8669
driver/openstack: order flavor results
I hit a situation in a new cloud where I had defined two flavors with
the same amount of RAM "opendev-control" and "opendev".  The config
had min-ram set [1] with a flavor-name of "opendev" -- I expected it
to match the exact name first, but nodepool was choosing
"opendev-control".

I guess the default order returned by the cloud is flavorid [2].  I'd
propose that sorting on a tuple of (ram, name) -- so that we match
names in alphabetical order -- is a more intuitive way to run the
match.

Documentation is updated, and a release note added.

[1] which actually we didn't want, really, because we wanted to
    exactly match the flavor:
     https://review.opendev.org/c/openstack/project-config/+/870677
[2] https://docs.openstack.org/api-ref/compute/?expanded=list-flavors-detail#list-flavors

Change-Id: I268dd598ca9f1b617c5062b41ad27d0305df60b9
2023-01-17 11:57:40 +11:00
..
4-0-0-0d1d67a55c34acff.yaml Require TLS 2021-02-19 18:42:33 +00:00
5-0-0-a2c77dd7e00a243f.yaml Add release note for 5.0.0 2022-01-31 11:18:08 -08:00
801-notes-7532bada7c28e5a3.yaml Add release notes for 8.0.1 2023-01-10 13:48:26 -08:00
aborted-node-status-3fd18d39cb468f8f.yaml Add upgrade release note about aborted node status 2018-07-23 17:06:53 -04:00
add-google-cloud-35295a4cae5aaba7.yaml Fix GCE volume parameters 2020-02-27 09:49:35 -08:00
arm-images-3a83419eb0bbfca6.yaml Build multi-arch images for x86 and arm 2020-04-30 14:22:06 -05:00
aws-driver-6d6c25381066b9ca.yaml Remove prelude from AWS release note 2019-03-08 12:42:03 -08:00
aws-ec2-ebs-optimized-03258a047edb272d.yaml add ebs-optimized support for aws provider 2020-02-04 18:59:24 +01:00
aws-ec2-tags-e267bf8671677ac6.yaml add tags support for aws provider 2020-01-23 10:32:08 +01:00
aws-iops-6f6f54f0b111c13b.yaml Aws: add support for volume iops and throughput 2022-10-14 07:08:30 -07:00
aws-multi-quota-fbddefb56d0694a4.yaml AWS multi quota support 2022-07-25 14:41:07 -07:00
aws-public-ip-d9a7cc9aae98054c.yaml Make public ip configurable in aws 2019-12-21 13:47:08 +01:00
aws-statemachine-64fe9beeef9c24b1.yaml Update AWS driver to use statemachine framework 2022-02-22 17:06:07 -08:00
aws-userdata-0ed096fdce83a2b1.yaml Support userdata for instances in aws 2019-12-21 13:35:00 +01:00
azure-image-filter-d44182130ffb7225.yaml Azure: add image filter 2021-11-27 09:45:19 -08:00
azure-key-253ed608e29b56d9.yaml Azure: switch to Azul 2021-03-08 14:58:31 -08:00
azure-node-attributes-8c3bb8bea3aea287.yaml Support node-attributes in Azure driver 2021-10-15 11:08:24 -07:00
azure-password-c70896bf49deab8a.yaml Add admin password support for Azure driver 2021-11-15 15:58:20 -08:00
azure-shell-type-b6789510e0b1b174.yaml Add shell-type to Azure driver 2021-10-15 12:56:31 -07:00
azure-user-data-0b35b3cb9cca8afd.yaml Add user-data/custom-data to Azure driver 2021-10-18 16:32:49 -07:00
build-requests-stats-789188316aa9831a.yaml Add nodepool.image_build_requests metric 2022-06-21 14:52:53 -07:00
build-result-metrics-deb2aaa329830f8a.yaml Add metric for image build result 2018-09-05 09:39:47 +02:00
build-timeout-bb68a1fd24f97a10.yaml Revert "Revert "Add a timeout for the image build"" 2019-01-31 11:36:47 -05:00
component-registry-327e1ade02155e39.yaml Add the component registry from Zuul 2022-05-23 07:41:27 -07:00
config-env-substitution-ef203b725fd05168.yaml config: add environment variable substitution 2020-05-20 11:44:49 +00:00
default-format-fb859338909defb9.yaml Fix adding qcow2 format without need 2018-06-06 21:58:21 +02:00
deleted-node-state-c9c8bd3cbaf04452.yaml Add an upgrade release note for schema change 2018-12-05 13:51:52 -05:00
dib_cmd-484e473de8454679.yaml Add a dib-cmd option for diskimages 2019-08-22 10:09:00 +10:00
dib-stats-update-c4efeab13753e090.yaml Update dib stats 2019-02-22 13:26:05 +11:00
diskimage-connection-port-f53b0a9c910cb393.yaml Add connection-port to provider diskimage 2018-04-03 17:48:52 +02:00
diskimages-parent-182d518232b5649b.yaml Add parent and abstract flags for diskimages 2020-03-20 07:53:08 +11:00
dynamic-tags-693c8f61f74600c1.yaml Add support for dynamic tags 2022-08-23 11:06:55 -07:00
export-image-data-3c46d79d5b5fd5bd.yaml Add commands to export/import image data from ZK 2021-08-24 10:28:39 -07:00
fix-ignore-provider-quota-e7e5efd6f8ffb4a0.yaml Fix ignore_provider_quota in statemachine drivers 2022-06-29 10:47:49 -07:00
fix-k8s-conf-loading-a54a371a3392f665.yaml kubernetes: handle situation where the configuration is empty 2021-07-08 12:54:16 -07:00
flavors-alphabetical-fdf2196d64e7eb00.yaml driver/openstack: order flavor results 2023-01-17 11:57:40 +11:00
handle-new-k8s-rbac-api-a2fa70f67c4b5362.yaml Update releasenotes to capture python3.8 requirement 2022-05-06 13:48:06 -07:00
ignore-provider-quota-aa19e7a7271ee106.yaml Add ability to ignore provider quota for a pool 2018-07-11 17:37:55 +00:00
image-status-bedca1dd0184c14b.yaml Convert dib-request-list to image-status command 2022-06-21 14:12:22 -07:00
image-tags-ab4f97efdf46e196.yaml Allow specifying diskimage metadata/tags 2022-08-23 06:39:08 -07:00
imagepullsecrets-d528b9610a1e0fdc.yaml Add option of configuring imagePullSecrets for openshift drivers 2022-01-11 14:19:29 +01:00
k8s-in-cluster-config-e9a711d20faac949.yaml Update documentation for k8s in-cluster config 2019-07-02 06:50:19 -07:00
k8s-provider-node-selector-6a16173ac11af61e.yaml OpenShift/k8s Provider: Basic Support for k8s nodeSelectors 2020-08-14 16:39:04 +02:00
k8s-provider-pass-env-vars-cb06646fe90ece93.yaml OpenShift/k8s Provider: Allow passing env vars to Pods 2020-07-13 17:11:01 +02:00
k8s-provider-remove-default-workdir-21df518c822b2914.yaml k8s/OpenShift Provider: Remove workingDir Attribute 2020-11-02 10:23:12 +01:00
kazoo-upgrade-fa2cb27bfc5e13f7.yaml Add release note about kazoo upgrade 2020-07-23 12:59:24 -07:00
kubernetes-default-limits-f4bcc430a6274043.yaml Fix typo in release notes 2022-06-17 10:55:13 -07:00
kubernetes-storage-limit-c87497ac74a10d96.yaml Add config option to limit ephemeral storage on K8s Pod labels 2022-10-13 13:56:43 +02:00
label-stats-1059f87162e461e1.yaml Initialize label statistics to zero 2018-10-18 15:45:42 +02:00
leaked-ports-metric-31c6c4841ea7dac0.yaml Logs stats for nodepool automated cleanup 2020-04-15 14:48:36 +02:00
multilabel-999f0d38d02848a2.yaml Add release note about upgrading for multi-label 2018-06-08 16:11:15 -04:00
multiline-logging-b55f038e1077c7bb.yaml Format multi-line log entries 2021-03-05 13:34:19 -08:00
node-metadata-e1e822b49464f51a.yaml Add arbitrary node attributes config option 2018-11-29 09:35:59 -05:00
nodepool-list-pool-detail-680f47814fd51427.yaml status: add pool column to nodepool list output 2018-07-15 23:07:22 +00:00
nova-microversions-dda7d76a7c2b8355.yaml kubernetes: add release note about service account token issue 2020-01-24 20:20:48 +00:00
openshift-driver-fdef4199b7b73fca.yaml Implement an OpenShift resource provider 2019-01-10 05:05:46 +00:00
openshiftpods-driver-fc72090d0ac0d670.yaml Implement an OpenShift Pod provider 2019-05-07 02:25:15 +00:00
openstack-driver-labels-host-key-checking-f102c013040f5f15.yaml Toggle host-key-checking for openstack provider.labels 2019-06-06 14:15:53 -04:00
openstack-driver-labels-networks-0422c3227a8f07c6.yaml Allow openstack provider labels to configure networks 2019-04-29 17:31:50 -04:00
openstack-server-properties-c3dc0a8685c2da34.yaml Add release note for instance-properties config 2018-09-24 11:10:15 -07:00
openstack-statsd-ff1abe1a46794490.yaml Remove statsd args to OpenStack API client call 2021-04-20 10:19:37 +10:00
openstacksdk-stats-fix-f0f8da97cfd52328.yaml Use openstacksdk submit_task 2018-11-09 07:28:38 +11:00
paused-handler-fix-6c4932dcf71939ba.yaml Add release note for paused handler fix 2018-06-20 07:53:59 -04:00
pin-openshift-dependency-0.8.9-eafedef07c849567.yaml Add release note about pinning openshift client 2019-06-20 10:59:01 -04:00
port-cleanup-667d476437f03358.yaml Revert "Revert "Cleanup down ports"" 2019-01-18 15:03:55 +01:00
post-upload-hooks-0922720625eaf396.yaml Add missing release notes 2019-12-09 21:04:58 +01:00
priority-cb2f0ad1829fbaaf.yaml Add provider/pool priority support 2022-05-23 13:28:21 -07:00
python-path-auto-83881e94d835ff83.yaml Set default python-path to "auto" 2019-10-17 09:17:50 +11:00
quota-cache-timestamp-fix-c4edf9dc08e0eb8b.yaml Do not reset quota cache timestamp when invalid 2022-05-10 15:04:25 -05:00
ready-endpoint-064e8516190567d6.yaml Add ready endpoint to webapp 2019-12-21 10:06:55 +00:00
remove-diskimage-meta-checks-90f705903000eece.yaml openstack: Remove metadata limit checks 2022-05-23 11:44:19 -05:00
retention-disable-ac0c43d3912c1311.yaml Allow disabling build-log-retention 2020-04-29 13:07:07 +10:00
secure-dib-env-c6013bab90406988.yaml builder: support setting diskimage env-vars in secure configuration 2018-05-29 23:48:13 +00:00
security-group-support.yaml Add support for specifying security_group in nodepool 2018-06-05 10:00:06 +02:00
shell-type-config-ee83971f4cdae0d9.yaml Update docs for shell-type driver config 2021-03-08 14:43:25 -08:00
ssh-protocol-banner-5ddbf9263a950b5c.yaml Add release note for previous commit 2021-07-19 20:03:32 -04:00
static-driver-changes-9692c3ee0dc0bc29.yaml Add release note for static driver changes 2018-06-25 12:15:37 -04:00
static-driver-node-update-02ee5536737b20b8.yaml Update static nodes in Zookeeper on config change 2018-09-03 08:04:50 +02:00
static-driver-windows-cf80096636dbb428.yaml Support winrm hosts in static driver 2018-04-13 11:36:58 -05:00
stats-normalisation-088eae77f7d0c9e8.yaml Normalise more of the API stats calls 2018-09-28 18:49:30 +10:00
task-manager-replaced-12e4b3a0108f9358.yaml Remove TaskManager and just use keystoneauth 2019-04-02 09:36:13 +00:00
tenant-scoped-resource-limits-7d0dcc3d6e279334.yaml Add Tenant-Scoped Resource Quota 2021-09-01 09:07:43 +02:00
unmanaged_image_id-cf916620abc630e4.yaml Fix for referencing cloud image by ID 2018-07-03 15:26:33 -04:00
update-min-sdk-version-be01a16f36ccf92f.yaml Bump minimum openstacksdk version to 0.17.2 2018-08-07 14:15:04 -04:00
zk-ipv6-literal-157af417eef9dc6a.yaml Handle ipv6 literal zookeeper addresses 2020-05-04 06:52:07 -07:00
zk-timeout-bede88920e248c96.yaml Add zookeeper-timeout connection config 2022-02-23 23:01:11 +01:00
zk-tls-885f8f0ea9f2efa2.yaml Add ZooKeeper TLS support 2020-04-14 16:03:53 -07:00