Fix an Internal Server Error: "Cannot load cloud service provider plugin". This occurs if you add a cloud service provider with the same cloud_context.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

baldwinlouie created an issue. See original summary.

baldwinlouie’s picture

Status: Active » Needs review
FileSize
7.51 KB

Attaching a patch that relaxes the validation. Previously, the code will check if a cloud_context exists, but only from the same type. (IE, only check for duplicate cloud_context in k8s)

This patch checks the cloud_context against ALL cloud service providers in the system.

yas’s picture

@baldwinlouie

Thank for adding the validation. I tested the patch and it looks good to me. I'll merge the patch to 8.x-1.x and 8.x-2.x and close this issue as Fixed.

k8s.png

openstack.png

vmware.png

Only local images are allowed.

  • yas committed 7cc9526 on 8.x-1.x authored by baldwinlouie
    Issue #3161139 by baldwinlouie, yas: Add better validation when creating...

  • yas committed f232076 on 8.x-2.x authored by baldwinlouie
    Issue #3161139 by baldwinlouie, yas: Add better validation when creating...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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