[DRBD-user] Error when copying/downloading an image in opennebula datastore

Rene Peinthor rene.peinthor at linbit.com
Tue Oct 8 10:49:54 CEST 2019


Hi!

Yes it seems, the copy (ssh/dd) command fails while trying to dd the data
into the drbd resource.
Unfortunately the log line is cut of:
Oct 06 15:24:33 nts-cloud-100 cp[16558]: INFO running shell command: bash
-c /var/lib/one/remotes//datastore/downloader.sh
https://marketplace.opennebula.systems//appliance/e902e91f-4e83-4

This line should fully contain the command executed, maybe if you try to
run it manually it will give you a better hint to what fails,
maybe it is a simple ssh connection(wrong keys, handshake question) problem.

Cheers,
Rene

On Mon, Oct 7, 2019 at 8:47 AM Notespeak Fyyar <notespeak at ntshosts.com>
wrote:

> Greetings DRBD users,
> we have recently started using  drbd9 as a primary mean of storing
> opennebula user data.
> We have followed every instruction in the plugin guide, but unfortunately
> we are facing some sort of an execution/permission issues. We have tried to
> give oneadmin full tmp and datastore permissions and tweaked datastore
> settings, but the problem is always the same, and has been reproduced at
> least 3 times with a clean installation of opennebula, and drbd9.
> It should also needs to be noted, that a similar case has already been
> posted recently https://lists.gt.net/drbd/users/30739.
>
> ERROR (taken form /var/log/oned.log)
>
> Command execution failed (exit code: 1):
> /var/lib/one/remotes/datastore/linstor/cp
> PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjIyPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW48L1VOQU1FPjxHTkFNRT5vbmVhZG1pbjwvR05BTUU+PE5BTUU+RGViaWFuIDggLSBLVk08L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjA8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RIRVJ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E5PC9JRD48SUQ+MjA8L0lEPjxJRD4yMTwvSUQ+PElEPjIyPC9JRD48SUQ+MjM8L0lEPjxJRD4yNDwvSUQ+PElEPjI1PC9JRD48SUQ+MjY8L0lEPjxJRD4yNzwvSUQ+PElEPjI4PC9JRD48SUQ+Mjk8L0lEPjxJRD4zMDwvSUQ+PElEPjMxPC9JRD48SUQ+MzI8L0lEPjxJRD4zMzwvSUQ+PElEPjM0PC9JRD48SUQ+MzU8L0lEPjxJRD4zNjwvSUQ+PElEPjM3PC9JRD48L01BUktFVFBMQUNFQVBQUz48UEVSTUlTU0lPTlM+PE9XTkVSX1U+MTwvT1dORVJfVT48T1dORVJfTT4xPC9PV05FUl9NPjxPV05FUl9BPjE8L09XTkVSX0E+PEdST1VQX1U+MTwvR1JPVVBfVT48R1JPVVBfTT4wPC9HUk9VUF9NPjxHUk9VUF9BPjA8L0dST1VQX0E+PE9USEVSX1U+MTwvT1RIRVJfVT48T1RIRVJfTT4wPC9PVEhFUl9NPjxPVEhFUl9BPjA8L09USEVSX0E+PC9QRVJNSVNTSU9OUz48VEVNUExBVEU+PERFU0NSSVBUSU9OPjwhW0NEQVRBW09wZW5OZWJ1bGEgU3lzdGVtcyBNYXJrZXRQbGFjZV1dPjwvREVTQ1JJUFRJT04+PE1BUktFVF9NQUQ+PCFbQ0RBVEFbb25lXV0+PC9NQVJLRVRfTUFEPjwvVEVNUExBVEU+PC9NQVJLRVRQTEFDRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4=
> 22
> Sun Oct  6 15:25:34 2019 [Z0][ImM][E]: Error copying image in the datastore
>
> journalctl opennebula entry:
> INFO Entering datastore cp
> Oct 06 15:24:30 nts-cloud-100 cp[16558]: INFO Deploying resource
> 'OpenNebula-Image-22'
> Oct 06 15:24:32 nts-cloud-100 cp[16558]: INFO running shell command: bash
> -c source /var/lib/one/remotes//datastore/libfs.sh && set_up_datastore
> /var/lib/one//datastores/105 / /var/tmp
> Oct 06 15:24:32 nts-cloud-100 cp[16558]: INFO running shell command: bash
> -c source /var/lib/one/remotes//datastore/libfs.sh && set_downloader_args
> "" "" "" "" https://marketplace.opennebula
> Oct 06 15:24:32 nts-cloud-100 cp[16558]: INFO Downloading
> https://marketplace.opennebula.systems//appliance/e902e91f-4e83-40af-b41e-b895abf0461d/download/0
> to the image repository
> Oct 06 15:24:32 nts-cloud-100 cp[16558]: INFO running shell command: bash
> -c source /var/lib/one/remotes//datastore/libfs.sh && check_restricted
> https://marketplace.opennebula.systems//appli
> Oct 06 15:24:32 nts-cloud-100 cp[16558]: INFO Copying local image
> https://marketplace.opennebula.systems//appliance/e902e91f-4e83-40af-b41e-b895abf0461d/download/0
> to the image repository
> Oct 06 15:24:33 nts-cloud-100 cp[16558]: INFO running shell command: bash
> -c /var/lib/one/remotes//datastore/downloader.sh
> https://marketplace.opennebula.systems//appliance/e902e91f-4e83-4
> Oct 06 15:24:50 nts-cloud-100 monitor[16860]: INFO Entering datastore
> monitor.
> Oct 06 15:24:50 nts-cloud-100 monitor[16854]: INFO Entering datastore
> monitor.
> Oct 06 15:24:50 nts-cloud-100 monitor[16877]: INFO Entering tm monitor.
> Oct 06 15:24:50 nts-cloud-100 monitor[16860]: INFO Exiting datastore
> monitor[274/3643804/3643530].
> Oct 06 15:24:50 nts-cloud-100 monitor[16854]: INFO Exiting datastore
> monitor[274/3643804/3643530].
> Oct 06 15:24:51 nts-cloud-100 monitor[16877]: INFO Leaving tm monitor.
> Oct 06 15:25:33 nts-cloud-100 cp[16558]: [334B blob data]
> Oct 06 15:25:33 nts-cloud-100 cp[16558]: ERROR "Error copying data to
> OpenNebula-Image-22 on nts-cloud-100"
>
> journalctl DRBD9 entry:
> Oct 06 15:10:17 nts-cloud-100 Controller[1545]: 15:10:17.294
> [grizzly-http-server-26] INFO  LINSTOR/Controller - SYSTEM - New volume
> definition with number '0' of resource definition 'OpenNe
> Oct 06 15:24:30 nts-cloud-100 Controller[1545]: 15:24:30.825
> [grizzly-http-server-27] INFO  LINSTOR/Controller - SYSTEM - New volume
> definition with number '0' of resource definition 'OpenNe
> Oct 06 15:58:28 nts-cloud-100 Controller[1545]: 15:58:28.694
> [grizzly-http-server-24] INFO  LINSTOR/Controller - SYSTEM - New volume
> definition with number '0' of resource definition 'OpenNe
> Oct 06 15:59:43 nts-cloud-100 Controller[1545]: 15:59:43.348
> [grizzly-http-server-7] INFO  LINSTOR/Controller - SYSTEM - New volume
> definition with number '0' of resource definition 'OpenNeb
>
>
>
>
>
>
>
>
>
>
>
>
> The datastore configs in opennebula are following:
>
> NAME="datastore-ssd-image"
> TYPE="IMAGE_DS"
> STORAGE_POOL="datastore-ssd"
> AUTO_PLACE="2"
> BRIDGE_LIST="n101 n100 n102"
> DISK_TYPE="BLOCK"
> DS_MAD="linstor_un"
> TM_MAD="linstor_un"
>
>
>
> NAME = linstor_auto_place233
> TM_MAD = linstor
> TYPE = SYSTEM_DS
> LINSTOR_AUTO_PLACE = 2
> LINSTOR_STORAGE_POOL = "datastore-ssd"
> BRIDGE_LIST = "n101 n100 n102"
>
>
> All the best,
> Notespeak.
>
>
>
>
>
>
>
> _______________________________________________
> Star us on GITHUB: https://github.com/LINBIT
> drbd-user mailing list
> drbd-user at lists.linbit.com
> https://lists.linbit.com/mailman/listinfo/drbd-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20191008/620d2b1c/attachment-0001.htm>


More information about the drbd-user mailing list