Closed
Bug 1019869
Opened 11 years ago
Closed 10 years ago
Remove spot instances from inventory
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
References
Details
Attachments
(4 files)
... when we completely switch to setup without puppet and DNS
Assignee | ||
Comment 1•10 years ago
|
||
This is what I want to run (after removing "echo")
Attachment #8437132 -
Flags: review?(juber)
Comment 2•10 years ago
|
||
I would do 'set -x -e' at the top of your file to print the commands you are running and then exit if invtool returns a non-zero return code.
I would also suggest that you modify our script to take advantage to some new search features in Inventory.
Instead of "/^(bld|tst|try)-linux(32|64)-spot type=:cname" try:
cname.fqdn=/^(bld|tst|try)-linux(32|64)-spot
Instead of "/^(bld|tst|try)-linux(32|64)-spot- type=:PTR" try:
ptr.name=/^(bld|tst|try)-linux(32|64)-spot
Instead of "/^(bld|tst|try)-linux(32|64)-spot- type=:A" try:
a.fqdn=/^(bld|tst|try)-linux(32|64)-spot
Since you are specifying a search field on a specific searchable type, the 'type=' is implied (note that you can use '=' now instead of '=:'.)
Your commands and these alternatives are semantically the *same* -- I've just changed the syntax.
Otherwise this looks good.
Assignee | ||
Updated•10 years ago
|
Attachment #8437132 -
Flags: review?(juber)
Assignee | ||
Comment 3•10 years ago
|
||
CSV for CNAME entries
Assignee | ||
Comment 4•10 years ago
|
||
CSV for PTR entries
Assignee | ||
Comment 5•10 years ago
|
||
CSV for A entries
Assignee | ||
Comment 6•10 years ago
|
||
uberj was kind to delete these. Thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•7 years ago
|
Component: General Automation → General
You need to log in
before you can comment on or make changes to this bug.
Description
•