Skip to content

C2DEVEL-13229: update to version 1.19#8

Open
CrocBomber wants to merge 44 commits intorelease-1.19from
c2-over-v1.19
Open

C2DEVEL-13229: update to version 1.19#8
CrocBomber wants to merge 44 commits intorelease-1.19from
c2-over-v1.19

Conversation

@CrocBomber
Copy link
Owner

Is this a bug fix or adding new feature?

What is this PR about? / Why do we need it?

What testing is done?

Alexandr Chernev and others added 7 commits June 5, 2023 12:53
AWS ResizeDisk method doesn't work with C2 cloud, because
its EC2 API doesn't implement DescribeVolumesModifications
method, which is used for detecting pending modifications.

The resize functionality for C2 cloud was implemented in
new method: ResizeDiskC2. It checks pending modifications
via ModifyVolume API method.

Now ResizeDiskC2 is used instead of ResizeDisk in all
project (including tests).
Original and target sizes of C2 volumes must be divisible by 8.

Test documentation updates:
1. fix commands for e2e test run: escape "[]" symbols
2. move resize test from "red" to "green"
3. remove duplicates from e2e tests list
cs = f.ClientSet
var err error
snapshotrcs, err = restClient(testsuites.SnapshotAPIGroup, testsuites.APIVersionv1)
snapshotrcs, err = restClient(testsuites.SnapshotAPIGroup, testsuites.APIVersionv1beta1)
Copy link
Owner Author

Choose a reason for hiding this comment

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

Нужна ли здесь beta1

Copy link
Owner Author

Choose a reason for hiding this comment

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

Где-то проскакивал ворнинг

Warning: policy/v1beta1 PodDisruptionBudget is deprecated in v1.21+, unavailable in v1.25+; use policy/v1 PodDisruptionBudget

volumeID = disk.VolumeID
diskSize = fmt.Sprintf("%dGi", defaultDiskSize)
snapshotrcs, err = restClient(testsuites.SnapshotAPIGroup, testsuites.APIVersionv1)
snapshotrcs, err = restClient(testsuites.SnapshotAPIGroup, testsuites.APIVersionv1beta1)
Copy link
Owner Author

Choose a reason for hiding this comment

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

Нужна ли здесь beta1

Comment on lines +64 to +65
SnapshotAPIVersion = "snapshot.storage.k8s.io/v1beta1"
APIVersionv1beta1 = "v1beta1"
Copy link
Owner Author

Choose a reason for hiding this comment

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

Нужна ли здесь beta1

@CrocBomber CrocBomber changed the title C2 over v1.19 C2DEVEL-13229: update to version 1.19 Jun 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants