-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cann't create datastore (Datastore template missing 'BRIDGE_LIST' attribute.) #9
Comments
Try specifying |
Thanks it worked. Datastor created ~ # onedatastore list in log |
@lazy-pepper please try if it changes if you create the dataset you gave in the config using
(Oh wow does the output formatting suck) |
This does not work ~ # zfs list mzfs/one/images ~ # onedatastore list OpenNebula 5.10.1 |
Hello
i can't create zfs datastore. Plz help
~ # lsb_release -a
LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic
~ # zfs list
NAME USED AVAIL REFER MOUNTPOINT
mzfs 2.45T 181G 25.4K /
mzfs/data 1.69T 181G 1.69T /mnt/data
mzfs/ftp 299G 181G 299G /mnt/ftp
mzfs/img 177G 181G 177G /mnt/img
mzfs/iso 16.7G 181G 16.7G /mnt/iso
mzfs/one 65.8K 181G 32.9K /mnt/one
mzfs/one/images 32.9K 181G 32.9K /mnt/one/images
mzfs/root 19.3G 181G 19.3G /
mzfs/swap 4.25G 182G 2.88G -
~ # cat /var/lib/one/remotes/datastore/zfs/zfs.conf
ZFS_CMD=/sbin/zfs
BRIDGE_LIST="localhost"
DATASET_NAME=mzfs/one/images
STAGING_DIR=/var/tmp
~ # cat ds.conf
NAME = "zfs"
DS_MAD = zfs
TM_MAD = zfs
DISK_TYPE = block
DATASET_NAME = mzfs/one/images
~ # onedatastore create ds.conf
ID: 113
log:
Fri May 8 01:42:56 2020 [Z0][ImM][I]: Command execution failed (exit code: 255): /var/lib/one/remotes/datastore/zfs/monitor PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xMTA8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEP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48IVtDREFUQVtOT05FXV0+PC9MTl9UQVJHRVQ+PFJFU1RSSUNURURfRElSUz48IVtDREFUQVsvXV0+PC9SRVNUUklDVEVEX0RJUlM+PFNBRkVfRElSUz48IVtDREFUQVsvdmFyL3RtcF1dPjwvU0FGRV9ESVJTPjxUTV9NQUQ+PCFbQ0RBVEFbemZzXV0+PC9UTV9NQUQ+PC9URU1QTEFURT48L0RBVEFTVE9SRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4= 110
Fri May 8 01:42:56 2020 [Z0][ImM][I]: /var/lib/one/remotes/datastore/zfs/../libfs.sh: line 503: RANDOM % 0: division by 0 (error token is "0")
Fri May 8 01:42:56 2020 [Z0][ImM][E]: Datastore template missing 'BRIDGE_LIST' attribute.
Fri May 8 01:42:56 2020 [Z0][ImM][E]: Error monitoring datastore 110: RGF0YXN0b3JlIHRlbXBsYXRlIG1pc3NpbmcgJ0JSSURHRV9MSVNUJyBhdHRyaWJ1dGUu. Decoded info: Datastore template missing 'BRIDGE_LIST' attribute.
The text was updated successfully, but these errors were encountered: