container provisioning failure causes "Node with this Hostname already exists" failure

Bug #1671181 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
John A Meinel

Bug Description

I just worked with Jason Hobbs to investigate a failure of this sort.

The symptom was actually bug #1656326 but this is splitting out the concrete failure that was being masked by that bug.

Specifically, Juju is trying to create a container, it talks to MAAS to register a new 'device' with its MAC address. It then goes to launch the container, and would get a failure from 'lxd forkstart' in this particular case.

It then set the container to failed provisioning, but was prepared to retry provisioning the container.

Juju then tried again to provision the container, and it would go to register the 'new' device with MAAS, but MAAS would return "Node with this Hostname already exists". (bug #1656326 meant that this error would get suppressed and then juju would fall back to using lxdbr0 and you would just end up with a container that would be on the wrong bridge.)

Tags: lxd network maas
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.