As describe to this url (https://bugs.launchpad.net/nova/+bug/1386348) to permit a correct management of iscsi disk (through tgt) it is needed install my bash script with a udev.rules file that are available on same url. In the next days i will try to integrate these files on my layman for test. Could be helpful insert this script directly with module installation because I don't know if these files will be added on main tree. Thanks. Bye Geaaru
how's this going?
Hi Matthew, sorry for long delay. On my layman (currently on ebuild 2014.2.2-r1.ebuild (https://github.com/geaaru/geaaru_overlay/blob/master/sys-cluster/nova/nova-2014.2.2-r1.ebuild) I added in python_install section installation of my udev rules and my script for permit correct management of the openstack iscsi disks. I hope that this could be helpful openstack gentoo team for integration. I will try to maintains by layman updated (currently I have very few time) to help gentoo team. On my layman I also added .service file for systemd for all openstack services and this .service files are currently active on my openstack environment. Probably, it is needed some enhancement for permit a fast and easy configuration (for example: create directories /etc/systemd/system/nova-compute.service.d/, and/or a file like /etc/conf.d/nova-compute for custom options), but I will see this in the next future. There is also another important feature to add on openstack ebuild, create an initial configuration for log rotate. I begin this for example on cinder ebuild where install a logging.conf file for any service. I think that is wrong have a first installation without log rotate enable. Bye
the systemd init unit files shouldn't depend on other openstack services (which could be hosted elsewhere). the logging might be good as well, later on (or in another bug). I did add the udev rule though, so this bug is being closed :D
Hi, from cvs viewer it seems that you have missing my filesdir files (scsi-scsi-openscsi-link.sh and openstack-scsi-disk.rules in my layman) Do you confirm ? Thank you. G.
added, thanks
Another thing .., my script scsi-openscsi-link.sh use lsscsi binary (I haven't yet found another way to retrieve data about scsi device used on create udev data) so it is correct add dependency to sys-fs/lsscsi module when scsi use flag is enable. I will investigate for another solution without external tools in the future. Bye
added the dep behind the existing iscsi use flag