Abdullah Amer (NOAA Affiliate) activity https://gitlab.com/abdullah.amer 2026-03-05T20:37:11Z tag:gitlab.com,2026-03-05:5172614293 Abdullah Amer (NOAA Affiliate) commented on issue #1223 at GitLab.org / GitLab Environment Toolkit 2026-03-05T20:37:11Z abdullah.amer Abdullah Amer (NOAA Affiliate)

I have to open the MR, as in write the code myself?

tag:gitlab.com,2026-03-04:5168014453 Abdullah Amer (NOAA Affiliate) commented on issue #1223 at GitLab.org / GitLab Environment Toolkit 2026-03-04T20:32:36Z abdullah.amer Abdullah Amer (NOAA Affiliate)

Hi @grantyoung. We need this capability in order to add a base access security group to all our Gitlab instances. This is a standard operating procedure as we use this security group to allow access to our scanner to scan all our instances.

tag:gitlab.com,2026-03-03:5162765129 Abdullah Amer (NOAA Affiliate) opened issue #1223: Allow the GitLab Terraform module to support specifying security groups for **all** instance types, not ju... 2026-03-03T16:42:28Z abdullah.amer Abdullah Amer (NOAA Affiliate) tag:gitlab.com,2026-02-18:5118522283 Abdullah Amer (NOAA Affiliate) commented on issue #1205 at GitLab.org / GitLab Environment Toolkit 2026-02-18T21:06:16Z abdullah.amer Abdullah Amer (NOAA Affiliate)

@grantyoung it works when I set the following variables in each environment's var.yml file:

ansible_command_timeout: 3600 ansible_aws_ssm_timeout: 1200

tag:gitlab.com,2026-02-17:5113474511 Abdullah Amer (NOAA Affiliate) commented on issue #1205 at GitLab.org / GitLab Environment Toolkit 2026-02-17T17:34:50Z abdullah.amer Abdullah Amer (NOAA Affiliate)

@grantyoung Yes I did upgrade to 3.9. Here is the output when I run the commands you provided:

Time sudo gitlab-rails runner 'env_settings = ApplicationSetting.last.attributes.select{|k,v| !k.include?("encrypted")}; env_settings["current_license_plan"]= defined?(License) ? License.current&.plan : nil; puts env_settings["current_license_plan"].inspect; puts env_settings.keys.size' nil 672 real 1m6.967s user 0m0.019s sys 0m0.042s

So it appears that it's able to reach it and return the values however it takes 1 minute & 7 seconds. Is that the reason, that it is above the time out limit?

tag:gitlab.com,2026-02-17:5113211353 Abdullah Amer (NOAA Affiliate) commented on issue #1205 at GitLab.org / GitLab Environment Toolkit 2026-02-17T16:24:38Z abdullah.amer Abdullah Amer (NOAA Affiliate)

Hi @grantyoung, I tried to upgrade Gitlab-community right now but ran into the license issue again. Do I have to set some ansible variable as well to avoid the issue? I should clarify that although this is our community edition, we are still running the gitlab enterprise (without any licenses) in the servers in order to take advantage of the upgraded features. Might this be a factor in the issue?

TASK [post_configure : Get and save Environment Settings and License plan via GitLab Rails] ******************************************************************
[ERROR]: Task failed: EXEC command 'printf '%s\n' 'NuRQmIHmavEMvCoOfOFzmFLsLr';
echo | sudo -H -S -n  -u root /bin/sh -c 'echo BECOME-SUCCESS-diuoagnwaxlnzkuxjedlbggnjahewafm ; /usr/bin/python3.9 /home/centos/.ansible/tmp/ansible-tmp-1771344496.0495565-3496-23498072594809/AnsiballZ_command.py';
printf '\n%s\n%s\n' "$?" 'VHzJroAUbEwCoKRYcnhzFqsigm';
' timeout on host: i-09edb8e87e301d9dc
Origin: /gitlab-environment-toolkit/ansible/roles/post_configure/tasks/main.yml:59:7

57 - name: Get and save Environment Settings and License details
58   block:
59     - name: Get and save Environment Settings and License plan via GitLab Rails
         ^ column 7

fatal: [localhost -> gitlab-community-dev-gitlab-rails-2]: UNREACHABLE! => {"changed": false, "msg": "Task failed: EXEC command 'printf '%s\\n' 'NuRQmIHmavEMvCoOfOFzmFLsLr';\necho | sudo -H -S -n  -u root /bin/sh -c 'echo BECOME-SUCCESS-diuoagnwaxlnzkuxjedlbggnjahewafm ; /usr/bin/python3.9 /home/centos/.ansible/tmp/ansible-tmp-1771344496.0495565-3496-23498072594809/AnsiballZ_command.py';\nprintf '\\n%s\\n%s\\n' \"$?\" 'VHzJroAUbEwCoKRYcnhzFqsigm';\n' timeout on host: i-09edb8e87e301d9dc", "unreachable": true}
tag:gitlab.com,2026-01-27:5038785998 Abdullah Amer (NOAA Affiliate) commented on issue #1205 at GitLab.org / GitLab Environment Toolkit 2026-01-27T17:04:25Z abdullah.amer Abdullah Amer (NOAA Affiliate)

Hi Grant, thank you for looking over this and getting it fixed. And no, this has been an ongoing issue for a few versions now. I've worked around by excluding certain trivial tasks however this was not ideal. Glad to hear it will be fixed.

