Project

General

Profile

Actions

Bug #8516

closed

Refused inventory because webapp seems not to see public key in it

Added by Alexis Mousset over 8 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

[2016-06-13 11:36:47] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - New input inventory: 'server-root.ocs'
[2016-06-13 11:36:47] INFO  com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Inventory 'server-root.ocs' parsed in 143 milliseconds ms, now checking signature
[2016-06-13 11:36:47] ERROR com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Failure(There is no public key in inventory,Empty,Empty)
[2016-06-13 11:36:47] ERROR com.normation.inventory.provisioning.endpoint.FusionReportEndpoint - Error when trying to check inventory signature <- There is no public key in inventory

but the inventory contains:

<MACHINEID>669FA669-532E-484F-A881-55A5FEFF1D32</MACHINEID>
<CFKEY>-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAx6nluEEnL/gThAgbZ4r2oWBb9wYRnSi9+/HDXnLepbNesyy+XWSg
ScPIq2rqYl9JGeANE8lJkqYLMb40nVKOUlrM6NlTdWEcMI1WOEdjfJU/g5XKX7Bx
Cj6bxnu6rNI1UdMEcL8NYaHaI2L9SEmt37lt5jGrmu/mq6mmUMYX1/ei5g6qZwHI
BbJH12/nWZsqfyECZUOMO/mhfojJ7oTJtzB+ENEuon+Y0qCNxn0ZmOhuYDEY30RL
b/hqpO9Y69TFd5U9InW/X7iOGsn2jV7wI7TYQisjJR1O53cnYHZAWtupCV1HFP9K
XIs9741hYq36EMXAC5QDY42k094bLAhlFwIDAQAB
-----END RSA PUBLIC KEY-----</CFKEY>
<POLICY_SERVER>root</POLICY_SERVER>
Actions #1

Updated by François ARMAND over 8 years ago

This part should not be in the inventory anymore: it's the information added by CFEngine after inventory is done by fusion, and is no more used since 3.2 (but was kept for compliance with older agent in new server).

So, the missing cfk on the message should be in a <RUDDER> tag added by Fusion, along with all other Rudder information. Would you please look for that tag in the refused inventory ?

Actions #2

Updated by François ARMAND about 8 years ago

  • Status changed from New to Rejected

There was a lot of correction regarding inventories and fusion, and the bug was not reported anymore. I'm closing it.

Actions

Also available in: Atom PDF