Mistake in "xe-set-iscsi-iqn" in xcp-xapi @ saucy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
XCP |
New
|
Undecided
|
Unassigned |
Bug Description
It's greatly possible to set up a xcp-xapi server based on Saucy Salamander. XenCenter or OpenXenManager can connect succesfully to the this host and manage it. Linux based PVs can be set up and do run like a charm.
But unfortunately there is a mistake in the useful script "/usr/lib/
...
#/> dpkg -S /usr/lib/
xcp-xapi: /usr/lib/
...
#/> vi /usr/lib/
1 #!/bin/bash
2 #
3 # Copyright (c) Citrix Systems 2008. All rights reserved.
4 #
5 # Set the local non-pooled host to use a specific iSCSI IQN
6
7 set -e
8
9 XE="/usr/
10
...
The path to the "xe" binary is wrong, it should point to "/usr/bin/xe". Using the script as delivered in package from Ubuntu repository does end like this:
...
# /usr/lib/
/usr/lib/
/usr/lib/
...
Manual correction does make it usable, but hence, it should be easy to fix in error like this in upstream package.