Skip to content

Commit a86bc3b

Browse files
committed
DLPX-74859 Stack fails to come up for GCP engines because delphix-platform service failed
1 parent 2b726f4 commit a86bc3b

File tree

2 files changed

+5
-14
lines changed
  • files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform

2 files changed

+5
-14
lines changed

files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/handlers/main.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717

1818
---
1919
#
20-
# Apply any changes made to the override instance config file. This
20+
# Apply any changes made to the instance config file. This
2121
# can only be done when we're on a running gcp instance.
2222
#
23-
- command: /usr/bin/google_instance_setup
23+
- systemd:
24+
name: google-guest-agent
25+
state: restarted
2426
listen: "gcp config changed"
2527
when: ansible_virtualization_type != "systemd-nspawn" and not ansible_is_chroot

files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -303,11 +303,8 @@
303303
#
304304
# Customize the GCP linux environment.
305305
#
306-
# Update the override file for the GCP instance. This file gets
307-
# applied dynamically by running google_instance_setup script.
308-
#
309306
- blockinfile:
310-
path: /etc/default/instance_configs.cfg.template
307+
path: /etc/default/instance_configs.cfg
311308
create: yes
312309
block: |
313310
#
@@ -328,14 +325,6 @@
328325
- platform == "gcp"
329326
notify: "gcp config changed"
330327

331-
#
332-
# Make sure that the account daemon is always disabled. The override file
333-
# above should prevent this and this is designed to catch any corner cases.
334-
#
335-
- command: systemctl disable google-accounts-daemon.service
336-
when:
337-
- platform == "gcp"
338-
339328
#
340329
# We want the ssh service to start as early as possible during boot up,
341330
# so we explicitly remove all dependencies of the service here. We've

0 commit comments

Comments
 (0)