Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

nova server details always return hard coded flavor id '1' #98

Description

@ajiang38740

Saw issue #87 and #27 regarding flavor discussion.

I am not sure how this problem fits into those 2 problems. The issue I ran into
is nova boot with --flavor-id will create a CCI VS with some flavor. But when you show
the server details, it is always return flavor 1, which is hardcoded.

What I have done is to save the flavor id in the userData json structure that is
passed to the create_instance() and retrieve back when show the server details.

At least this way, it can show the used flavor properly.

I am not sure whether using userData is a desired approach from SL CCI point of view.

Please let me know whether I should submit such patch.

Alan

Activity

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