tag:gitlab.com,2026-01-26:5033911668 Abdullah Amer (NOAA Affiliate) commented on issue #1205 at GitLab.org / GitLab Environment Toolkit 2026-01-26T15:36:00Z abdullah.amer Abdullah Amer (NOAA Affiliate)

Yes this has worked fine for us before.

tag:gitlab.com,2026-01-22:5023318521 Abdullah Amer (NOAA Affiliate) commented on issue #1205 at GitLab.org / GitLab Environment Toolkit 2026-01-22T17:29:22Z abdullah.amer Abdullah Amer (NOAA Affiliate)

@grantyoung This Error occurred again except it only happens on our community edition, not our licensed edition. Does this have to do with the fact that our community edition does not contain a license?

[ERROR]: Task failed: EXEC command 'printf '%s\n' 'IVphEoOQgUtoMFFtdKIBBbNmTC';
echo | sudo -H -S -n  -u root /bin/sh -c 'echo BECOME-SUCCESS-rzcqbrtbopjclqrkuqzzqdiphqgyemin ; /usr/bin/python3.9 /home/centos/.ansible/tmp/ansible-tmp-1769102209.2155304-13312-153566639302210/AnsiballZ_command.py';
printf '\n%s\n%s\n' "$?" 'yxsrnHvdfDrOXscPVyaOEilRqh';
' timeout on host: i-09edb8e87e301d9dc
Origin: /gitlab-environment-toolkit/ansible/roles/post_configure/tasks/main.yml:54:7

52 - name: Get and save Environment Settings and License details
53   block:
54     - name: Get and save Environment Settings and License plan via GitLab Rails
         ^ column 7

fatal: [localhost -> gitlab-community-dev-gitlab-rails-2]: UNREACHABLE! => changed=false
  msg: |-
    Task failed: EXEC command 'printf '%s\n' 'IVphEoOQgUtoMFFtdKIBBbNmTC';
    echo | sudo -H -S -n  -u root /bin/sh -c 'echo BECOME-SUCCESS-rzcqbrtbopjclqrkuqzzqdiphqgyemin ; /usr/bin/python3.9 /home/centos/.ansible/tmp/ansible-tmp-1769102209.2155304-13312-153566639302210/AnsiballZ_command.py';
    printf '\n%s\n%s\n' "$?" 'yxsrnHvdfDrOXscPVyaOEilRqh';
    ' timeout on host: i-09edb8e87e301d9dc
  unreachable: true
tag:gitlab.com,2026-01-22:5023251562 Abdullah Amer (NOAA Affiliate) commented on issue #1205 at GitLab.org / GitLab Environment Toolkit 2026-01-22T17:09:57Z abdullah.amer Abdullah Amer (NOAA Affiliate)

Yes, it does keep occurring. It is occurring on our gitlab-community edition. I will verify that the error occurs again.

tag:gitlab.com,2026-01-21:5019165577 Abdullah Amer (NOAA Affiliate) commented on issue #1205 at GitLab.org / GitLab Environment Toolkit 2026-01-21T18:31:03Z abdullah.amer Abdullah Amer (NOAA Affiliate)

@grantyoung I edited the vars.yml to include the updated gitlab_rails_local_health_check_url but now it throws the following different error:

[ERROR]: Task failed: EXEC command 'printf '%s\n' 'nXdawwzLjElVeeHtpKCwuCdpfA';
echo | sudo -H -S -n  -u root /bin/sh -c 'echo BECOME-SUCCESS-gkwvwxnfrnsxggpnjakampgvdagdlmzn ; /usr/bin/python3.9 /home/centos/.ansible/tmp/ansible-tmp-1769019759.2281353-8529-272433329736701/AnsiballZ_command.py';
printf '\n%s\n%s\n' "$?" 'KVhazvWzYFXjCJgcNFLaxwIIiK';
' timeout on host: i-09edb8e87e301d9dc
Origin: /gitlab-environment-toolkit/ansible/roles/post_configure/tasks/main.yml:54:7

52 - name: Get and save Environment Settings and License details
53   block:
54     - name: Get and save Environment Settings and License plan via GitLab Rails
         ^ column 7

fatal: [localhost -> gitlab-community-dev-gitlab-rails-2]: UNREACHABLE! => changed=false
  msg: |-
    Task failed: EXEC command 'printf '%s\n' 'nXdawwzLjElVeeHtpKCwuCdpfA';
    echo | sudo -H -S -n  -u root /bin/sh -c 'echo BECOME-SUCCESS-gkwvwxnfrnsxggpnjakampgvdagdlmzn ; /usr/bin/python3.9 /home/centos/.ansible/tmp/ansible-tmp-1769019759.2281353-8529-272433329736701/AnsiballZ_command.py';
    printf '\n%s\n%s\n' "$?" 'KVhazvWzYFXjCJgcNFLaxwIIiK';
    ' timeout on host: i-09edb8e87e301d9dc
  unreachable: true

By the way, I am running this is against our community edition, so we don't have any licenses uploaded to it.

tag:gitlab.com,2026-01-21:5018446719 Abdullah Amer (NOAA Affiliate) commented on issue #1205 at GitLab.org / GitLab Environment Toolkit 2026-01-21T15:30:17Z abdullah.amer Abdullah Amer (NOAA Affiliate)

@grantyoung Alright thank you for letting me know. I will test and let you know.