File _patchinfo of Package patchinfo.9779
<patchinfo incident="9779">
<issue tracker="bnc" id="1119702">[Trackerbug] Update azure-li-services in SLE 12 Public Cloud Module</issue>
<category>recommended</category>
<rating>moderate</rating>
<packager>sax2</packager>
<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
</description>
<summary>Recommended update for azure-li-services</summary>
</patchinfo>