deploy anbox-cloud-dashboard fail on AMI when AMI is already with pro subscription

Bug #2058004 reported by Chuan Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anbox Cloud
Triaged
Undecided
Jatin Arora

Bug Description

A customer tried to deploy anbox-cloud-dashboard 1.21/stable rev 307 on the machine with AMI ami-0c460fdf6a8a1edef, but it failed. The charm hooks fails at

subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install', 'anbox-cloud-dashboard-121']' returned non-zero exit status 100.

Although the machine/image already includes pro subscription, but just doesn't enable anbox-cloud by default.
This results in the client needing to manually enable anbox via 'sudo pro enable --access-only anbox-cloud', in order to have the repo and repo's credential files created.

If charm detects a machine with a pro subscription, it is expected to be able to perform a 'pro enable anbox-cloud' operation automatically.

Tags: sts
Simon Fels (morphis)
Changed in anbox-cloud:
assignee: nobody → Jatin Arora (jatinarora)
Jatin Arora (jatinarora)
Changed in anbox-cloud:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.