/
How-to Troubleshoot Ubuntu Pro

How-to Troubleshoot Ubuntu Pro

Frequently Asked Questions (FAQ)

 

1. Invalid Token error when running command: sudo pro attach $(vmware-rpctool "info-get guestinfo.ut.vss.ubuntu_pro.token")

Solution:

Ensure the virtual machine is running on any of the clusters listed above.

vss-cli compute vm get {vm_id-or-name} domain

output:

MOREF : domain-c5877 NAME : FD3

 

Run the following command through the vss-cli to attach Ubuntu Pro to your virtual machine

vss-cli --wait compute vm set {vm_id-or-name} ubuntu-pro attach

output:

id : B399A status : SUBMITTED task_id : 29870123-XXXX-4a03-894a-f350481XXXXX message : Request has been accepted for processing ⏳ Waiting for request B399A to complete... 🎉 Request B399A completed successfully: warnings : Ubuntu Pro settings have been re-applied. errors :

 

Once you receive the confirmation that the Ubuntu Pro token is set up, proceed with updating packages on the desired virtual machine using the following commands:

sudo apt install ubuntu-advantage-pro ubuntu-advantage-tools sudo pro attach $(vmware-rpctool "info-get guestinfo.ut.vss.ubuntu_pro.token")

2. Error: Failed to attach machine. See https://ubuntu.com/pro/dashboard" 

Solution:
Ensure you can connect to the contract url: https://vss-ubuntu-pro.eis.utoronto.ca

Try the following command:

curl https://vss-ubuntu-pro.eis.utoronto.ca

output:

404 page not found

 

If your output is different, this means that you have a firewall or proxy configuration that is not allowing you to connect to our Ubuntu Pro instance. Feel free to contact us to troubleshoot further this issue.

Related content

University of Toronto - Since 1827