Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536500 - Integration udev script for use iscsi disk with nova module
Summary: Integration udev script for use iscsi disk with nova module
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo OpenStack team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-13 16:12 UTC by Geaaru
Modified: 2015-05-27 05:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geaaru 2015-01-13 16:12:04 UTC
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
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-01-29 06:17:20 UTC
how's this going?
Comment 2 Geaaru 2015-05-10 10:42:26 UTC
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
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-05-15 18:25:07 UTC
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
Comment 4 Geaaru 2015-05-16 10:08:22 UTC
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.
Comment 5 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-05-16 21:54:42 UTC
added, thanks
Comment 6 Geaaru 2015-05-26 19:31:15 UTC
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
Comment 7 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-05-27 05:54:59 UTC
added the dep behind the existing iscsi use flag