Comments

Xiaohua Guan created an issue. See original summary.

xiaohua guan’s picture

Issue summary: View changes
xiaohua guan’s picture

Status: Active » Needs review
StatusFileSize
new9.22 KB

@yas

Please check the patch file. Thanks.

FYI, because I can't access wavelength zones, I can't confirm whether they will be included or not.

Status: Needs review » Needs work

The last submitted patch, 3: 3169601-3.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

xiaohua guan’s picture

StatusFileSize
new9.98 KB
xiaohua guan’s picture

Status: Needs work » Needs review
xiaohua guan’s picture

@yas

Please check the patch file. Thanks.

FYI, because I can't access wavelength zones, I can't confirm whether they will be included or not.

yas’s picture

Status: Needs review » Needs work

@xiaohua-guan

Thank you for supporting the wavelength. The input form works with wavelength AZ.

Only local images are allowed.

However after saving and displaying the form, it shows us-west-2a (usw2-az2). And When I tried at the second time, it displays us-west-2b. That should be us-west-2-wl1-sfo-wlz-1 (usw2-wl1-sfo-wlz1). It looks randomly assigned? Could you please double-check?

Only local images are allowed.
Only local images are allowed.

It is better to show with the format e,g, us-west-2a (usw2-az2) or us-west-2-wl1-sfo-wlz-1 (usw2-wl1-sfo-wlz1).

yas’s picture

@xiaohua-guan

Did they modify the AZ API a little?

https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-availabili...

xiaohua guan’s picture

Status: Needs work » Needs review
StatusFileSize
new15.39 KB
xiaohua guan’s picture

@yas

However after saving and displaying the form, it shows us-west-2a (usw2-az2). And When I tried at the second time, it displays us-west-2b. That should be us-west-2-wl1-sfo-wlz-1 (usw2-wl1-sfo-wlz1). It looks randomly assigned? Could you please double-check?

Sorry, it's a bug. I've fixed it.

It is better to show with the format e,g, us-west-2a (usw2-az2) or us-west-2-wl1-sfo-wlz-1 (usw2-wl1-sfo-wlz1).

I've changed the format. Please check it.

Did they modify the AZ API a little?
https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-availabili...

Sorry I can't find the difference.

Please check the new patch file. Thanks.

yas’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new329.65 KB

@xiaohua-guan

Thank you for fixing the issue. I thought it could be either that issue or spec change by AWS API. I tested the patch and it looks perfect to me now. I'll merge the patch to 8.x-1.x, 8.x-2.x and 3.x and close this issue as Fixed.

90.png

In that case, basically we didn't have to nothing special to change our implementation to support API for wavelength?

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 10: 3169601-10.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

yas’s picture

@xiaohua-guan

...However the test was failing, could you please check it?

xiaohua guan’s picture

Status: Needs work » Needs review
StatusFileSize
new15.48 KB

Status: Needs review » Needs work

The last submitted patch, 15: 3169601-15.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

xiaohua guan’s picture

StatusFileSize
new16.18 KB
xiaohua guan’s picture

Status: Needs work » Needs review
xiaohua guan’s picture

@yas

I fixed the test case errors. Please check the new patch file. Thanks.

yas’s picture

Status: Needs review » Needs work

@xiaohua-guan

Thank you for the update. It looks having some coding standard violations at https://www.drupal.org/pift-ci-job/1814990. Could you please check it?

xiaohua guan’s picture

StatusFileSize
new38.98 KB
xiaohua guan’s picture

Status: Needs work » Needs review
xiaohua guan’s picture

StatusFileSize
new39.95 KB
yas’s picture

Status: Needs review » Reviewed & tested by the community

@xiaohua-guan

Thank you for the update. We tested the patch and it looks good. I'll merge the patch to 8.x-1.x, 8.x-2.x and 3.x and close this issue as Fixed.

  • yas committed bd51b0a on 8.x-1.x authored by Xiaohua Guan
    Issue #3169601 by Xiaohua Guan, yas: Specify an AZ (incl. Wavelength)...

  • yas committed a2e1f70 on 8.x-2.x authored by Xiaohua Guan
    Issue #3169601 by Xiaohua Guan, yas: Specify an AZ (incl. Wavelength)...
yas’s picture

Status: Reviewed & tested by the community » Fixed

  • yas committed 532a36b on 3.x authored by Xiaohua Guan
    Issue #3169601 by Xiaohua Guan, yas: Specify an AZ (incl. Wavelength)...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.