Problem/Motivation

  • Prevent the following warning from appearing when executing drush cron
    • [warning] Undefined array key "provider:network_type" OpenStackService.php:3870
      [warning] Undefined array key "provider:physical_network" OpenStackService.php:3871
      [warning] Undefined array key "provider:segmentation_id" OpenStackService.php:3872
      
  • If you log in to the CO environment and execute the following command, a warning will appear
    • drush cron && /var/www/cloud_orchestrator/docroot/modules/contrib/cloud/scripts/drush_queue_run.sh

Issue fork cloud-3364325

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hosomitm created an issue. See original summary.

hosomitm’s picture

Status: Active » Needs review

@yas

Please review the code. Thank you.

yas’s picture

Title: Fix OpenStack service provider has undefined key » Fix errors of undefined key in the OpenStack network provider
Status: Needs review » Needs work

@hosomitm

Thank you for the fix. I posted my comments. Thanks!

hosomitm’s picture

Status: Needs work » Needs review

@yas

Thank you for your comment.
I have refactored it.
Please review it again. Thank you.

yas’s picture

Status: Needs review » Reviewed & tested by the community

@hosomitm

Thank you for the update. I ran the BDD testing and it looks good. I'll merge the patch to 5.x and 6.x, and close this issue as Fixed.

  • yas committed d0b6ec9e on 6.x authored by hosomitm
    Issue #3364325 by hosomitm, yas: Fix errors of undefined key in the...

  • yas committed b4d12af7 on 5.x authored by hosomitm
    Issue #3364325 by hosomitm, yas: Fix errors of undefined key in the...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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