** Changed in: xen-api (Ubuntu)
       Status: New => Invalid

** Changed in: xen-api-libs (Ubuntu)
       Status: New => Invalid

** Summary changed:

- Storage Manager Backends not found; faulty build path
+ Storage Manager Backends not found

** Description changed:

  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
+ Some hours of reading reveals that this location is for Unix sockets
+ which connect to blktap plugins.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1195001

Title:
  Storage Manager Backends not found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xen-api/+bug/1195001/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to