8 Commits

Author SHA1 Message Date
Frank Miller
01745032e7 Revert "Debian: Upgrade systemd version from 247.3-7 to 251.3-1"
This reverts commit 583e744578297838b4a755fc6c9c20281f6de96c.

Reason for revert: Systems with multiple hosts are failing to unlock controller-1 and the computes with those servers halting with an emergency mode prompt.  Suspicion is the newer version of systemd has changed behaviour in udev and disk dependencies. It seems to have caused a previous infrequent issue with emergency mode to occur much more frequently. To enable install and sanities to pass we have to revert this commit until the emergency mode issue is fixed first.

Change-Id: I5235843a3d44c93df472313c0166f5918787a761
2022-08-30 16:50:57 +00:00
Wentao Zhang
583e744578 Debian: Upgrade systemd version from 247.3-7 to 251.3-1
Debian systemd 247. 3-7 will result in greater
overall CPU usage than Centos.
The upgrade to 251 can reduce overall CPU usage
by about 8%, about the same as Centos.

Remove some patches that already involved in systemd 251.3-1

Test Plan(Debian only):
Pass: package and Image build successfully.
Pass: Image boot successfully.
Pass: Ran the high-stress system test for about
      4 days and found nothing abnormal.

Story: 2009221
Task: 46034
Signed-off-by: Wentao Zhang <Wentao.Zhang@windriver.com>
Change-Id: I732fa51db50e2affc33c4b2ec39a912fb16240cb
2022-08-26 13:10:48 +08:00
Dan Voiculeasa
ce4befaafc debian: Introduce and use custom NIC naming scheme
To add some context we start by referencing [1].
More lab tests are enabled now, which reveal more systemd naming
inconsistencies: searching parent slots ([2] vs [3]),
usage of port_name for path and slot ([4] vs [5], [6] vs [7]).
Based on previous observations infer that port_name[8] has to be
dropped from [9], even though it is not yet observed in any lab.
We observe we can't rely on a particular naming scheme already
implemented in systemd, thus we must create a custom one.
Name based on upcoming STX7.0 release.
Align naming to CentOS for discovered differences.

There may be more issues uncovered, as more labs are coverted to
Debian.

[1]: https://review.opendev.org/c/starlingx/kernel/+/841369
[2]: https://github.com/systemd/systemd/blob/v247/src/udev/
udev-builtin-net_id.c#L362,L373
[3]: https://github.com/systemd/systemd/blob/v219/src/udev/
udev-builtin-net_id.c#L229,L237
[4]: https://github.com/systemd/systemd/blob/v247/src/udev/
udev-builtin-net_id.c#L321-L324
[5]: https://github.com/systemd/systemd/blob/v219/src/udev/
udev-builtin-net_id.c#L198-L199
[6]: https://github.com/systemd/systemd/blob/v247/src/udev/
udev-builtin-net_id.c#L391-L394
[7]: https://github.com/systemd/systemd/blob/v219/src/udev/
udev-builtin-net_id.c#L248-L249
[8]: https://github.com/systemd/systemd/commit/
4887b656c22af059d4e833de7b56544f24951184
[9]: https://github.com/systemd/systemd/blob/v247/src/udev/
udev-builtin-net_id.c#L204-L207

Test on AIO-SX Debian:
PASS: Naming in sync with CentOS

Story: 2009964
Task: 45403
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Ifdfd098634feaa5cfafa84b72d3308029cfdd70c
2022-05-20 18:07:52 +03:00
Charles Short
dfa1315083 debian: Update systemd to 247.3-7
Fix build failure due to Debian 11.3. The failure is caused
by us building 247.3-6, while the the package builder was
trying to install systemd 247.3-7 which caused the packages
to fail.

One of the benefits of this is that the systemd-timesync patch
we carry was able to be dropped because it was included
in the latest update.

Test Plan
PASS Build and Install systemd package
PASS Run build-pkgs -a

Story: 2009221
Task: 43416

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I8b7252695186d1ad9e2e89445fdf7d231c39f6f2
2022-03-28 10:33:50 -04:00
Yue Tao
4a709349a9 meta_data.yaml: add sha256sum checksum
Test Plan:
Pass: Verify sha256sum checksum via "download -s"

Story: 2008846
Task: 44578

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
Change-Id: I78d9dff2af0afb18c6db4e8d2d39ef79b5cf5864
2022-03-03 14:30:40 +08:00
Charles Short
8dbdc40fe1 debian: Bump timesyncd from Depends to Recommends
Allows other time sync daemons to be installed such as NTP
to be installed in order to fix the ISO build.

Test Plan:
PASS Build systemd with applied patch
PASS Build ISO with updated systemd

Story: 2009221
Task: 43416

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I76b27b72cc947bf5480b149fef2f3c09657b92c3
2022-01-26 14:10:39 +00:00
Yue Tao
436c8cea3c systemd: use dl_path to download tarball
Use dl_path to download tarball in case of version uprev.

Test plan:

Pass: successfully build systemd

Story: 2009221
Task: 43416

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: Ifc20222f55558a0604218213e05293d779a2e976
2022-01-25 16:38:00 +08:00
Yue Tao
5c5d01915a Add debian package for systemd
Porting 851/909/910/913/919/920/922/923/924/925/926/927
patches to debian, other patches are confirmed in
debian version.

Story: 2009221
Task: 43416
Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I5af677c90342bae7c30991bf465e0db79c71667d
2021-11-14 15:52:18 +08:00