When bootstrapping or deploying dont spec zone

Bug #1373592 reported by Charles Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
Medium
Unassigned
juju-core
Won't Fix
Medium
Unassigned

Bug Description

When bootstrapping in AWS, its a common occurrence recently that the m1.small instance type is at capacity. As select-zone has some intelligence in whats going on, this transient error could be caught and switch to a different zone.

Please evaluate the following output from testing that hilights the behavior

Revision history for this message
Charles Butler (lazypower) wrote :
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

not so much retry as not specify when not needed.

summary: - When bootstrapping select-zone could retry if the instance-type is full
- in the region
+ When bootstrapping or deploying no zone spec
Revision history for this message
Curtis Hovey (sinzui) wrote : Re: When bootstrapping or deploying no zone spec

My work around is to set --constrants mem=2G which selects from a pull that tends to be better. As Juju chooses AZ at random and rules for distributing across AZs when add-unit and ensure-ha are run, juju should make more informed choices.

tags: added: bootstrap ec2-provider
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
tags: added: add-unit ha
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

i suspect aws issues are related https://news.ycombinator.com/item?id=8364643.

sinzui its not about manually specifying constraints, its about our DEFAULTS which should work and they would if we didn't specify a zone when we don't need to (bootstrap and deploy).

summary: - When bootstrapping or deploying no zone spec
+ When bootstrapping or deploying dont spec zone
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

to clarify this has nothing to do with add-unit or ha which its currently tagged with.

tags: removed: add-unit ha
Changed in juju-core:
status: Triaged → Won't Fix
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.1.0
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.1-rc2 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
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.