Replies: 15 comments 5 replies
-
Have you got the nexus package mirror installed? The Linux VMs use it to access apt packages. |
Beta Was this translation helpful? Give feedback.
-
Yes nexus installed. I tried redeploying and creating the service. Deleted and created a new Linix vm. Still can't connect to it with guacamole. I have logged into the nexus admin vm. I can run sudo apt get ... and it seems to work ok. Guacamole still gives the red 'desktop server is currently unavailable' error if I try to connect to a project vm though. I can't get the secret to try to login via the azure portal to check logs on the vm as the kv is locked down by network access. Reluctant to mess about with that if the guacamole problem is something obvious to someone. I noticed a couple of things that look a bit odd on the nexus service and nexus vm although maybe not related
|
Beta Was this translation helpful? Give feedback.
-
Can you check the cloud init logs on nexus and the linux VM? https://microsoft.github.io/AzureTRE/unreleased/troubleshooting-faq/cloud-init/ It could be is an issue with your nexus deployment, can you bring up nexus in a browser from your Windows VM? |
Beta Was this translation helpful? Give feedback.
-
Yes I can bring up nexus in a browser from a Windows vm connection. I guess I need to edit the kv access policy and network access to allow me to copy the secret for a problem linux vm? I don't have any other access. Is that wehere I need to look at the cloud-init logs and scripts? |
Beta Was this translation helpful? Give feedback.
-
I typically reset the VM credentials/create a new user via the portal menu to troubleshoot, then use serial console to login and view the logs. It's odd that Nexus is up, but the Linux VM is failing somewhere. Imagine something transient is going on. |
Beta Was this translation helpful? Give feedback.
-
To reset the vm credentials to something known.. whats the best way to do that?. Looked at the reset password script but wasn't sure how to specify username on the vm without having access |
Beta Was this translation helpful? Give feedback.
-
As below: |
Beta Was this translation helpful? Give feedback.
-
Hmm ok, so running the cloud init scripts manually worked. Was asked to replace a key.... yes. Let it run through and then tested the guacamole connection... ya dancer, it worked! Checking the log beforehand I saw "failed to connect to nexus-xxxx.cloudapp.azure.com port 443 connection refused, no valid OpenPGP found" Every one of my Linux vm's has this problem, windows work fine. What's failing in the deploy that creates the pgp stuff for linix? |
Beta Was this translation helpful? Give feedback.
-
So the same happens with a new Linux VM? When you browse to nexus is the SSL certificate in the browser valid? In the install scripts you create a certificate using the certs service, and pass the details to Nexus. Can you check the logs for cloud-init on Nexus? Maybe the cert install failed. Actually we did have a recent issue that only occasionally appears, fixed in main, #3492, but isn't in a release yet, but will be in the coming weeks, maybe you are seeing this. I'm thinking it must be. |
Beta Was this translation helpful? Give feedback.
-
so
Running the scripts allows the guacamole connection to work. The Linux DSVM image complains about docker when I run the init script and then doesn't have the dsvm apps for the dsvm image. Don't know if this is related.
|
Beta Was this translation helpful? Give feedback.
-
The plain ubuntu had the same guacamole issue but now, as if by magic... deploys and connects. Attached is the cloud-init log from the linux dsvm that doesn't load the data science tools. |
Beta Was this translation helpful? Give feedback.
-
Thanks, yes, something not right with the docker daemon config on the vm so I'll have a closer look at that. Looking at custom images is next on my list but I haven't found any starter documentation for creating them. I can see the template structure but it looks a bit daunting to try to create that from scratch! |
Beta Was this translation helpful? Give feedback.
-
PS: same experience here + with at least one customer. Will try some of the suggestions outlined. |
Beta Was this translation helpful? Give feedback.
-
@bwiseman apologies for the delay, this could be related to this : #3642 Seems new nexus deploys are failing. For future, if you hit issues, it's best to create an Issue rather than discussion, as they are triaged etc. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the link... I just assumed I was doing something wrong
(usually the most likely assumptions are the best). I'll check out the
nexus issue and fixes.
barbara
…On 2023-08-03 09:20, Marcus Robinson wrote:
@bwiseman [1] apologies for the delay, this could be related to this :
#3642 [2]
Seems new nexus deploys are failing.
For future, if you hit issues, it's best to create an Issue rather
than discussion, as they are triaged etc. Thanks.
--
Reply to this email directly, view it on GitHub [3], or unsubscribe
[4].
You are receiving this because you were mentioned.Message ID:
***@***.***>
Links:
------
[1] https://github.com/bwiseman
[2] #3642
[3]
#3612 (comment)
[4]
https://github.com/notifications/unsubscribe-auth/AHQNUARWSEJSPXE5DRFY34DXTNNMPANCNFSM6AAAAAA2IQWFKU
|
Beta Was this translation helpful? Give feedback.
-
Have a proof of concept TRE up and running. Windows vm look fine,. My Linux vm deploy with no errors but when I try to connect I get a flash of 'connected to guacamole' and then a red screen saying 'the remote desktop server is currently unreachable'.
The vm is in the same workgroup and same project as the windows vm. I'm accessing it as the same user with tre user, workspace researcher and owner permissions. Looked at some logs on azure and api/docs but couldn't see anything. It feels like I've missed something simple in the deployment for permissions?
make user_resource_bundle BUNDLE=guacamole-azure-linuxvm WORKSPACE_SERVICE=guacamole
and then created the user resourcet.
Are there guacamole logs hiding somewhere in the TRE or Azure?
I had a look at Virtual Machine User Login role but that didn't change anything. Assignments look the same between linux and windows. Tried updating, restarting, logging off/on. I haven't dropped it from a height yet... that's next level
Beta Was this translation helpful? Give feedback.
All reactions