Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Xiaohua Guan created an issue. See original summary.

Xiaohua Guan’s picture

Xiaohua Guan’s picture

Status: Active » Needs review
Xiaohua Guan’s picture

@yas

Please review the patch file. Thanks.

FYI, although I think the code should work, but I don't have openstack environment, so I can't confirm it in the REAL environment. Could you run cron job for the openstack enironment?

yas’s picture

Title: Refactor openstack cron job » Refactor OpenStack cron job
FileSize
418.02 KB
2.05 MB

@xiaohua-guan

Thank you for the refactoring. I tested the patch and it looks good to me.

admin_config_services_cloud_openstack_settings.png
reports_dblog.png

One thing that I was concerned is the variable $ec2_service, $ec2_method_name and 'ec2_method_name'. Those prefix can be $openstack_*? $ec2_service can be refactored in all occurrences incl. the existing ones, but limited to the patch, I thought it would be better to put $optnstack_ec2_service. What do you think? (The type of the recent log messages can be also openstack_ec2_service if possible?)

Xiaohua Guan’s picture

FileSize
14.94 KB
Xiaohua Guan’s picture

FileSize
14.95 KB

@yas

I added a prefix openstack_ or openStack. Could you check it? Thanks.

The last submitted patch, 6: 3158962-6.patch, failed testing. View results

yas’s picture

FileSize
2.99 KB

@xiaohua-guan

Thank you for the update. It looks good to me now.

@baldwinlouie

What do you think?

baldwinlouie’s picture

Status: Needs review » Reviewed & tested by the community

@yas and @xiaohua-guan,

The patch looks good to me!

yas’s picture

@baldwinlouie

Thank you for your review. I'll merge the patch to 8.x-1.x and 8.x-2.x and close this issue as Fixed.

  • yas committed 571ff69 on 8.x-1.x authored by Xiaohua Guan
    Issue #3158962 by Xiaohua Guan, yas, baldwinlouie: Refactor OpenStack...

  • yas committed e958842 on 8.x-2.x authored by Xiaohua Guan
    Issue #3158962 by Xiaohua Guan, yas, baldwinlouie: Refactor OpenStack...
yas’s picture

Status: Reviewed & tested by the community » Fixed
yas’s picture

Status: Fixed » Needs review
FileSize
680 bytes

@all Fixing an error of in openstack.install

  • yas committed cbd5ca7 on 8.x-1.x
    Issue #3158962 by Xiaohua Guan, yas, baldwinlouie: Hotfix - Refactor...

  • yas committed 936be1e on 8.x-2.x
    Issue #3158962 by Xiaohua Guan, yas, baldwinlouie: Hotfix - Refactor...
yas’s picture

Status: Needs review » Reviewed & tested by the community

@all I merged the patch since all tests have been passed successfully.

yas’s picture

Status: Reviewed & tested by the community » Fixed
yas’s picture

Status: Fixed » Needs review
FileSize
584 bytes

@all Fixing the description of hook_update_N()

yas’s picture

FileSize
584 bytes

Trying again.

yas’s picture

Status: Needs review » Reviewed & tested by the community

@all I will merge the patch since all tests have been passed successfully.

  • yas committed a22356a on 8.x-1.x
    Issue #3158962 by yas, Xiaohua Guan, baldwinlouie: Refactor OpenStack...

  • yas committed 4f269da on 8.x-2.x
    Issue #3158962 by yas, Xiaohua Guan, baldwinlouie: Refactor OpenStack...
yas’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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