Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EVS] V3 API Update #466

Draft
wants to merge 51 commits into
base: devel
Choose a base branch
from
Draft

[EVS] V3 API Update #466

wants to merge 51 commits into from

Conversation

Aloento
Copy link
Member

@Aloento Aloento commented Nov 2, 2022

fix #429

@Aloento Aloento self-assigned this Nov 2, 2022
@Aloento Aloento changed the title [EVS] V2 API Update [EVS] V3 API Update Nov 2, 2022
@Aloento Aloento marked this pull request as ready for review November 9, 2022 12:19
@Aloento Aloento added the enhancement New feature or request label Nov 9, 2022
Name: volumeName,
}

volume1, err := volumes.Create(client, createOpts)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AZ is required parameter for disk: AZ shouldn't be '' or If the AZ does not exist, the disk will fail to create.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Detail: true,
}

allStats, err := schedulerstats.List(blockClient, listOpts)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API does not exist or has not been published in the environment

Copy link
Member Author

@Aloento Aloento Jan 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

skip

blockClient, err := clients.NewBlockStorageV3Client()
th.AssertNoErr(t, err)

allServices, err := services2.List(blockClient, services2.ListOpts{})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API does not exist or has not been published in the environment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

skip

computeClient, err := clients.NewComputeV2Client()
th.AssertNoErr(t, err)

volume, err := blockstorageV3.CreateVolume(t, blockClient)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invalid input received: Availability zone '' is invalid.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

t.Skip("OS_NETWORK_ID env var is missing but ECS test requires using existing network")
}

imageID, err := images.IDFromName(client, "Standard_Debian_10_latest")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this request fails by timeout

Copy link
Member Author

@Aloento Aloento Jan 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cannot make request images.ListDetail: server no response.
hard to fix, still trying.

Copy link
Member Author

@Aloento Aloento Jan 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cannot fix now, do it in another PR.
because API discarded and not working.

client, err := clients.NewBlockStorageV3Client()
th.AssertNoErr(t, err)

volume1, err := CreateVolume(t, client)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above: Invalid input received: Availability zone '' is invalid.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

th.AssertNoErr(t, err)
t.Cleanup(func() { DeleteVolume(t, client, volume1) })

volume2, err := CreateVolume(t, client)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same: Invalid input received: Availability zone '' is invalid.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

openstack/evs/extensions/volumeactions/results.go Outdated Show resolved Hide resolved
openstack/evs/v2/tags/requests.go Show resolved Hide resolved
openstack/evs/v3/volumes/results.go Show resolved Hide resolved
@Aloento Aloento marked this pull request as draft January 3, 2023 14:38
@Aloento Aloento marked this pull request as ready for review January 4, 2023 17:15
@Aloento Aloento marked this pull request as draft January 30, 2023 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EVS] API Updated
2 participants