Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

INSTALL.rst needs update WRT storage pool #386

Open
henn opened this issue Jan 6, 2015 · 7 comments
Open

INSTALL.rst needs update WRT storage pool #386

henn opened this issue Jan 6, 2015 · 7 comments
Labels
cleanup needs openVPN Issue that are waiting for OpenVPN service to be implemented

Comments

@henn
Copy link
Contributor

henn commented Jan 6, 2015

Following the directions under Headnode image, it says to add a new storage pool pointing to /var/lib/libvirt/images via pool.xml.

Following this on a default CentOS 6.5 node, I get the following error:

error: Failed to define pool from pool.xml
error: operation failed: Storage source conflict with pool: 'default'

To solve this, I suggest creating a separate directory called /var/lib/livirt/haas-images, which will help to separate the HaaS images from any the system might otherwise be using.

@henn henn added this to the v0.2 milestone Jan 6, 2015
@henn
Copy link
Contributor Author

henn commented Jan 6, 2015

Also, the instructions need to be updated to reflect that CentOS does not have a libvirt user by default.

@henn
Copy link
Contributor Author

henn commented Jan 6, 2015

... and there should be a reference to the haas.cfg base_imgs in the Headnode section

@zenhack
Copy link
Contributor

zenhack commented Jan 7, 2015

This might be an artifact of the fact that there was a previous installation on the MRI node -- I ran through the instructions top to bottom many times and never hit that.

re: libvirt user -- the instructions are fairly clear that you need to create the group, and you don't need the user -- adding the haas user to that group is sufficient.

Adding a reminder re: base_imgs near the image definition bit is a good idea.

@zenhack zenhack added the discuss label Jan 9, 2015
@zenhack zenhack removed the easy label Jul 16, 2015
@zenhack
Copy link
Contributor

zenhack commented Jul 16, 2015

If we just add a thing after the giant chunk of xml example to the effect of "be sure to add the value of <name> to the base_imgs option in haas.cfg", will that be sufficient?

@henn
Copy link
Contributor Author

henn commented Jul 17, 2015

Sorry that I didn't see your previous comment.

re: the original issue, it's more of a styling/separation of the headnode VMs from any other libvirt VMs the system might have. Having a separate libvirt images directory allows the admin to maintain separate permissions for the headnodes from the rest of the system, keeping the haas user from being able to modify them. We can take or leave that suggestion since we plan to separate headnodes out of the base haas anyhow.

re: libvirt user, perhaps we should replace user with group then for this line:

The directory specified by path must already exist, and be readable and writable by the libvirt user

re: adding <name> to base_imgs, that sounds good!

@zenhack
Copy link
Contributor

zenhack commented Jul 17, 2015

I think I'd rather not bother trying to support nice-to-have enhancements to the headnode subsystem at least until we tease it out into a separate package.

clearly something is amiss with the line you're quoting, since there is no libvirt user (including on our functioning setups). I'll comment again once I've looked at it and regained some context.

@henn henn removed this from the v0.2 milestone May 17, 2016
@xuhang57
Copy link
Contributor

xuhang57 commented Feb 1, 2018

This would relate to #392
and #908

@naved001 naved001 added needs openVPN Issue that are waiting for OpenVPN service to be implemented cleanup and removed needs obmd labels Apr 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cleanup needs openVPN Issue that are waiting for OpenVPN service to be implemented
Projects
None yet
Development

No branches or pull requests

4 participants