Closed usshmah closed 1 year ago
Hi @usshmah
I could not replicate the issue with the fresh install.
Generally restarting the install process fixes it. (Option 1: You can delete and create the devportal database from the CloudSQL instance that's the fastest way , Option 2: create a new marketplace instance and delete the old install.)
You will need to delete and recreate the schema from the GCP console > Cloud SQL instance> databases
One can truncate all the tables using drush sql:drop command also sudo vendor/bin/drush sql:drop
@usshmah
I'll recheck the whole flow again and get back to you.
So I left out some details about my attempt at creating the Apigee Drupal DevPortal, we have locked down our organization policies to disable external IP addresses on VMs and required Trusted Images for VMs.
When the Instance Group tries to create the two instances, it fails with violations. However I disabled the externalIpAccess and added project/bap-marketplace to Trusted Images Projects and the two instances were successfully created.
Instance 'apigee-drupal-devportal-1-instance-nvmx' creation failed: Constraint constraints/compute.trustedImageProjects violated for project redacted. Use of images from project bap-marketplace is prohibited.
Instance 'apigee-drupal-devportal-1-instance-nvmx' creation failed: Constraint constraints/compute.vmExternalIpAccess violated for project redacted. Add instance projects/redacted/zones/us-central1-f/instances/apigee-drupal-devportal-1-instance-nvmx to the constraint to use external IP with it.
Since many Google Cloud customers are using Google Cloud Security Foundations and Terraform blueprints, it would be ideal to warn users in Google Cloud marketplace to relax the two constraints before they try to provision it.
Another request is to remove the need for public IP addresses on the two VMs since there is a Load Balancer in front of it which has a public IP, this would remove the need to relax this constraint.
@phdhiren based on your advice, I decided to delete the deployment and recreate it. The process has been very smooth, since I had disabled the external IP constraint and already added bap-marketplace to the trusted images. Thank you very much for your help, I have Apigee Developer Portal up and running.
Issue resolved by making sure that external IP addresses are allowed in organization policies and by adding the projects/bap-marketplace to the trusted images. I had to delete and recreate the deployment.
Description
Provisioning Apigee DevPortal Kickstart on Google Cloud platform returns "Unmet dependencies" on the first step of the installation wizard.
Steps to Reproduce
Actual Behavior
The following error message is displayed.
Expected Behavior
I expected the Wizard to continue to the next step of the Installation which is to Verify Requirements, and then the next steps.
Notes
I tried to visit the
http://ipaddress/core/install.php
again and get the same results.Version Info
NGINX (1.18.0) Drupal (9.4.x) MySQL-Client (8.0.31) PHP (8.1.2) Ops Agent (2.22.0)