Recommended update for azure-li-services

SUSE Recommended Update: Recommended update for azure-li-services
Announcement ID: SUSE-RU-2019:0050-1
Rating: moderate
References: #1119702
Affected Products:
  • SUSE Linux Enterprise Module for Public Cloud 12

An update that has one recommended fix can now be installed.

Description:


This update for azure-li-services fixes the following issues:

  • Fixed group processing in setup_ssh_authorization

The change in the schema to specify group names/id was not handled in the code processing the setup of the ssh authorization. As there was a group key before and after the change in the schema but with a different result and used only as parameters to a mocked grp.getgrnam() system call the unit tests did not uncover the issue. This Fixes #98
  • Write workload log file

In case of a deployment error, a log file in addition to the status flag files is written which contains the systemd service log information from all services ran so far. The log file is written to the storage location from which the yaml config file was read from. It is expected that this location is writable and offers enough space to store the logfile. In case of an error writing the log we will treat this as "bad luck" and continue with the cleanup. This Fixes #96
  • Cleanup code to make flake8 happy

The new version of flake8 is more strict on code checking and complained at several places. This commit fixes the code smells such that flake8 is happy again
  • Added workload status flag file

At the time of the cleanup service a file named: workload_success_is_true or workload_success_is_false will be written on the storage location the config file was read from. At the time this file appears it's also safe to release the config file storage location from the system. This Fixes #93
  • Refactor group schema

The description of a user group must be connected to a name, whereas the group id is an optional information. This should be also reflected in the schema
  • Allow optional group_id in user data

This Fixes #90

Patch Instructions:

To install this SUSE Recommended Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • SUSE Linux Enterprise Module for Public Cloud 12:
    zypper in -t patch SUSE-SLE-Module-Public-Cloud-12-2019-50=1

Package List:

  • SUSE Linux Enterprise Module for Public Cloud 12 (noarch):
    • azure-li-services-1.1.17-1.8.1

References: