Comments (3)
INFO 00:02:35,573 REGION set to us-west-2, ASG Name (nnnnn-uswest2)
Does the auto scaling group "nnnnn-uswest2" exist and your instance part of it? The ASG seems to have 0 instances.
from priam.
This issue came up with me because of the assumption that the viable AZs are the first 3 returned in a region. I was up late looking at some other stuff last night, but it seems that this message happens when the ASG that the instance is in isn't in the list of ASGs that Priam derives from either priam.zones.available or from the default (your -1a, 1b, and 1c).
This happens in a couple of specific cases for me:
- one AG, multiple AZs, but instances don't get allocated in B or C, only in A, D, E. The instances in D and E are never found.
- one AG per AZ, but a typo gets into Priam via the command line (JAVA_OPTS contains multiple layers of quotes, so the first zone became 'us-east-1a with a leading single quote, and the last zone became us-east-1e' with a trailing quote, and these AZs weren't properly matching.
A better error message in this case would help a lot, including a clear list of the zones available vs. the zone that the instance is in.
For my second case, characters in the AZ name that aren't in the set [a-zA-Z0-9-] should probably cause an error.
Lastly, on a related note, if you use cloudformation to launch, there are a dashes in the AG name. It's automatic, there doesn't appear to be a way around this. It's not clear what relevance the "-" character hasn the AG name from the documentation, if any, but it can be inferred that at netflix you use letters and underscore for AG names.
In my fork I've changed the final "-" to a "+" just so that my CF-generated AG names don't get confused, but it would be helpful to understand the assumptions/requirements that underlie all of the AG name and AZ names, and how they can/should be used.
Maybe this is another option for me to add to config when I've finished my current deadlines :)
from priam.
I believe the cloudformation issue was resolved (or at least discussed) in another ticket. For the AZ names, it's probably best to use a properties file (or some similar thing), as you've surely found that cli options get funky fast.
from priam.
Related Issues (20)
- Build Failed
- Backup SSTables from attached EBS volumes
- Sample Issue: Checking slack integration.
- Priam should order stop and start HOT 2
- why to Install Cassandra and web container (such as tomcat) on EC2 instances for netflix-Priam setup? HOT 1
- Architecture diagram of Priam with Cassandra HOT 1
- Priam is not checking the C* process health.
- .travis.yml: The 'sudo' tag is now deprecated in Travis CI
- Double-Checked Locking HOT 1
- Unreleased Resource: Streams HOT 1
- Please open a security advisory
- IDEA Sync fail
- There is a vulnerability in Quartz Enterprise Job Scheduler 2.3.0 ,upgrade recommended
- There is a vulnerability in Apache Commons Configuration 2.4 ,upgrade recommended
- There is a vulnerability in Cassandra 2.1.17 ,upgrade recommended
- There is a vulnerability in SnakeYAML 1.23,upgrade recommended
- There is a vulnerability in Guava: Google Core Libraries for Java 21.0 ,upgrade recommended
- There is a vulnerability in Apache HttpComponents Client(aka Apache HttpClient) 4.5.6 ,upgrade recommended HOT 1
- Document to setup the same with Scylladb, as there are muliple param changes
- Multiple warnings while buliding Priam HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from priam.