Skip to content

install/netinstall out of date, incomplete #100

@oallart

Description

@oallart

Using netinstall with luminous, the following issues arise:

  1. packages qemu-dp and glibc fail to install (wrong location and version)
  2. copying and linking of python plugin file fails (missing elements)

Issue 1. can be fixed with

yum install https://updates.xcp-ng.org/7/7.5/extras_testing/x86_64/Packages/qemu-dp-2.10.2-1.2.0.extras.x86_64.rpm
yum install --enablerepo="extras,base" -y glibc-2.17-260.el7

Issue 2. however has multiple sub-issues:

Install RBDSR Files
cp: cannot stat ‘volume/org.xen.xapi.storage.rbdsr/plugin.py’: No such file or directory
chmod: cannot access ‘/usr/libexec/xapi-storage-script/volume/org.xen.xapi.storage.rbdsr/plugin.py’: No such file or directory
cp: cannot stat ‘volume/org.xen.xapi.storage.rbdsr/sr.py’: No such file or directory
chmod: cannot access ‘/usr/libexec/xapi-storage-script/volume/org.xen.xapi.storage.rbdsr/sr.py’: No such file or directory
cp: cannot stat ‘volume/org.xen.xapi.storage.rbdsr/volume.py’: No such file or directory
chmod: cannot access ‘/usr/libexec/xapi-storage-script/volume/org.xen.xapi.storage.rbdsr/volume.py’: No such file or directory
cp: cannot stat ‘datapath/rbd+raw+qdisk/plugin.py’: No such file or directory
chmod: cannot access ‘/usr/libexec/xapi-storage-script/datapath/rbd+raw+qdisk/plugin.py’: No such file or directory
cp: cannot stat ‘datapath/rbd+raw+qdisk/datapath.py’: No such file or directory
chmod: cannot access ‘/usr/libexec/xapi-storage-script/datapath/rbd+raw+qdisk/datapath.py’: No such file or directory
mkdir: cannot create directory ‘/lib/python2.7/site-packages/xapi/storage/libs/librbd’: No such file or directory
cp: cannot stat ‘xapi/storage/libs/librbd/__init__.py’: No such file or directory
chmod: cannot access ‘/lib/python2.7/site-packages/xapi/storage/libs/librbd/__init__.py’: No such file or directory
cp: cannot stat ‘xapi/storage/libs/librbd/ceph_utils.py’: No such file or directory
chmod: cannot access ‘/lib/python2.7/site-packages/xapi/storage/libs/librbd/ceph_utils.py’: No such file or directory
cp: cannot stat ‘xapi/storage/libs/librbd/datapath.py’: No such file or directory
chmod: cannot access ‘/lib/python2.7/site-packages/xapi/storage/libs/librbd/datapath.py’: No such file or directory
cp: cannot stat ‘xapi/storage/libs/librbd/meta.py’: No such file or directory
chmod: cannot access ‘/lib/python2.7/site-packages/xapi/storage/libs/librbd/meta.py’: No such file or directory
cp: cannot stat ‘xapi/storage/libs/librbd/qemudisk.py’: No such file or directory
chmod: cannot access ‘/lib/python2.7/site-packages/xapi/storage/libs/librbd/qemudisk.py’: No such file or directory
cp: cannot stat ‘xapi/storage/libs/librbd/rbd_utils.py’: No such file or directory
chmod: cannot access ‘/lib/python2.7/site-packages/xapi/storage/libs/librbd/rbd_utils.py’: No such file or directory
cp: cannot stat ‘xapi/storage/libs/librbd/utils.py’: No such file or directory
chmod: cannot access ‘/lib/python2.7/site-packages/xapi/storage/libs/librbd/utils.py’: No such file or directory
cp: cannot stat ‘xapi/storage/libs/librbd/volume.py’: No such file or directory
chmod: cannot access ‘/lib/python2.7/site-packages/xapi/storage/libs/librbd/volume.py’: No such file or directory
ln: failed to create symbolic link ‘/lib/python2.7/site-packages/xapi/storage/libs/librbd/qmp.py’: No such file or directory

Some of these files can be tracked to a different path in the archive (sr.py, volume.py, plugin.py, datapath.py) but a lot of them are just nowhere to be found.
There is a mention of

unified xapi storage script

so maybe plugin.json should be referenced in the install script.

It would be awesome to have install.sh updated to fix the above, as I believe these plugins are great (I used v1 before). Should I use v2 in the meantime? Let me know if I can assist in any way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions