Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Collins should support complete reintake #12

Closed
bmatheny opened this Issue · 5 comments

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 referenced this issue from a commit
@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
@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 referenced this issue from a commit
@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 referenced this issue from a commit
@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 referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@bmatheny bmatheny referenced this issue from a commit
@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 referenced this issue from a commit
@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 referenced this issue from a commit
@bmatheny bmatheny General status model related cleanup
  * Removed Status.Enum - refs #25
  * Made asset update API endpoint smarter - refs #12
ac53bad
@dalehamel dalehamel referenced this issue from a commit in Shopify/collins
@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 referenced this issue from a commit in Shopify/collins
@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 referenced this issue from a commit in Shopify/collins
@bmatheny bmatheny General status model related cleanup
  * Removed Status.Enum - refs #25
  * Made asset update API endpoint smarter - refs #12
60ed73d
@dalehamel dalehamel referenced this issue from a commit in Shopify/collins
@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 referenced this issue from a commit in Shopify/collins
@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 referenced this issue from a commit in Shopify/collins
@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
@maddalab maddalab closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.