> I also notice that the only time the read only tag is followed is when it is set in the cinder table: volume_admin_metadata. If it is set in the volume_metadata table it is ignored.
That's because that is where the API code puts the metadata value:
> I also notice that the only time the read only tag is followed is when it is set in the cinder table: volume_ admin_metadata. If it is set in the volume_metadata table it is ignored.
That's because that is where the API code puts the metadata value:
https:/ /github. com/openstack/ cinder/ blob/1d31f244c8 6e2610e19d5d4a2 a868f81d52296f4 /cinder/ volume/ api.py# L1608