Closed (fixed)
Project:
Cloud
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Apr 2021 at 04:29 UTC
Updated:
5 Jul 2021 at 18:54 UTC
Jump to comment: Most recent, Most recent file
Add the identifier to tags in K8s to distinguish multiple Cloud Orchestrator access.
| Comment | File | Size | Author |
|---|
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 commentedComment #4
sekinet commentedComment #5
sekinet commentedComment #6
sekinet commented@yas I have created a patch. Could you please check it?
Comment #7
sekinet commentedComment #8
yas@sekinet
Thank you for the refactoring. It looks good to me.
@xiaohua-guan
What do you think?
Comment #9
xiaohua guan commented@yas @sekinet
I posted my comment. Please check it.
Comment #10
sekinet commented@xiaohua-guan @yas
Thank you for your confirmation. Could you please check that I have corrected it?
Comment #11
sekinet commentedComment #12
yas@sekinet
Thank you for the update. I tested the patch and had the following error.
I think we need to consider the length of
UUID. e.g.k8s_created_by_uidtok8s_created_uid.Comment #13
sekinet commentedComment #14
yas@sekinet
Thank you for the update. I have one comment. Thanks
Comment #15
sekinet commentedComment #16
sekinet commented@yas Thank you for your comments. It has been fixed.
Comment #17
yas@sekinet
Thank you for the update --- Did you update / push the patch into your working branch? I couldn't find the change that I requested.
As I commented above, I suggest the following:
getTagCreatedByUidis common, so we should move it toCloudContentEntityTrait::getTagCreatedByUid($bundle, $cloud_context). ($bundle should be basically equal to a module name.)k8s_form_cloud_config_k8s_add_form_alter(). We need to implement in the tag supported modules such asaws_cloud,k8s, andopenstack.Comment #18
sekinet commentedComment #19
sekinet commentedComment #20
yas@sekinet
Thank you for the update. I posted my comments. Please check the ones. Thanks
Comment #21
sekinet commentedComment #22
sekinet commentedComment #23
sekinet commented@yas Thank you for your comments. Could you please confirm that I have fixed the patch?
Comment #24
yas@sekinet
Thank you for the update. I posted my comments above. Basically we can use a global service container such as
\Drupal::service('cloud')in*.moduleso that we don't have to introduce the new methodCloudContentEntityTrait::getCloudService().Comment #25
sekinet commentedComment #26
sekinet commented@yas Thank you for your comments. Could you please confirm that I have fixed the patch?
Comment #27
yas@sekinet
As per our discussion, please let us change the status to Needs work to double-check AWS tag creation.
Comment #28
sekinet commented@yas After rechecking the AWS tag creation, I created a patch because it needed to be fixed. Could you please check it?
Comment #29
sekinet commentedComment #30
yas@sekinet
Thank you for the update. I tested the patch and it looks good to me. I'll change the status of this issue to RTBC. Please let us hold this patch until we create the
4.xbranch. ThanksComment #31
yasComment #32
sekinet commentedComment #33
sekinet commentedComment #34
sekinet commentedComment #36
sekinet commentedComment #37
yas@sekinet
Thank you for adding the test cases. It looks good to me but one thing that I want ask you is to keep the blank lines in
SecurityGroupTestfor the code readability if you don't have any specific reasons that you removed the ones. ThanksComment #38
sekinet commented@yas Thank you for your comment. I've fixed it, could you please check it?
Comment #39
yas@sekinet
Thank you for the update. It looks good to me to now. I'll change the status of this issue to RTBC. Please let us hold this patch until we create the 4.x branch. Thanks
Comment #40
sekinet commented@yas Added refactor and test cases for openstack. Could you please check it?
Comment #41
sekinet commentedComment #42
sekinet commentedComment #43
sekinet commentedComment #44
sekinet commentedComment #45
sekinet commented@yas Thank you for your comments. I've made the fix, Could you please check it?
Comment #46
yas@sekinet
Thank you for the update. It looks good.
@xiaohua-guan
Could you please review the patch? Thanks
Comment #47
sekinet commentedComment #48
xiaohua guan commented@yas @sekinet
It looks good to me now. Thanks.
Comment #49
sekinet commentedComment #50
sekinet commentedComment #51
yas@sekinet
Thank you for the update. It looks good to me.
@baldwinlouie
What do you think? Thanks
Comment #52
baldwinlouie commented@yas and @sekinet
This is a great patch. I have the above comments.
Comment #53
sekinet commentedComment #54
sekinet commented@baldwinlouie @yas
Thanks to both of you for your comments.
I have fixed it. I also fixed the test module as well because it can be done in
$this->cloudService->getTagCreatedByUid()could you please check it?
Comment #55
yas@baldwinlouie
Thank you for your reivew.
@sekinet
Thank you for the update. It looks good now. I'll change the status to RTBC. I'll merge the patch to
4.xbranch when it's ready.Comment #56
yas@sekinet
The patch is now behind against
HEAD. Could you please rebase and resolve the conflicts? I'll change the status to Needs work. ThanksComment #57
sekinet commentedComment #58
sekinet commented@yas I've rebased and resolved the conflicts. Could you please confirm?
Comment #59
yas@sekinet
Thank you for the update. It looks good. I'll change the status to RTBC. I'll merge the patch to
4.xbranch when it's ready.Comment #60
yasComment #61
yas@sekinet
@all
The patch is now behind against
HEADon 4.x branch. I'll take over to fix and change the status to Needs work. ThanksComment #62
sekinet commented@yas I've rebased and resolved the conflicts. Could you please check it?
Comment #63
yas@sekinet
Thank you for the rebase. It looks good. The tests have been passed successfully, so I'll merge the patch to
4.xand close this issue asFixed.Comment #66
yas