Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Change the ID from cloud_server_template to cloud_launch_template.
Comment | File | Size | Author |
---|---|---|---|
#13 | Name_metrics_server___Cloud_Orchestrator.png | 40.6 KB | baldwinlouie |
Issue fork cloud-3225298
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:
Comments
Comment #3
sekinet CreditAttribution: sekinet commented@yas
I have created a patch. Could you please check it?
Comment #4
sekinet CreditAttribution: sekinet commentedComment #5
yas@sekinet
Thank you for the great work. The tests have been passed successfully, I'll merge the patch to
4.x
and close this issue as Fixed.Comment #6
sekinet CreditAttribution: sekinet commented@yas
I added a hook_update_N() to *.install for field updates. Could you please check it?
Comment #7
sekinet CreditAttribution: sekinet commentedComment #8
yas@sekinet
I tried to applied the patch but received the following error:
Could you please rebase the patch?
Comment #9
sekinet CreditAttribution: sekinet commented@yas
Thank you for your confirmation.
I rebased it.
However, I am getting the following error and am debugging it
Comment #10
yas@sekinet
I tried to apply the patch again, but it requires rebasing. Thanks!
Comment #11
sekinet CreditAttribution: sekinet commented@yas
Thank you for your comment.
I rebased it.
However, I am getting the following error. I think this is probably the last error.
Comment #12
sekinet CreditAttribution: sekinet commented@yas
I have created a patch. Could you please check it?
Thanks.
Comment #13
baldwinlouie CreditAttribution: baldwinlouie commented@sekinet and @yas, Thank you for this patch. It is a large one. I posted my concerns above. Basically, I'm concerned with one use case. If the system already Launch Templates for k8s, openstack, terraform, after running `drush updb -y`, all the data in the fields are lost.
For example, I had a Launch template for K8s. After updating, I get the following screenshot.
Because of that, I get the following PHP error as well.
Let me know your thoughts.
Comment #14
yas@sekinet @baldwinlouie
I added my comments (same ones). What do you think?
Comment #15
sekinet CreditAttribution: sekinet commented@yas @baldwinlouie
Thank you for your comment.
I will fix it with refer to aws_cloud_update_8216().
Comment #16
sekinet CreditAttribution: sekinet commented@yas @baldwinlouie
Thank you for the comments. I've fixed it, could you please check it?
Thanks.
Comment #17
yas@sekinet
I posted my comment about the following insertion. Do we need to add that code? Because we have
CloudService::addFields()
andCloudService::deleteFields()
.Comment #18
baldwinlouie CreditAttribution: baldwinlouie commented@sekinet813 @yas Thank you for the updated patch. I'm good with the way we are renaming the tables to preserve the data.
Comment #19
yas@baldwinlouie
Thank you for your review. It looks good.
@sekinet
I'll merge the patch after you follow up the patch.
Comment #20
sekinet CreditAttribution: sekinet commented@yas @baldwinlouie
Thank you for the review.
I fixed, Could you please check it?
Comment #21
yas@baldwinlouie
Thank you for your review.
@sekinet
Thank you for the update. It looks good to me now, I'll merge the patch to
4.x
and close this issue as Fixed.Comment #24
yas