Skip to contentSkip to conversation

Native systemd service files for multipathd

DISCUSSION Jóhann B. Guðmundsson 5 participants 8 messages Jun 30, 2011 – Aug 23, 2011 Device mapper

lore
Share & tools
lore
#0 lore raw

Is anyone taking a look at porting the multipathd legacy sysv init script to native systemd unit file?

I filed 690828 on 2011-03-25 and yet to receive somekind of response on it and unless some action is taken then a) device-mapper-multipath will be blocking the Fedora 16 alpha release or b) be ripped out of @base and be made sure it does not get installed on the official livecd.

So please take a look at this..

Thanks
JBG

Ps.
You will need to cc me to your responses since I'm not subscripted
to this list.

#1 lore raw
Quoted 8 lines · Jóhann B. Guðmundsson

Is anyone taking a look at porting the multipathd legacy sysv init script to native systemd unit file?

I filed 690828 on 2011-03-25 and yet to receive somekind of response on it and unless some action is taken then a) device-mapper-multipath will be blocking the Fedora 16 alpha release or b) be ripped out of @base and be made sure it does not get installed on the official livecd.

What is the status of this request ? Has anyone stepped-in to the job ? If not I'll look into it. If you have Fedora-specific systemd implementation guideline, please point me to the appropriate documentation.

Thanks,

Signature · 7 lines
Christophe Varoqui <[email protected]>
OpenSVC, tools to scale.

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#2 lore raw
Quoted 9 lines · Christophe Varoqui
Quoted 8 lines · Jóhann B. Guðmundsson

Is anyone taking a look at porting the multipathd legacy sysv init script to native systemd unit file?

I filed 690828 on 2011-03-25 and yet to receive somekind of response on it and unless some action is taken then a) device-mapper-multipath will be blocking the Fedora 16 alpha release or b) be ripped out of @base and be made sure it does not get installed on the official livecd.

Quoted 6 lines

What is the status of this request ? Has anyone stepped-in to the job ? If not I'll look into it. If you have Fedora-specific systemd implementation guideline, please point me to the appropriate documentation.

Thanks,

This was finished over a month ago.

Thanks
JBG

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#3 lore raw
In reply to Christophe Varoqui
Quoted 9 lines · Christophe Varoqui
Quoted 8 lines · Jóhann B. Guðmundsson

Is anyone taking a look at porting the multipathd legacy sysv init script to native systemd unit file?

I filed 690828 on 2011-03-25 and yet to receive somekind of response on it and unless some action is taken then a) device-mapper-multipath will be blocking the Fedora 16 alpha release or b) be ripped out of @base and be made sure it does not get installed on the official livecd.

Quoted 5 lines

What is the status of this request ? Has anyone stepped-in to the job ? If not I'll look into it. If you have Fedora-specific systemd implementation guideline, please point me to the appropriate documentation.

I have talked with Kay & Lennart about this.

The main problem here is that we don't / can't know if a device is multipathed or not; this is basically a policy decision. Even a simple switch (multipath on/off) wouldn't suffice here, as this particular device might be excluded via the configuration file.

Idea here is to modify the 'multipath' program to determine if a particular device is handled by multipath or not. If so, _no other_ configuration must be done in that device. The multipathd daemon itself already listens on events from the udev socket; it should be pretty trivial to convert that to socket activation.

And, of course, we need to solve the mount problem. Last I've heard was that systemd _won't_ be handling mounting, which in effect means we cannot mount any systems provided via multipath ...

What is the status here?

Cheers,

Hannes

Signature · 9 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#4 lore raw
Quoted 29 lines · Hannes Reinecke
Quoted 10 lines · Christophe Varoqui
Quoted 9 lines · Jóhann B. Guðmundsson

Is anyone taking a look at porting the multipathd legacy sysv init script to native systemd unit file?

I filed 690828 on 2011-03-25 and yet to receive somekind of response on it and unless some action is taken then a) device-mapper-multipath will be blocking the Fedora 16 alpha release or b) be ripped out of @base and be made sure it does not get installed on the official livecd.

Quoted 5 lines

What is the status of this request ? Has anyone stepped-in to the job ? If not I'll look into it. If you have Fedora-specific systemd implementation guideline, please point me to the appropriate documentation.

I have talked with Kay & Lennart about this.

The main problem here is that we don't / can't know if a device is multipathed or not; this is basically a policy decision. Even a simple switch (multipath on/off) wouldn't suffice here, as this particular device might be excluded via the configuration file.

Idea here is to modify the 'multipath' program to determine if a particular device is handled by multipath or not. If so, _no other_ configuration must be done in that device.
The multipathd daemon itself already listens on events from the udev socket; it should be pretty trivial to convert that to socket activation.

Quoted 5 lines

And, of course, we need to solve the mount problem. Last I've heard was that systemd _won't_ be handling mounting, which in effect means we cannot mount any systems provided via multipath ...

What is the status here?

It fully support mounts on boot, dynamically created, or on hotplug, with or without automounter support.

But it will not assemble/handle/know anything about any dm/md devices.

Kay

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#5 lore raw
Quoted 34 lines · Kay Sievers
Quoted 33 lines · Hannes Reinecke
Quoted 10 lines · Christophe Varoqui
Quoted 9 lines · Jóhann B. Guðmundsson

Is anyone taking a look at porting the multipathd legacy sysv init script to native systemd unit file?

I filed 690828 on 2011-03-25 and yet to receive somekind of response on it and unless some action is taken then a) device-mapper-multipath will be blocking the Fedora 16 alpha release or b) be ripped out of @base and be made sure it does not get installed on the official livecd.

Quoted 5 lines

What is the status of this request ? Has anyone stepped-in to the job ? If not I'll look into it. If you have Fedora-specific systemd implementation guideline, please point me to the appropriate documentation.

I have talked with Kay& Lennart about this.

The main problem here is that we don't / can't know if a device is multipathed or not; this is basically a policy decision. Even a simple switch (multipath on/off) wouldn't suffice here, as this particular device might be excluded via the configuration file.

Idea here is to modify the 'multipath' program to determine if a particular device is handled by multipath or not. If so, _no other_ configuration must be done in that device.
The multipathd daemon itself already listens on events from the udev socket; it should be pretty trivial to convert that to socket activation.

And, of course, we need to solve the mount problem. Last I've heard was that systemd _won't_ be handling mounting, which in effect means we cannot mount any systems provided via multipath ...

Quoted 7 lines
Quoted 1 line

What is the status here?

It fully support mounts on boot, dynamically created, or on hotplug, with or without automounter support.

But it will not assemble/handle/know anything about any dm/md devices.

Yeah, but this should taken care of if and when LVM2 and MD gets converted to systemd, right ?

Cheers,

Hannes

Signature · 9 lines
Dr. Hannes Reinecke		      zSeries & Storage
[email protected]			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
#6 lore raw
Quoted 46 lines · Hannes Reinecke
Quoted 45 lines · Kay Sievers
Quoted 42 lines · Hannes Reinecke
Quoted 12 lines · Christophe Varoqui
Quoted 10 lines · Jóhann B. Guðmundsson

Is anyone taking a look at porting the multipathd legacy sysv init script to native systemd unit file?

I filed 690828 on 2011-03-25 and yet to receive somekind of response on it and unless some action is taken then a) device-mapper-multipath will be blocking the Fedora 16 alpha release or b) be ripped out of @base and
be made sure it does not get installed on the official livecd.

Quoted 5 lines

What is the status of this request ? Has anyone stepped-in to the job ? If not I'll look into it. If you have Fedora-specific systemd implementation guideline, please point me to the appropriate documentation.

I have talked with Kay&  Lennart about this.

The main problem here is that we don't / can't know if a device is multipathed or not; this is basically a policy decision. Even a simple switch (multipath on/off) wouldn't suffice here, as this particular device might be excluded via the configuration file.

Idea here is to modify the 'multipath' program to determine if a particular
device is handled by multipath or not. If so, _no other_ configuration must
be done in that device.
The multipathd daemon itself already listens on events from the udev socket;
it should be pretty trivial to convert that to socket activation.

And, of course, we need to solve the mount problem. Last I've heard was that
systemd _won't_ be handling mounting, which in effect means we cannot mount
any systems provided via multipath ...

What is the status here?

Quoted 7 lines
Quoted 5 lines

It fully support mounts on boot, dynamically created, or on hotplug, with or without automounter support.

But it will not assemble/handle/know anything about any dm/md devices.

Yeah, but this should taken care of if and when LVM2 and MD gets converted to systemd, right ?

Right. The tool to do that would probably be some raid-assembly daemon that replaces the insanity in current shell scripts and called tools that scan /dev. There is no plan currently to integrate any raid-assembly into systemd natively.

Kay

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

#7 lore raw
In reply to Christophe Varoqui
Quoted 11 lines · Christophe Varoqui
Quoted 6 lines · Jóhann B. Guðmundsson

Is anyone taking a look at porting the multipathd legacy sysv init script to native systemd unit file?
I filed 690828 on 2011-03-25 and yet to receive somekind of response on it and unless some action is taken then a) device-mapper-multipath will be blocking the Fedora 16 alpha release or b) be ripped out of @base and be made sure it does not get installed on the official livecd.

What is the status of this request ? Has anyone stepped-in to the job ? If not I'll look into it. If you have Fedora-specific systemd implementation guideline, please point me to the appropriate documentation.

As you can see, that bugzilla got closed 19th July.

It was linked to another one 723357 which is also closed, but the comment #2 there suggests there is still a problem to be dealt with:

I'm not sure why udev synchronization is failing during startup, but it is.

Ben, is that still a problem to be investigated?

Alasdair