2013-06-26 19:49:03 |
TJ |
bug |
|
|
added bug |
2013-06-26 19:49:35 |
TJ |
bug task added |
|
xen-api (Ubuntu) |
|
2013-06-26 23:06:19 |
TJ |
xen-api (Ubuntu): status |
New |
Invalid |
|
2013-06-26 23:06:23 |
TJ |
xen-api-libs (Ubuntu): status |
New |
Invalid |
|
2013-06-26 23:06:36 |
TJ |
summary |
Storage Manager Backends not found; faulty build path |
Storage Manager Backends not found |
|
2013-06-26 23:07:47 |
TJ |
description |
On Ubuntu 13.04 Raring amd64, /var/log/syslog shows:
xapi: [error|caddy|0 thread_zero|Registering SR plugins D:36c4ffa48a08|sm_exec] Not scanning /var/lib/xcp/sm for SM backends: directory does not exist
The backends are provided by the package "xcp-storage-managers" and are installed into '/usr/lib/xcp/sm/'.
The path being searched is hard-coded in package "xen-api-1.3.2":
xen-api-1.3.2/Makefile:30:VARDIR=/var/lib/xcp
xen-api-1.3.2/Makefile:119: let vardir=\"$(VARDIR)\"\n
Which generates (after build):
xen-api-1.3.2/ocaml/fhs.ml::let vardir="/var/lib/xcp"
xen-api-1.3.2/ocaml/xapi/sm_exec.ml:26:let sm_daemon_dir = Filename.concat Fhs.vardir "sm"
I believe this should be:
let sm_daemon_dir = Filename.concat Fhs.optdir "sm"
since:
$ grep -rni 'optdir=' *
debian/patches/0010-fix-base-path-script.patch:20:-OPTDIR=/opt/xensource
debian/patches/0010-fix-base-path-script.patch:32:+OPTDIR=/usr/lib/xcp
Makefile:33:OPTDIR=/usr/lib/xcp
Makefile:121: let optdir=\"$(OPTDIR)\"\n \
A temporary work-around is:
$ sudo ln -s /usr/lib/xcp/sm /var/lib/xcp/sm |
On Ubuntu 13.04 Raring amd64, /var/log/syslog shows:
xapi: [error|caddy|0 thread_zero|Registering SR plugins D:36c4ffa48a08|sm_exec] Not scanning /var/lib/xcp/sm for SM backends: directory does not exist
Some hours of reading reveals that this location is for Unix sockets which connect to blktap plugins. |
|
2013-06-27 07:24:40 |
TJ |
xen-api (Ubuntu): status |
Invalid |
New |
|
2013-06-27 07:24:43 |
TJ |
xen-api-libs (Ubuntu): status |
Invalid |
New |
|
2013-06-27 07:26:09 |
TJ |
description |
On Ubuntu 13.04 Raring amd64, /var/log/syslog shows:
xapi: [error|caddy|0 thread_zero|Registering SR plugins D:36c4ffa48a08|sm_exec] Not scanning /var/lib/xcp/sm for SM backends: directory does not exist
Some hours of reading reveals that this location is for Unix sockets which connect to blktap plugins. |
On Ubuntu 13.04 Raring amd64, /var/log/syslog shows:
xapi: [error|caddy|0 thread_zero|Registering SR plugins D:36c4ffa48a08|sm_exec] Not scanning /var/lib/xcp/sm for SM backends: directory does not exist
Some hours of reading reveals that this location is for Unix sockets which connect to blktap plugins.
One or other of these packages should presumably create this directory statically from a debian/*.install instruction or dynamically during the package installation postinst stage.
Workaround:
sudo mkdir /var/lib/xcp/sm |
|