Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #10005: Add documentation about inventory upload on root server #278

Conversation

fanf
Copy link
Member

@fanf fanf commented Jan 16, 2017


Node inventories are generated on nodes, are sent to the node policy server (be
it a Relay or the Root server) up to the Root server, and stored in the
Rudder data base (thechnicaly an LDAP server), waiting for latter use.
Copy link
Member

@amousset amousset Jan 16, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technically

Copy link

@armeniaca armeniaca Jan 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

database, later


==== Processing inventories on node

Inventories are generated dayly during an agent run in the 00:00-06:00 time
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

daily

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'dd add "local to the node", y'know, timezones ;-)

* ask the node policy server for its UUID with an HTTP GET on
`https://server/uuid`,
* generate an inventory by scanning the node hardware and software components,
* optionnal make a digital signature of the generated inventory file,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optionally

and :
** if checks are OK, *ACCEPTS* (HTTP code `200`) the inventory,
** if signature is configured to be mandatory and is missing, or if the
signature is not valide, refuses with *UNAUTHORIZED* error (HTTP code `401`)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

valid


* look for inventory / signature pairs:
** inventories without a corresponding signature file are processed only if
they are older than 5 minutes,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fanf fanf force-pushed the arch_10005/add_documentation_about_inventory_upload_on_root_server branch from 0dd2516 to cac202b Compare January 18, 2017 08:16
@fanf
Copy link
Member Author

fanf commented Jan 18, 2017

PR rebased


Node inventories are generated on nodes, are sent to the node policy server (be
it a Relay or the Root server) up to the Root server, and stored in the
Rudder data base (technically an LDAP server), waiting for latter use.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

database, later

@fanf fanf force-pushed the arch_10005/add_documentation_about_inventory_upload_on_root_server branch from cac202b to 109815a Compare January 18, 2017 08:41
@fanf
Copy link
Member Author

fanf commented Jan 18, 2017

PR rebased

@Normation-Quality-Assistant
Copy link
Contributor

This PR is not mergeable to upper versions.
Since it is "Ready for merge" you must merge it by yourself using the following command:
rudder-dev merge https://github.com/Normation/rudder-doc/pull/278
-- Your faithful QA

"queueSaturated": true
}

----
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need an empty line at the end (to avoid breaking the following title)

@fanf
Copy link
Member Author

fanf commented Jan 18, 2017

PR rebased

@fanf fanf force-pushed the arch_10005/add_documentation_about_inventory_upload_on_root_server branch from 109815a to 9a9b067 Compare January 18, 2017 10:08
@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 9a9b067 into Normation:branches/rudder/3.1 Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants