Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for CentOS 7 #249

Closed
wants to merge 13 commits into from
Closed

Conversation

rosslagerwall
Copy link
Contributor

No description provided.

Newer versions of udev do not allow block devices to be renamed
so move the naming into the kernel, and correspondingly update
some paths.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Add some required parameters to allow reinitializing PVs on
CentOS 7.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
force-start doesn't exist with systemd.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Fix scsi_id path.
Fix pid file path.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
…ultipath

Instead of patching dm-multipath, parse its verbose output.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
This is not needed since newer versions of multipath-tools are
integrated differently with udev.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Disable CentOS 7's default rules because SM provides
its own rules.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
The /dev/root symlink doesn't exist on CentOS 7 so just get the device
number from /.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
The /dev/root symlink doesn't exist on CentOS 7 so do it like dracut.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
udev on CentOS 7 kills all processes started from a RUN rule after it
finishes so don't start cdrommon from local-device-change because it
is called from a udev rule.

Instead, an instantiated systemd cdrommon service is started from the udev
rule.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 31.66% when pulling b7a62e4 on rosslagerwall:centos7 into 6b2d6df on xapi-project:master.

@germanop
Copy link
Contributor

germanop commented Apr 2, 2015

Hi Ross,

Are these patches exactly the same we have been testing internally?

@rosslagerwall
Copy link
Contributor Author

Yes.

@germanop
Copy link
Contributor

Ross, everything is ok but I have only one concern about
"Disable the default multipath udev rules" patch.

The rules names 40-multipath was named this way to override the rule with the same name
in CentOS,
I guess this rules has been numbered differently now, so the original sm one should have been
numbered accordinglym withouth any need to override it with a fake one.

@germanop
Copy link
Contributor

Acked-by: Germano Percossi germano.percossi@citrix.com

@germanop germanop closed this in 08d4951 May 26, 2015
andrey-podko pushed a commit to andrey-podko/sm that referenced this pull request Aug 16, 2022
GitHub: closes xapi-project#249 on xapi-project/sm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants