-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remote-desktop module should provision remote chromoting tools #1019
Comments
This seems like a bug in the setup process since installing the chromoting tool seems to be part of the startup scripts of the module: |
There seems to be a conflict wrt to apt/dpkg locking in the startup script:
|
maybe there is an option to have ansible try to acquire a lock on the dpkg stuff before running the recipe? |
/cc @nick-stroud |
I suspect this is coming from a conflict with unattended-upgrades holding the lock. We have seen similar before with startup scripts on debian based images. Historically our approach has been to add retries. |
I have added retries that will hopefully prevent failure on this in the future. I have also added an integration test for the chrome-remote-desktop which will help to keep this installation robust to changes. I am going to consider this bug fixed. Please re-open if you feel the fix does not address the bug. |
Released in v1.16.0. |
Describe the bug
After deploying https://github.com/GoogleCloudPlatform/hpc-toolkit/tree/main/community/modules/remote-desktop/chrome-remote-desktop and ssh'ing into the vm instance and running the chromoting setup command snippet according to the provided instructions, the chromoting tools don't seem to be installed on the system.
Steps to reproduce
https://github.com/GoogleCloudPlatform/hpc-toolkit/blob/main/community/modules/remote-desktop/chrome-remote-desktop/README.md#setting-up-the-remote-desktop
Expected behavior
Setup process continue and ask the user to enter a pin.
Actual behavior
The chromoting setup command snippet fails with the following command:
Version (
ghpc --version
)Blueprint
Expanded Blueprint
If applicable, please attach or paste the expanded blueprint. The expanded blueprint can be obtained by running
ghpc expand your-blueprint.yaml
.Disregard if the bug occurs when running
ghpc expand ...
as well.Execution environment
Linux proppy0 5.19.11-1rodete1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 5.19.11-1rodete1 (2022-10-31) x86_64 GNU/Linux
ps -p $$
):82709 pts/2 00:00:00 bash
go version go1.20.1 linux/amd64
Additional context
This can be easily worked around by installing https://dl.google.com/linux/direct/chrome-remote-desktop_current_amd64.deb after ssh'ing in the vm and before running the chromoting setup command snippet.
The text was updated successfully, but these errors were encountered: