17
0

146 Commits

Author SHA256 Message Date
8a8e0f880b Accepting request 1320490 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1320490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=43
2025-11-28 15:54:13 +00:00
0d4707fcf2 - Fix dependencies for SLE 16 (bsc#1254129)
+ procps instead of sysvinit-tools

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=145
2025-11-21 13:52:06 +00:00
7a9baf44e7 no patch needed, but the subscription has to enable fips
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=144
2025-11-15 12:55:15 +00:00
057eff2e97 add gh patch reference
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=143
2025-11-14 22:03:18 +00:00
dacf8e4b9c - Update to version 2.14.0.1 (bsc#1253001)
+ Drop - included upstream
    ~ agent-btrfs-use-f.patch included upstream
    ~ remove-mock.patch
  + Add
    ~ paa_fips_compliance.patch
  + FIPS 140-3 support
  + Block extensions disallowed by policy
  + Report ext policy errors in heartbeat
  + Implement signature validation helper functions
  + Prevent ssh public key override
  + Use proper filesystem creation flag for btrfs
  + Enable resource monitoring in cgroup v2 machines
  + Update agent cgroup cleanup
  + Add cgroupv2 distros to supported list
  + Clean old agent cgroup setup
  + Redact sas tokens in telemetry events and agent log
  + Add conf option to use hardcoded wireserver ip instead of dhcp request
    to discover wireserver ip
  + Support for python 3.12
  + Update telemetry message for agent updates and send new telemetry for
    ext resource governance
  + Disable rsm downgrade
  + Add community support for Chainguard OS
  + Swap out legacycrypt for crypt-r for Python 3.13+
  + Pin setuptools version
  + Set the agent config file path for FreeBSD
  + Handle errors importing crypt module
- From 2.13.1.1
  + Setup: Fix install_requires list syntax

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=142
2025-11-14 15:50:58 +00:00
0974281672 Accepting request 1288018 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1288018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=42
2025-06-24 18:47:46 +00:00
0cc8d30a6f - Set AutoUpdate.UpdateToLatestVersion=n in /etc/waagent.conf
(bsc#1244933)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=140
2025-06-23 18:29:01 +00:00
80584d051f Accepting request 1269989 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1269989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=41
2025-04-16 18:42:30 +00:00
d040db9823 - Fix %suse_version conditional in spec file so package is built
using python2 in SLE 12 (bsc#1240385)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=138
2025-04-16 11:34:32 +00:00
5ce34bac0d Accepting request 1249088 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1249088
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=40
2025-02-28 16:39:07 +00:00
88e4209600 Fix if statement
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=136
2025-02-20 21:25:58 +00:00
679dd59f5d - Add a new version of paa_force_py3_sle15.patch to compensate for
missing Python RPM macros in older distros

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=135
2025-02-20 21:18:02 +00:00
d0fde46790 Accepting request 1237584 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1237584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=39
2025-01-14 15:22:43 +00:00
4a21e11fcd preserve unbiffered io nature
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=133
2025-01-06 21:55:01 +00:00
f316d385d9 - Update to version 2.12.04 (bsc#1235140)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=132
2025-01-06 21:41:45 +00:00
9c11f2dd90 + Add paa_direct_exec_in_service.patch
~ The waagent script is executable and we set the proper interpreter
      using the macro for multibuild python. Do prefix the execution in the
      service file wit the interpreter

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=131
2025-01-06 21:36:27 +00:00
4d8c942d83 ~ Simplify build and install conditionals using macros
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=130
2025-01-06 17:19:03 +00:00
e8e4ee2b5e how about this
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=129
2025-01-06 16:49:34 +00:00
f9e05bb43e yet another try
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=128
2025-01-06 16:40:28 +00:00
3962c28761 another attempt to handle our insane variation in distribution naming
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=127
2025-01-06 16:25:46 +00:00
a9678fa135 - Stick with setup.py for all distro builds
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=126
2025-01-06 16:01:43 +00:00
c7ba1f90b8 create empty config file to appeas the checker
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=125
2025-01-06 15:10:01 +00:00
d4d53a7f55 - Update to version 2.12.04 (bsc#1234567890)
+ Remove agent-no-auto-update.patch handeled by config file specialization
    sub-packages
  + Remove paa_force_py3_sle15.patch handled by RPM macro
  + Remove agent-micro-is-sles.patch included upstream
  + Forward port paa_12_sp5_rdma_no_ext_driver.patch
  + Forward port remove-mock.patch
  + Fix install_requires list syntax
  + Update spec file
    ~ Remove conditions for distros no longer maintained
    ~ Switch to new Python version and wheel build for newer distros
From 2.12.02
  + Enable GA versioning #3082 #3184 #3189
  + Cgroups api refactor for v2 #3096 #3135 #3188 #3196
  + Fix JIT for FIPS 140-3 #3190
  + reset network service unit file if python version changes #3058
  + Recognize SLE-Micro as a SLE based distribution #3048
  + Add distutils/version.py to azurelinuxagent #3063
  + Use legacycrypt instead of crypt on Python >= 3.13 #3070
  + Fix osutil/default route_add to pass string array. #3072
  + Fix argument to GoalState.init #3073
  + Add lock around access to fast_track.json #3076
  + Add DistroVersion class to compare distro versions #3078
  + LogCollector should skip and log warning for files that don't exist #3098
  + check for unexpected process in agent cgroups before cgroups enabled #3103
  + [Redo with correct source/target]: Remove check for "ibXX" interface
    format and rework mac-address regex to expand support #3150
  + Fix Ubuntu version codename for 24.04 #3159
  + Update test certificate data #3166
  + move setupslice after cgroupsv2 check, remove unit file for

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=124
2024-12-26 10:48:34 +00:00
e4caa26f1d Accepting request 1226093 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1226093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=38
2024-11-25 22:20:16 +00:00
adc11aaa68 - fix a few typos in the spec file and use proper macros where
applicable
- remove python3 requires

    installed.
  + Enabled support for Fast Track (faster processing of extensions)
- 2.8.0.11 followed 2.7.3.0, no intermediate releases
  in /etc and restoring them while an RPM update.
    interfaces of the VM

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=122
2024-11-24 12:53:12 +00:00
aa2496edae Accepting request 1196130 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1196130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=37
2024-08-27 17:38:54 +00:00
fcd53d2b16 + The agent service gets restarted in post but may fail due to a missing
to restart the agent again.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=120
2024-08-19 19:37:00 +00:00
308ac081bb - Restart the agent (bsc#1227600)
+ The agnet service gets restarted in post but may fail due to a missing
    config file. config files were split into their own package previously.
    When we detect that we have to restore a config file we also need
    to restrat the agent again.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=119
2024-08-19 11:17:02 +00:00
e291eb4f86 Accepting request 1187232 from Cloud:Tools
fix typo in patch

OBS-URL: https://build.opensuse.org/request/show/1187232
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=36
2024-07-15 17:46:34 +00:00
a105b5599f OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=117 2024-07-12 19:44:10 +00:00
aaeac8f8f3 - Add agent-btrfs-use-f.patch (bsc#1227711)
+ Use the proper option to force btrfs to overwrite a file system on the
    resource disk if one already exists.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=116
2024-07-12 15:51:46 +00:00
74afdef6a5 Accepting request 1186652 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1186652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=35
2024-07-11 18:30:32 +00:00
66271b5160 - Set Provisioning.Agent parameter to 'cloud-init' in SLE Micro >= 5.5
(bsc#1227106).
- Do not package waagent2.0 in Python 3 builds.
- Drop obsolete otherproviders keyword from Conflicts statements

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=114
2024-07-10 17:07:02 +00:00
1016172f5c Accepting request 1184344 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1184344
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=34
2024-07-02 16:17:33 +00:00
aca83083e4 - Do not require wicked in non-SUSE build environments.
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=112
2024-07-01 16:18:42 +00:00
0464539587 Accepting request 1183695 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1183695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=33
2024-06-28 13:47:26 +00:00
3a2ca08847 - Apply python3 interpreter patch in non SLE build environments
(bcs#1227067)
- Simplify %suse_version conditionals

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=110
2024-06-27 19:21:32 +00:00
b76da90ce8 Accepting request 1180895 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1180895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=32
2024-06-14 17:03:00 +00:00
9ac9e0b949 one more SE Linux context setting
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=108
2024-06-07 11:12:58 +00:00
185b1a34e1 - Use the -Z option for mv and cp in the posttrans to properly handle
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=107
2024-06-05 19:16:38 +00:00
c6efcfb1ec - Use the -Z option for mc and cp in the posttrans to properly handle
SELinux context (bsc#1225946)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=106
2024-06-05 19:05:35 +00:00
c1979791a5 Accepting request 1168857 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1168857
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=31
2024-04-18 20:13:33 +00:00
cf81e13ec1 Move the script to handle the restore of the config file into the proper section, posttrans
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=104
2024-04-11 12:20:29 +00:00
eba7f0c4c5 - Keep the existing config file (bsc#1222620)
+ During separation of the config file into subpackages it was forgotten
    that on update of the main package the previously provided config file
    would be removed. SInce we do not know which flavor of our images the
    package is being upgraded on, preserve the previously existing config
    file. This will orphan the file if non of the -config-* packages gets
    installed.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=103
2024-04-10 22:57:21 +00:00
360c4e831b Accepting request 1152514 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1152514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=30
2024-02-27 21:57:03 +00:00
b52dba9b74 Accepting request 1147656 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1147656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=29
2024-02-20 20:14:24 +00:00
e3cafa923f - Do not force wicked dependency for networking, allow NM in SLE Micro 5.5
and for ALP based products
- Change patch syntax in preparetion for RPM 4.20

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=100
2024-02-20 20:11:02 +00:00
8145f8d4c9 - Recognise SLE-Micro as a SLE based distro
+ Add agent-micro-is-sles.patch
- Create sub-packages for the config (jsc#PED-7869)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=99
2024-02-12 18:48:46 +00:00
0dc5f13cdd Accepting request 1128739 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1128739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=28
2023-11-26 18:37:08 +00:00
5fd80e44c4 - Create sub-packages for the config
+ Remove config manipulation from image building
  + Set up a config for SLE-Micro
  + Makes deafult upstream config available
- Update to 2.9.1.1 (bsc#1217301, bsc#1217302)
  + Update remove-mock.patch
  + Download certificates when goal state source is fast track #2761
  + Increase the max number of extension events by 20% #2785
  + Remove version suffix from extension slice #2782
  + Support int type for eventPid and eventTid fields #2786
  + Improve log for swap counter not found #2789
  + Remove cgroup files during deprovisioning #2790
  + Log VM architecture in heartbeat telemetry for arm64 adoption
     monitoring #2818
  + Enforce memory usage for agent #2671
  + Use common download logic for agent downloads #2682
  + Implement Fedora distro #2642
  + Report message in handler heartbeat #2688
  + Remove dependency on pathlib from makepkg #2717
  + Do not fetch extensions goal state in log collector #2713
  + Update log collector unit file to remove memory limit #2757
  + Fix bug in get_dhcp_pid (CoreOS) #2784
  + Fetch full distro version for mariner #2773
From 2.9.04
  + Resource Governance on extensions (CPU monitoring and enforcing & Memory
    monitoring) #2632 #2581 #2555
  + Agent resource governance #2597 #2591 #2546
  + monitor system-wide memory metrics (#2610)
  + Additional telemetry for goal state (#2675)
  + HostGAPlugin usage improvements #2662 #2673 #2655 #2651

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=97
2023-11-18 13:07:27 +00:00