[DRBD-user] Error copying image in the datastore
Luke Camilleri
luke.camilleri at zylacomputing.com
Fri May 31 14:18:23 CEST 2019
This is from /var/log/messages of the combined node:
May 31 12:01:46 drbd-kvm-1 Satellite: 12:01:46.242 [DeviceManager] DEBUG LINSTOR/Satellite - Executing command: drbdadm -vvv --max-peers 7 -- --force create-md OpenNebula-Image-24/0
May 31 12:01:46 drbd-kvm-1 Satellite: 12:01:46.244 [Thread-3736] DEBUG LINSTOR/Satellite - 'OpenNebula-Image-24/0' not defined in your config (for this host).
May 31 12:01:46 drbd-kvm-1 Satellite: 12:01:46.244 [DeviceManager] TRACE LINSTOR/Satellite - External command finished in 1ms: drbdadm -vvv --max-peers 7 -- --force create-md OpenNebula-Image-24/0
May 31 12:01:46 drbd-kvm-1 Satellite: 12:01:46.246 [DeviceManager] ERROR LINSTOR/Satellite - Failed to create meta-data for DRBD volume OpenNebula-Image-24/0 [Report number 5CF0050A-049A1-000024]
Regards
From: Luke Camilleri
Sent: 31 May 2019 13:33
To: 'Rene Peinthor' <rene.peinthor at linbit.com>
Cc: drbd-user at lists.linbit.com
Subject: RE: [DRBD-user] Error copying image in the datastore
I believe you meant ‘journalctl -u opennebula’ ☺ which in fact shows more info
May 31 12:28:48 frontend cp[12048]: INFO running shell command: bash -c source /var/lib/one/remotes//datastore/libfs.sh && set_up_datastore /var/lib/one//datastores/101 / /var/tmp
May 31 12:28:48 frontend cp[12048]: INFO running shell command: bash -c source /var/lib/one/remotes//datastore/libfs.sh && set_downloader_args "" "" "" "" /var/tmp/241172480-vyos-118-amd64iso -
May 31 12:28:48 frontend cp[12048]: INFO running shell command: bash -c /var/lib/one/remotes//datastore/downloader.sh /var/tmp/241172480-vyos-118-amd64iso - | ssh drbd-1 dd of=/dev/drbd1003 bs=2M
May 31 12:28:49 frontend cp[12048]: command ['bash', '-c', u'/var/lib/one/remotes//datastore/downloader.sh /var/tmp/241172480-vyos-118-amd64iso - | ssh drbd-1 dd of=/dev/drbd1003 bs=2M'] failed: dd: failed to open ‘/dev/drbd1003’: Permission denied
cat: write error: Broken pipe
tee: standard output: Broken pipe
tee: write error
Error copying
May 31 12:28:49 frontend cp[12048]: "Error copying data to OpenNebula-Image-21 on drbd-1"
Am I right in assuming that the permission denied error seems to be from the front-end to the drbd node?
Thanks in advance
From: Rene Peinthor [mailto:rene.peinthor at linbit.com]
Sent: 31 May 2019 13:05
To: Luke Camilleri <luke.camilleri at zylacomputing.com<mailto:luke.camilleri at zylacomputing.com>>
Cc: drbd-user at lists.linbit.com<mailto:drbd-user at lists.linbit.com>
Subject: Re: [DRBD-user] Error copying image in the datastore
Not much here to see a reason, please also check `systemctl -u opennebula`
On Fri, May 31, 2019 at 12:47 PM Luke Camilleri <luke.camilleri at zylacomputing.com<mailto:luke.camilleri at zylacomputing.com>> wrote:
I am receiving the below when uploading or downloading images to the image datastore. If I create a datablock in the same image datastore it completes successfully. Is this a permission issue or am I missing some configuration?
ERROR
Fri May 31 10:28:49 2019 : Error copying image in the datastore
This happens after the download has completed and in oned.log I can see the below entries:
Fri May 31 10:28:47 2019 [Z0][ImM][I]: Copying /var/tmp/241172480-vyos-118-amd64iso to repository for image 21
Fri May 31 10:28:47 2019 [Z0][ReM][D]: Req:2800 UID:0 one.image.allocate result SUCCESS, 21
Fri May 31 10:28:47 2019 [Z0][ReM][D]: Req:6432 UID:0 IP:127.0.0.1 one.image.info<http://one.image.info> invoked , 21
Fri May 31 10:28:47 2019 [Z0][ReM][D]: Req:6432 UID:0 one.image.info<http://one.image.info> result SUCCESS, "<IMAGE><ID>21</ID><U..."
Fri May 31 10:28:49 2019 [Z0][ImM][I]: Command execution failed (exit code: 1): /var/lib/one/remotes/datastore/linstor/cp PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjIxPC9JRD4
8VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+dnlvcy1jZH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xOTwvSUQ+PElEPjIwPC9JRD48L0lNQUdFUz48VEVNUExBVEU+PEFMTE9XX09SUEhB
TlM+PCFbQ0RBVEFbeWVzXV0+PC9BTExPV19PUlBIQU5TPjxCUklER0VfTElTVD48IVtDREFUQVtrdm0tMSBrdm0tMiBrdm0tM11dPjwvQlJJREdFX0xJU1Q+PENMT05FX1RBUkdFVD48IVtDREFUQVtTRUxGXV0+PC9DTE9ORV9UQVJHR
VQ+PERJU0tfVFlQRT48IVtDREFUQVtCTE9DS11dPjwvRElTS19UWVBFPjxEU19NQUQ+PCFbQ0RBVEFbbGluc3Rvcl1dPjwvRFNfTUFEPjxMSU5TVE9SX0FVVE9fUExBQ0U+PCFbQ0RBVEFbM11dPjwvTElOU1RPUl9BVVRPX1BMQUNFPj
xMSU5TVE9SX0NMT05FX01PREU+PCFbQ0RBVEFbY29weV1dPjwvTElOU1RPUl9DTE9ORV9NT0RFPjxMSU5TVE9SX0NPTlRST0xMRVJTPjwhW0NEQVRBWzE3Mi4xNy4wLjJdXT48L0xJTlNUT1JfQ09OVFJPTExFUlM+PExJTlNUT1JfU1R
PUkFHRV9QT09MPjwhW0NEQVRBW3RoaW4tbHZtLTFdXT48L0xJTlNUT1JfU1RPUkFHRV9QT09MPjxMTl9UQVJHRVQ+PCFbQ0RBVEFbTk9ORV1dPjwvTE5fVEFSR0VUPjxSRVNUUklDVEVEX0RJUlM+PCFbQ0RBVEFbL11dPjwvUkVTVFJJ
Q1RFRF9ESVJTPjxTQUZFX0RJUlM+PCFbQ0RBVEFbL3Zhci90bXBdXT48L1NBRkVfRElSUz48VE1fTUFEPjwhW0NEQVRBW2xpbnN0b3JdXT48L1RNX01BRD48VFlQRT48IVtDREFUQVtJTUFHRV9EU11dPjwvVFlQRT48L1RFTVBMQVRFP
jwvREFUQVNUT1JFPjwvRFNfRFJJVkVSX0FDVElPTl9EQVRBPg== 21
Fri May 31 10:28:49 2019 [Z0][ImM][E]: Error copying image in the datastore
_______________________________________________
drbd-user mailing list
drbd-user at lists.linbit.com<mailto:drbd-user at lists.linbit.com>
http://lists.linbit.com/mailman/listinfo/drbd-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20190531/dadb7c74/attachment-0001.htm>
More information about the drbd-user
mailing list