juju bootstrap fails in Azure (BadRequest - The affinity group name is empty or was not specified.)

Bug #1259350 reported by Max Cantor
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Andrew Wilkins

Bug Description

This is not a repeat of #1236136, I am attempting to launch instances in the same region as my storage instance. Tried both East US and West US.

Debug output:

http://pastebin.com/AQArivJz

Revision history for this message
Curtis Hovey (sinzui) wrote :

This may be a duplicate of bug 1236136

tags: added: azure-provider
tags: added: bootstrap
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Curtis Hovey (sinzui) wrote :

Is your "storage-account-name" in the same "location". In early testing, I found I could only bootstrap azure using US West (where the tools were first released tools-url: https://jujutools.blob.core.windows.net/juju-tools/tools) and my storage-account-name had to also be in US West. I can see from the log that Juju search many places for tools, and ultimately selected the location we released tools too, but from my experience, they will only be installed if your location is US West and storage-account-name is also in US West.

Revision history for this message
Max Cantor (max-a) wrote : Re: [Bug 1259350] Re: juju bootstrap fails in Azure (BadRequest - The affinity group name is empty or was not specified.)

It is in the same location and it's not a duplicate of the other bug.

Thanks though.

On Tuesday, December 10, 2013, Curtis Hovey wrote:

> Is your "storage-account-name" in the same "location". In early testing,
> I found I could only bootstrap azure using US West (where the tools were
> first released tools-url: https://jujutools.blob.core.windows.net/juju-
> tools/tools) and my storage-account-name had to also be in US West. I
> can see from the log that Juju search many places for tools, and
> ultimately selected the location we released tools too, but from my
> experience, they will only be installed if your location is US West and
> storage-account-name is also in US West.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1259350
>
> Title:
> juju bootstrap fails in Azure (BadRequest - The affinity group name is
> empty or was not specified.)
>
> Status in juju-core:
> Triaged
>
> Bug description:
> This is not a repeat of #1236136, I am attempting to launch instances
> in the same region as my storage instance. Tried both East US and
> West US.
>
> Debug output:
>
> http://pastebin.com/AQArivJz
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-core/+bug/1259350/+subscriptions
>

--

Max Cantor
*docmunch.com <http://docmunch.com>* - data-driven document management
<email address hidden>
+1 (415) 237-3720
+1 (888) 669-9009x702

Revision history for this message
Andrew Wilkins (axwalk) wrote :

I think I have just reproduced this (at least, I get the same error message, and it's not related to region). Seems to happen if the affinity group already exists. Bootstrap then attempts to delete the affinity group, but this will fail if there's something still referencing it.

Check your Azure console to see if there are any juju-related things hanging around.

Revision history for this message
Richard Harding (rharding) wrote :

I got this in an environment gone south. Destroy environment --force did not clear out the affinity group or the storage container. The container won't be removed manually:

Storage account jujuguieast0 has container(s) which have an active image and/or disk artifacts. Ensure those artifacts are removed from the image repository before deleting this storage account.

This is with no virtual machines in existence. I ended up renaming my environment name and creating a new/different storage container and worked around the old data that I can't remove.

Revision history for this message
Andrew Wilkins (axwalk) wrote :

We now allow for the affinity group to exist when bootstrapping. Closing - please reopen if you're able to reproduce this after 1.19.4 is out.

Changed in juju-core:
status: Triaged → Fix Committed
assignee: nobody → Andrew Wilkins (axwalk)
milestone: none → 1.19.4
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
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.