Closed Steiniche closed 7 years ago
+1, i see this as well.
I am experiencing this issue as well. I have attempted to pass in a base_serial value, this does not help either.
@Steiniche This is hacky, but it is a functional workaround. You can add this delete attribute call after y our updates:
curl --basic -u blake:admin:first -X DELETE http://localhost:9000/api/asset/tumblrtag30/attribute/BASE_SERIAL
@davidblum very hacky indeed. I was hoping for a fix before we upgrade. However, this issue is not getting much attention so a hacky fix is better than no fix. Thank you!
Brilliant @byxorna thank you for taking the time to create a fix!
Hello,
When LSHW data is send to collins a line with the following message gets created:
Base Serial How does your computer identify itself?
If LSHW data is uploaded more than once a line is created for each time. E.g. three uploads of LSHW data generates this:
It seems to stem from the serial number not being parsed into collins as the Server Base serial is empty. However, the serial is defined in the system node in the output.xml (See "How to reproduce" for test xml)
I have tried with different LSHW data from different machines but with no change in the behavior.
How to reproduce Run the official docker image from: https://hub.docker.com/r/tumblr/collins/
Create an asset, put it into maintenance and upload lshw data:
There is no indication from the API or the log within the docker container that there is missing any information.
Where output.xml contains the following LSHW xml output: