s390: missing cpuplugd

Bug #1564496 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
s390-tools (Ubuntu)
Fix Released
Medium
Dimitri John Ledkov

Bug Description

Requirement for : cpuplugd

This also includes a configuration file, man-page, and init script. The suggested package concept is a subpackage of the s390-tools.

This is a command and a set of rules in a configuration file to dynamically
enable or disable CPUs. For Linux on z/VM, you can also dynamically add or
remove memory.

Sample debdiff to integrate the cpuplugd daemon as subpackage of the s390-tools

Revision history for this message
bugproxy (bugproxy) wrote : cpuplugd.debdiff

Default Comment by Bridge

tags: added: architecture-s39064 bugnameltc-139839 severity-critical targetmilestone-inin1604
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
Luciano Chavez (lnx1138)
affects: ubuntu → s390-tools (Ubuntu)
dann frazier (dannf)
Changed in s390-tools (Ubuntu):
assignee: Skipper Bug Screeners (skipper-screen-team) → Dimitri John Ledkov (xnox)
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

looks good, on ubuntu makes sense to only ship the systemd unit.

Changed in s390-tools (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Why a sub-package? Would it be acceptable to ship this in s390-tools, but with systemd unit disabled? That way if people want to use cpuplugd they would modify the config as suitable, and enable it with `systemctl enable cpuplugd`.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

systemd unit should be shipped upstream, imho.

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-04-04 08:33 EDT-------
(In reply to comment #12)
> Why a sub-package? Would it be acceptable to ship this in s390-tools, but
> with systemd unit disabled? That way if people want to use cpuplugd they
> would modify the config as suitable, and enable it with `systemctl enable
> cpuplugd`.

It is also fine to ship it with s390-tools. The systemd unit might be disabled. I will take care to add the systemd unit in the upstream s390-tools. Regarding the enablement of systemd units, can this be done on a per unit base? I mean, if you we add more and more systemd units in future, how to control enablement of particular systemd units only. (This is more a generic questions rather something on this BZ).

Changed in s390-tools (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package s390-tools - 1.34.0-0ubuntu3

---------------
s390-tools (1.34.0-0ubuntu3) xenial; urgency=medium

  * Ship all tools, mostly harmless LP: #1555167, LP: #1564690, LP: #1564696
  * Add snmp build-dependency to build osasnmpd as a separate
    package LP: #1564699
  * Add cpuplugd, with patches to default config, as a separate
    package LP: #1564496
  * Update branding from "S/390" to "z Systems"

 -- Dimitri John Ledkov <email address hidden> Wed, 06 Apr 2016 02:12:04 +0100

Changed in s390-tools (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-04-07 06:19 EDT-------
You can get the additional package via:
apt-get install s390-tools-cpuplugd

When it is installed, the service is enabled by default!! (OK, since it is a sub-package)

root@s8330003:~# systemctl status cpuplugd.service
? cpuplugd.service - CPU and memory hotplug daemon for Linux on z Systems
Loaded: loaded (/lib/systemd/system/cpuplugd.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2016-04-07 12:08:08 CEST; 1min 29s ago
Main PID: 1713 (cpuplugd)
Tasks: 1 (limit: 512)
Memory: 160.0K
CPU: 30ms
CGroup: /system.slice/cpuplugd.service
??1713 /usr/sbin/cpuplugd -f -c /etc/cpuplugd.conf

Apr 07 12:08:08 s8330003 systemd[1]: Started CPU and memory hotplug daemon for Linux on z

And cpu hotplugging works also as expected. Closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.