Skip to content

Releases: CDLUC3/mrt-inventory

Add NodeIO support for creation of inv versions content

22 Mar 16:36
Compare
Choose a tag to compare

The standardization of the NodeIO tables changed the use of the storage can-info.txt logicalVolume property. Originally it contained the container/bucket of the cloud being accessed. currently it contains the nodeio name and the node reference in the nodes property. This logicalVolume is returned to Merritt Express by inv to directly access this entry. This change in storage breaks the inv.versions response container value. This fix uses the nodes table with node number to extract the correct container value. It also returns a cloudType element (aws, sdsc, minio) to support Merritt Express handling.

Additionally, the filenode method had a minor cleanup - is used to reset inv_nodes table values once added.