Skip to content

octavia: http_version monitor field must have float type #3355

Closed

Description

@kayrus

the http_version introduced in #3180 has a bug, this field must be float

see also terraform-provider-openstack/terraform-provider-openstack#1800

Activity

  1. pierreprinetti commented on Apr 28, 2025

    @pierreprinetti
    Member

    Why would http_version be a numeric type? There is no guarantee that version strings, including HTTP's, will always be parseable as decimal numbers.

  2. kayrus commented on Apr 28, 2025

    @kayrus
    ContributorAuthor

    it has a float type in API ref. And in order to keep backward compatibility and transparency, I made internal conversion of the type, and users can still use string type in SDK. I also added acceptance tests and they seem to work ok in all openstack versions. The only thing is that all lbaas acceptance tests against master branch are failing, this is not related to the fix. I guess something is broken in octavia master.

    UPD: see also #2282 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions