Comments (7)
is there more info in the journal?
journalctl -u opennebula
from addon-linstor.
Here is the corresponding error from journalctl
Apr 20 08:00:47 HVS0501 /mkfs[8187]: INFO Entering datastore mkfs.
Apr 20 08:00:47 HVS0501 /mkfs[8187]: INFO running shell command: bash -c source /var/lib/one/remotes//datastore/libfs.sh && set_up_datastore /var/lib/one//datastores/128 / /var/tmp
Apr 20 08:00:47 HVS0501 /mkfs[8187]: INFO Creation of a new resource: OpenNebula-Image-107
Apr 20 08:00:47 HVS0501 /mkfs[8187]: INFO Deploying resource 'OpenNebula-Image-107' using resource group 'onegroup', prefer node: None
Apr 20 08:00:55 HVS0501 /mkfs[8187]: INFO ssh 'sto0501' cmd: set -e ; export PATH=/usr/sbin:/sbin:$PATH ; source /var/lib/one/remotes/etc/datastore/datastore.conf ; FS_OPTS=$(eval $(echo "echo \$FS_OPTS_raw")) ; $(mkfs_command "/dev/drbd1018" "raw" "10240" "$SUPPORTED_FS" "" "$FS_OPTS")
Apr 20 08:00:56 HVS0501 /mkfs[8187]: ERROR command ['bash', '-c', 'source /var/lib/one/remotes//scripts_common.sh && ssh_exec_and_log "sto0501" "set -e ; export PATH=/usr/sbin:/sbin:$PATH ; source /var/lib/one/remotes/etc/datastore/datastore.conf ; FS_OPTS=$(eval $(echo "echo \\$FS_OPTS_raw")) ; $(mkfs_command "/dev/drbd1018" "raw" "10240" "$SUPPORTED_FS" "" "$FS_OPTS")" "Error mkfs_command for resource OpenNebula-Image-107(OpenNebula-Image-107), on sto0501"'] failed: b'ERROR: bash: Command "set -e ; export PATH=/usr/sbin:/sbin:/bin:/sbin:/usr/bin:/usr/lib/one/sh/override:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ; source /var/lib/one/remotes/etc/datastore/datastore.conf ; FS_OPTS= ; qemu-img create -f raw /dev/drbd1018 10240M" failed: bash: line 3: /var/lib/one/remotes/etc/datastore/datastore.conf: No such file or directory\nERROR MESSAGE --8<------\nError mkfs_command for resource OpenNebula-Image-107(OpenNebula-Image-107), on sto0501\nERROR MESSAGE ------>8--\n'
from addon-linstor.
From the error it looks like you don't have the file /var/lib/one/remotes/etc/datastore/datastore.conf
on your host sto0501
, my test setup has this.
Can you show also your datastore settings: onedatastore show <ds_ID>
from addon-linstor.
The server sto0501
is a dedicated storage server and is not a compute node for opennebula. But it might be that I got the instructions wrong from linstor and have therefore configured it wrong somehow.
ALLOW_ORPHANS="yes"
BRIDGE_LIST="sto0501 sto0502"
CLONE_TARGET="SELF"
CLONE_TARGET_SHARED="SELF"
CLONE_TARGET_SSH="SELF"
COMPATIBLE_SYS_DS="129"
DISK_TYPE="BLOCK"
DISK_TYPE_SHARED="BLOCK"
DISK_TYPE_SSH="BLOCK"
DS_MAD="linstor"
LINSTOR_CONTROLLERS="10.199.99.19:3370"
LINSTOR_RESOURCE_GROUP="onegroup"
LN_TARGET="NONE"
LN_TARGET_SHARED="NONE"
LN_TARGET_SSH="NONE"
RESTRICTED_DIRS="/"
SAFE_DIRS="/var/tmp"
TM_MAD="linstor"
TM_MAD_SYSTEM="ssh,shared"
TYPE="IMAGE_DS"
from addon-linstor.
I checked another fresh test setup, there the file is also missing. 🤷
As a quick fix you can edit: /var/lib/one/remotes/datastore/linstor/mkfs
and remove line 84: source {remotes}etc/datastore/datastore.conf ; \
from addon-linstor.
Working now 👍🏼
from addon-linstor.
I released a new version with a correct fix: v1.1.1
from addon-linstor.
Related Issues (18)
- Failure on VM deletion HOT 4
- Replica count HOT 8
- Choosing image datastore while creating new VM HOT 1
- Support for live snapshots HOT 1
- Update Drivers for 6.8 release HOT 3
- Support native OpenNebula backup HOT 5
- Fault tolerance when using the Linstor driver HOT 6
- 'file' driver requires '/var/lib/one//datastores/113/20/disk.1' to be a regular file HOT 8
- Using controller node for mv method HOT 6
- After (hard) reboot of storage node state of (disk-)resource (attached to a VM) is unknown on rebooted node HOT 3
- Disk snapshot delete/revert not working HOT 3
- implement resize HOT 1
- Datastore driver 'linstor' not available HOT 1
- Installation instructions not working/ outdated HOT 2
- System datastore driver 'linstor' not available HOT 6
- Different linstor controller address than localhost HOT 1
- Instantiation of multiple VMs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-linstor.