Collins should support complete reintake #12

Closed
bmatheny opened this Issue Sep 6, 2012 · 5 comments

Projects

None yet

2 participants

@bmatheny

There are cases where an asset really needs to go completely through reintake again. We already support allowing LLDP/LSHW data to be repopulated if an asset is in maintenance mode. Collins does not yet support redoing the web based intake process. This is useful if hardware is physically moved and you need to reinventory the location (RACK_POSITION) and power data.

It turns out that a 'happy bug' causes all data to be wiped if the machine is put into maintenance and then lldp or lshw data is submitted. Need to ensure that data is only overwritten, not cleared out.

@bmatheny bmatheny added a commit that referenced this issue Sep 6, 2012
@bmatheny bmatheny Prepping code for supporting reintake re #12
Fixed a couple of bugs:

  * Reloading a JProfile in dev was broken due to different classloaders
  * Fixed a bug in auth where upper case group names weren't properly handled

Also added support for features.sloppyTags, which allows any tags to be
completely managed outside of collins. Things in general will not work well by
doing this but can be useful for testing or one off situations.
a9fc911
@bmatheny bmatheny was assigned Sep 8, 2012
@bmatheny

This change should also likely include selecting from a set of canned maintenance reasons, e.g. 'Intake', 'Hardware Upgrade', 'Hardware Problem', 'IPMI Problem', etc. Then, based on the reason, we can open a ticket in JIRA, or take an alternative action during provisioning (e.g. run IT).

@bmatheny

The initial part of this code is done. The remaining work to be done here is API related and in the visioner tool stack.

@bmatheny

All API endpoints for managing states have been implemented. The following tasks remain:

  • Document endpoints
  • Update tests
  • Implement support in client and shell
  • Add support to AssetUpdate endpoint for managing state

Optionally if there is time, I would love doubleclick support in the web UI for both status and state, for appropriate admins.

@bmatheny

Tests and client/shell code are done. Also AssetUpdate now supports state. Still need write docs and I'm likely going to add an additional endpoint for state (and status) only management.

After that stuff is done I'll create a little intake plugin that allows you to specify based on status/state what attributes can/should be cleared out or overwritten.

@bmatheny bmatheny added a commit that referenced this issue Sep 15, 2012
@bmatheny bmatheny Added dedicated endpoint for state management
Will need to push out new client and new shell with modifications to the shell
still needed. Need to update docs. refs #12
7fddd4f
@bmatheny bmatheny added a commit that referenced this issue Sep 15, 2012
@bmatheny bmatheny General status model related cleanup
  * Removed Status.Enum - refs #25
  * Made asset update API endpoint smarter - refs #12
6338c66
@bmatheny

Need to also allow lldp data to be updated continuously.

@bmatheny bmatheny added a commit that referenced this issue Oct 31, 2012
@bmatheny bmatheny Prepping code for supporting reintake re #12
Fixed a couple of bugs:

  * Reloading a JProfile in dev was broken due to different classloaders
  * Fixed a bug in auth where upper case group names weren't properly handled

Also added support for features.sloppyTags, which allows any tags to be
completely managed outside of collins. Things in general will not work well by
doing this but can be useful for testing or one off situations.
b2ea22f
@bmatheny bmatheny added a commit that referenced this issue Oct 31, 2012
@bmatheny bmatheny Added dedicated endpoint for state management
Will need to push out new client and new shell with modifications to the shell
still needed. Need to update docs. refs #12
daf7573
@bmatheny bmatheny added a commit that referenced this issue Oct 31, 2012
@bmatheny bmatheny General status model related cleanup
  * Removed Status.Enum - refs #25
  * Made asset update API endpoint smarter - refs #12
ac53bad
@dalehamel dalehamel pushed a commit to Shopify/collins that referenced this issue Jun 10, 2014
@bmatheny bmatheny Prepping code for supporting reintake re #12
Fixed a couple of bugs:

  * Reloading a JProfile in dev was broken due to different classloaders
  * Fixed a bug in auth where upper case group names weren't properly handled

Also added support for features.sloppyTags, which allows any tags to be
completely managed outside of collins. Things in general will not work well by
doing this but can be useful for testing or one off situations.
05888b1
@dalehamel dalehamel pushed a commit to Shopify/collins that referenced this issue Jun 10, 2014
@bmatheny bmatheny Added dedicated endpoint for state management
Will need to push out new client and new shell with modifications to the shell
still needed. Need to update docs. refs #12
549ca74
@dalehamel dalehamel pushed a commit to Shopify/collins that referenced this issue Jun 10, 2014
@bmatheny bmatheny General status model related cleanup
  * Removed Status.Enum - refs #25
  * Made asset update API endpoint smarter - refs #12
60ed73d
@dalehamel dalehamel pushed a commit to Shopify/collins that referenced this issue Jun 10, 2014
@bmatheny bmatheny Prepping code for supporting reintake re #12
Fixed a couple of bugs:

  * Reloading a JProfile in dev was broken due to different classloaders
  * Fixed a bug in auth where upper case group names weren't properly handled

Also added support for features.sloppyTags, which allows any tags to be
completely managed outside of collins. Things in general will not work well by
doing this but can be useful for testing or one off situations.
01468ee
@dalehamel dalehamel pushed a commit to Shopify/collins that referenced this issue Jun 10, 2014
@bmatheny bmatheny Added dedicated endpoint for state management
Will need to push out new client and new shell with modifications to the shell
still needed. Need to update docs. refs #12
a5b7db6
@dalehamel dalehamel pushed a commit to Shopify/collins that referenced this issue Jun 10, 2014
@bmatheny bmatheny General status model related cleanup
  * Removed Status.Enum - refs #25
  * Made asset update API endpoint smarter - refs #12
79f435d
@bmatheny bmatheny was unassigned by maddalab May 25, 2015
@maddalab maddalab closed this May 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment