diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 657bebf3d7058d3beb9f8096fcbc0b3a43fb149c..874618f70123e1fa27cee4469773cb74ff5a36d9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -79,6 +79,9 @@ build_cluster_cicd:
     - chmod 400 gc_key.pem
     - echo "$HPCCICD_openrc" > ./$NECTAR_ALLOCATION-openrc.sh
   script:
+    - whoami
+    - apt update
+    - apt upgrade
     - apt install python3-pip
     - pip3 install python-cinderclient python-keystoneclient python-novaclient python-openstackclient PyYAML ansible
     - echo "create stage"
@@ -115,6 +118,9 @@ ansible_create_cluster_stage:
   tags:
   - ansible
   script:
+    - whoami
+    - apt update
+    - apt upgrade
     - apt install python3-pip
     - pip3 install python-cinderclient python-keystoneclient python-novaclient python-openstackclient PyYAML ansible
     - cd CICD