I’m trying to update the BRIDGE_LIST on a data store for my Ceph images, as I’m having trouble uploading an image through Sunstone and suspect the fact that one of my bridge hosts is down as being the problem.
I get this error:
[one.datastore.update] Cannot update template. Attribute shared, ln_target or clone_target in TM_MAD_CONF for ceph is missing or has wrong value in oned.conf
Fri Sep 11 07:54:29 2020 [Z0][ReM][D]: Req:9360 UID:0 IP:127.0.0.1 one.datastore.update invoked , 100, "ALLOW_ORPHANS = "mix...", 0
Fri Sep 11 07:54:29 2020 [Z0][ReM][E]: Req:9360 UID:0 one.datastore.update result FAILURE [one.datastore.update] Cannot update template. Attribute shared, ln_target or clone_target in TM_MAD_CONF for ceph is missing or has wrong value in oned.conf
Pretty much the same message I got through the front-end. All I want to do is upload a new ISO image so I can boot a VM instance with it. The config above is migrated from an earlier OpenNebula 5.4 install, a migration necessitated by an operating system update.
In this case the error is TM_MAD_SYSTEM, that is used to define additional transfer modes for VMs. Ceph supports SSH and shared, meaning that some VMs can run from local storage. Basically the rbd volume is exported as a file. As you set TM_MAD_SYSTEM = ceph (which is not needed) oned was looking for LN_TARGET_CEPH… Hope it helps.
I’ll admit the migration to 5.10 was done in a hurry because I had done an update of the underlying OS to Ubuntu 18.04 (from 16.04), then had to update OpenNebula because the old version wouldn’t run on the newer OS (and there wasn’t a build of the older OpenNebula for Ubuntu 16.04).
I should probably move up to 5.12 before I miss the boat a second time!
Those changes seem to have made a difference, I’m able to update the data store configuration now to take out the downed host out of BRIDGE_LIST. VMs that refused to start before are now starting… jury’s still out on uploading images, that seems to be inconclusive, but I’ll keep chasing it from here.