The default bug view has changed. See this FAQ.

Remove spot instances from inventory

RESOLVED FIXED

Status

Release Engineering
General Automation
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: rail, Assigned: rail)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 attachments)

(Assignee)

Description

3 years ago
... when we completely switch to setup without puppet and DNS
(Assignee)

Comment 1

3 years ago
Created attachment 8437132 [details]
remove.me.sh

This is what I want to run (after removing "echo")
Attachment #8437132 - Flags: review?(juber)
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

3 years ago
Attachment #8437132 - Flags: review?(juber)
(Assignee)

Comment 3

3 years ago
Created attachment 8440757 [details]
spot.CNAME

CSV for CNAME entries
(Assignee)

Comment 4

3 years ago
Created attachment 8440758 [details]
spot.PTR

CSV for PTR entries
(Assignee)

Comment 5

3 years ago
Created attachment 8440759 [details]
spot.A

CSV for A entries
(Assignee)

Comment 6

3 years ago
uberj was kind to delete these. Thanks!
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.