1
0

141 Commits

Author SHA256 Message Date
2dc037917a Dependency issue
IN SLE 16 sysvinit-tools has been replaced by procps
2025-11-21 08:52:18 -05:00
6c76e34902 FIPS complianes
Version update to pick upstream changes for FIPS compliance.
2025-11-15 07:58:15 -05: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
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
87963ed2a6 Accepting request 1065513 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1065513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=27
2023-02-13 15:41:25 +00:00
d84efbb300 Accepting request 1063998 from home:dimstar:Factory
- Clean up conditions in spec file:
  + There is no maintained distro > 1315 (SLE12) AND < 1500
    (SLE15). Only openSUSE 13.2 and 13.3 lived in that space, but
    they are clearly not the target of this spec file.
  + if 0%{?Suse_version} && 0{?suse_version} > 1315: no need to
    first validate suse_version being defined: whenever it
    is > 1315, must be defined.

- Tighten Requires against python3-mock.

OBS-URL: https://build.opensuse.org/request/show/1063998
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=95
2023-02-13 14:02:26 +00:00
78b71cd6b6 Accepting request 1063976 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1063976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=26
2023-02-09 15:23:28 +00:00
48671c09a9 Accepting request 1060713 from home:StevenK:branches:Cloud:Tools
- Add patch remove-mock.patch:
  * Use unittest.mock first, falling back to mock if required.
- Tighten Requires against python3-mock.

OBS-URL: https://build.opensuse.org/request/show/1060713
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=93
2023-02-09 10:13:48 +00:00
918da02de0 Accepting request 1008593 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1008593
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=25
2022-10-07 23:22:45 +00:00
de2f15db55 - Add paa_12_sp5_rdma_no_ext_driver.patch (bsc#1203181)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=91
2022-09-29 20:41:07 +00:00
bacb984ed8 fix buildrequires
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=90
2022-09-29 19:06:19 +00:00
fd08cd1ce7 typo
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=89
2022-09-29 18:48:08 +00:00
c568f659e7 handle unit file location in a generic non distribution way
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=88
2022-09-29 18:33:49 +00:00
f8e72784e3 - Update to version 2.8.0.11 (bsc#1203164)
+ Enabled support for Fast Track (faster processing of extensions) 
  + Add telemetry for VM Size
  + Add telemetry for environment variables passed to extensions
  + Enforce CPU quota on the Agent on Red Hat and CentOS 7.4+
  + Restore all firewall rules needed for communication with the WireServer
  + Fix false positives reporting processes in the Agent's cgroup
  + Fix false errors when collecting debug logs
  + Don't report incorrect CPU usage data
  + Fetching a goal state with empty certificates property
  + Silence goal state fetch errors after 3 logs
  + Change fast track timestamp default from None to datetime.min
  + Retry HGAP's extensionsArtifact requests on BAD_REQUEST status
  + Support for Rocky Linux
  + RHEL 8
  + RHEL 9
  + Preliminary work to enforce CPU quota on extensions
  + Preliminary work for management of agent self-updates [GA Versioning]
  + Add CentOS 7.9 to end-to-end-tests
  + Add Mariner to end-to-end-tests
- 2.8.0.11 followed 2.7.3.0, no intermediate releases

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=87
2022-09-29 15:52:54 +00:00
8fdea34898 Accepting request 1003793 from home:schubi2:logrotate
- Migration to /usr/etc: Saving user changed configuration files
  in /etc and restoring them while an RPM update.

OBS-URL: https://build.opensuse.org/request/show/1003793
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=86
2022-09-29 15:32:35 +00:00
cee043a026 - Update to 2.7.3.0 (jsc#PED-1298)
+ Remove proper_dhcp_config_set.patch included upstream
  + Remove sle_hpc-is-sles.patch included upstream
  + Forward port reset-dhcp-deprovision.patch
  + Retry HGAP's extensionsArtifact requests on BAD_REQUEST status #2622
  + Use 'ip' instead of 'ifdown/ifup' to restart network interface on
    RHEL >= 8.6 #2612 #2624
- From 2.7.1.0
  + hotfix for OOM errors on the log collector
- From 2.7.0.6
  + Increase time of autoupdates after updates are available #2403
  + Send telemetry when upgrade available #2421
  + Enable collection of debugging information #2436, #2453, #2510
  + Add support for Python 2.6 to the debug info collection code #2452
  + Enable CPU/memory data collection on RedHat and CentOS #2450
  + Exclude end-to-end tests from Agent setup #2396, #2402
  + Fix log message in cgroups management #2427
  + Fix parsing of malformed error.json files #2433
  + Allow DNS queries over TCP #2429
  + Dont exit extension handler process if unable to fetch
    first goal state #2440
  + Improvements for Mariner #2407, #2414
  + Add uos support #2420
  + Add support for VMware PhotonOS #2431
- From 2.6.0.2
  + added cloudlinux support (#2344)
  + Enable extensions cpu monitoring (#2357, #2384, #2391)
  + Support Flatcar Container Linux (#2365)
  + Retrieve VmSettings from HostGAPlugin
    (#2378, #2382, #2386, #2394, #2397, #2404)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=85
2022-08-11 20:40:12 +00:00
bf76343aa7 Accepting request 984656 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/984656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=24
2022-06-23 08:25:10 +00:00
2028d22816 Accepting request 984146 from home:schubi2
- Removed %config flag for files in /usr directory.

OBS-URL: https://build.opensuse.org/request/show/984146
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=83
2022-06-23 06:06:26 +00:00
03483cf2be Accepting request 984043 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/984043
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=23
2022-06-21 14:32:33 +00:00
d5f8515d97 Accepting request 983914 from home:schubi2
- Cleanup spec file:
  -- Removed %{_distconfdir}/logrotate.d from dirlist. It will be
     handled by package filelist now.
  -- %{_distconfdir}/logrotate.d/* can be changed by vendor only.
     So it will be replaced by an RPM update.

OBS-URL: https://build.opensuse.org/request/show/983914
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=81
2022-06-20 19:21:40 +00:00
01b1cf2efd Accepting request 982786 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/982786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=22
2022-06-16 16:20:32 +00:00
d096f9e20c Accepting request 982765 from home:schubi2
- Moved logrotate files from user specif directory /etc/logrotate.d
  to vendor specif directory /usr/etc/logrotate.d.

OBS-URL: https://build.opensuse.org/request/show/982765
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=79
2022-06-15 11:40:09 +00:00
9d7d4a673c Accepting request 978052 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/978052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=21
2022-05-19 20:49:33 +00:00
d9bcbab41c Accepting request 977805 from home:pgajdos:python
- require python-rpm-macros to fix build for TW
- do not require test dependencies for build, they are not needed
  (no testsuite run in %check)

OBS-URL: https://build.opensuse.org/request/show/977805
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=77
2022-05-19 06:22:52 +00:00
506bd77e11 Accepting request 976608 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/976608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=20
2022-05-12 21:00:56 +00:00
cf8acfd17c - Add reset-dhcp-deprovision.patch (bsc#1198258)
+ Reset the dhcp config when deprovisioning and instance to ensure
    instances from aVM image created from that instance send host information
    to the DHCP server.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=75
2022-05-05 12:30:36 +00:00
9f3b8a068a Accepting request 869962 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/869962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=19
2021-02-07 14:21:57 +00:00
71b59bfab6 - Add sysvinit-tools as dependency (bsc#1181600, bsc#1181601)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=73
2021-01-30 11:26:40 +00:00
9598658818 Accepting request 865019 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/865019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=18
2021-01-22 20:51:43 +00:00
2e5712614d - Add sle_hpc-is-sles.patch (bsc#1180719)
+ Recognise SLE_HPC as SLES and use the proper RDMA handler and
    distro specific initialization code

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=71
2021-01-13 14:40:15 +00:00
57e8e34fee Accepting request 840879 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/840879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=17
2020-10-12 11:58:18 +00:00
2b86edfcbe - Update proper_dhcp_config_set.patch (bsc#1177161, bsc#1177257)
+ Add missing imports

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=69
2020-10-03 15:45:39 +00:00
44985b3244 Accepting request 835300 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/835300
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=16
2020-10-02 15:28:17 +00:00
b321258fd8 - Update to version 2.2.49.2 (bsc#1176368, bsc#1176369)
+ Remove paa_use_hostnamectl.patch included upstream
  + Forwrad port proper_dhcp_config_set.patch
  + Do not use --unit with systemd-cgls (#1910)
  + Report processes that do not belong to the agent's cgroup (#1908)
  + Use controller mount point for extension cgroup path (#1899)
  + Improvements in setup of cgroups (#1896)
  + Remove ExtensionsMetricsData and per-process Memory data (#1884)
  + Fix return value of start_extension_command (#1927)
  + Remove import * (#1900)
  + Fix flaky ExtensionCleanupTest class (#1898)
  + Fix codecov badge (#1883)
  + Changed codecov to run on py3.8 (#1875)
  + Update documentation on /dev/random (#1909)
  + Mount options are in mount(8) (#1893)
  + Remove ssh host key thumbprint in report ready (#1913)
  + Emit AutoUpdate value at service start only (#1907)
  + Add logging for version mismatch (#1895)
  + Send telemetry event if libdir changes (#1897)
  + Add log collector utility (#1847)
  + Move AutoUpdate reporting to HeartBeat event (#1919)
  + Removing infinite download of extension manifest without a new GS (#1874)
  + Fix wrongful dir deletion (#1873)
  + Fix the cleanup-outdated-handlers to only delete handlers that are not
    present in the GS (#1889)
  + Expose periods of environment thread in waagent.conf (#1891)
  + Added user @kevinclark19a as Contributor. (#1906)
- From 2.2.48.1
  + Refactoring GoalState class out of Protocol, making Protocol thread-safe,
    removing stale dependencies of Protocol and removing the dependency on

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=67
2020-09-10 20:30:31 +00:00
c97410f1cb Accepting request 826678 from Cloud:Tools
- Drop paa_sudo_sle15_nopwd.patch (bsc#1175198)
  + sudoers file is managed by cloud-init we no longer need this hack

OBS-URL: https://build.opensuse.org/request/show/826678
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=15
2020-08-15 19:19:41 +00:00
8a8fd04879 - Drop paa_sudo_sle15_nopwd.patch (bsc#1175198)
+ sudoers file is managed by cloud-init we no longer need this hack

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=65
2020-08-14 13:01:21 +00:00
1cbdd58776 Accepting request 822699 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/822699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=14
2020-07-27 15:38:27 +00:00
a7045d043b - Add proper_dhcp_config_set.patch (bsc#1173866)
+ Properly set the dhcp configuration to push the hostname to the DHCP
    server
  + Do not bring the interface down to push the hostname, just use ifup

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=63
2020-07-17 17:46:50 +00:00
efb11d72ce Accepting request 790353 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/790353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=13
2020-04-01 17:13:30 +00:00
d85402a5e4 - Add paa_use_hostnamectl.patch (bsc#1167601, bsc#1167602)
+ Set the hostname using hostnamectl to ensure setting is
    properly applied

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=61
2020-03-24 20:45:02 +00:00
d1341e7b79 Accepting request 770796 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/770796
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=12
2020-02-07 14:55:48 +00:00
b44994089f Accepting request 769697 from home:dimstar:Factory
Shortcut through -mini

OBS-URL: https://build.opensuse.org/request/show/769697
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=59
2020-02-07 08:21:17 +00:00
c895d9133e Accepting request 755926 from Cloud:Tools
- Update to version 2.2.45 (jsc#ECO-80)
  + Remove paa_cve_2019-0804.patch, included upstream
  + Add support for Gen2 VM resource disks
  + Use alternate systemd detection
  + Fix /proc/net/route requirement that causes errors on FreeBSD
  + Add cloud-init auto-detect to prevent multiple provisioning mechanisms
    from relying on configuration for coordination
  + Disable cgroups when daemon is setup incorrectly
  + Remove upgrade extension loop for the same goal state
  + Add container id for extension telemetry events
  + Be more exact when detecting IMDS service health
  + Changing add_event to start sending missing fields
- From 2.2.44
  + Remove outdated extension ZIP packages
  + Improved error handling when starting extensions using systemd
  + Reduce provisioning time of some custom images
  + Improve the handling of extension download errors
  + New API for extension authors to handle errors during extension update
  + Fix handling of errors in calls to openssl
  + Improve logic to determine current distro
  + Reduce verbosity of several logging statements
- From 2.2.42
  + Poll for artifact blob, addresses goal state procesing issue
- From 2.2.41
  + Rewriting the mechanism to start the extension using systemd-run for
    systems using systemd for managing
  + Refactoring of resource monitoring framework using cgroup for both
    systemd and non-systemd approaches [#1530, #1534]
  + Telemetry pipeline for resource monitoring data
- From 2.2.40

OBS-URL: https://build.opensuse.org/request/show/755926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=11
2019-12-12 22:19:07 +00:00
71e3a31a3f - Update to version 2.2.45 (jsc#ECO-80)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=57
2019-12-11 19:21:02 +00:00
26956d3970 - Update to version 2.2.45 (jsc#ECOi-80)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=56
2019-12-06 23:28:18 +00:00
51d74f82c8 - Update to version 2.2.45
+ Remove paa_cve_2019-0804.patch, included upstream
  + Add support for Gen2 VM resource disks
  + Use alternate systemd detection
  + Fix /proc/net/route requirement that causes errors on FreeBSD
  + Add cloud-init auto-detect to prevent multiple provisioning mechanisms
    from relying on configuration for coordination
  + Disable cgroups when daemon is setup incorrectly
  + Remove upgrade extension loop for the same goal state
  + Add container id for extension telemetry events
  + Be more exact when detecting IMDS service health
  + Changing add_event to start sending missing fields
- From 2.2.44
  + Remove outdated extension ZIP packages
  + Improved error handling when starting extensions using systemd
  + Reduce provisioning time of some custom images
  + Improve the handling of extension download errors
  + New API for extension authors to handle errors during extension update
  + Fix handling of errors in calls to openssl
  + Improve logic to determine current distro
  + Reduce verbosity of several logging statements
- From 2.2.42
  + Poll for artifact blob, addresses goal state procesing issue
- From 2.2.41
  + Rewriting the mechanism to start the extension using systemd-run for
    systems using systemd for managing
  + Refactoring of resource monitoring framework using cgroup for both
    systemd and non-systemd approaches [#1530, #1534]
  + Telemetry pipeline for resource monitoring data
- From 2.2.40

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=55
2019-12-05 21:21:46 +00:00
61431c0928 Accepting request 685775 from Cloud:Tools
- Add paa_cve_2019-0804.patch (bsc#1127838)
  - An issue with swapfile handling in the agent creates a data leak situation
    that exposes system memory data.

- Update to 2.2.36 (bsc#1119542)
  - Remove, included upstream
    + paa_fix_driver_install_detect.patch
    + paa_rdma_install_proper_driver.patch
    + 0001-Obtain-platform-information-in-Python-version-depend.patch
    + 0001-Detect-openSUSE-and-SLES.patch
    + 0001-Handle-the-disapperance-of-net-tools.patch
    + 0001-Properly-detect-SLES-15-for-rdma-support.patch
  - Forward port agent-no-auto-update.patch
  - [#1451] Do not utf-8 encode telemetry messages
- From 2.2.35
  + [#1434] Use files instead of pipes to capture stdout/stderr
  + [#1431] Prevent multiple downloads of zips
  + [#1418] Add main module to Python's egg
  + [#1416] Fix UTF-8 encoding for telemetry payload
  + [#1408] Honor the 'no_proxy' flag
  + [#1391, #1401, #1441] Azure Stack improvements
  + [#1384] Write status file in WALinuxAgent lib folder
  + [#1375] Add support for Redhat
  + [#1373] Handle different kernel builds on SUSE Linux Enterprise
  + [#1365, #1385, #1389] Fixes for RDMA
- From 2.2.34
  + [#1397] Send events when extensions fail to complete operation
  + [#1394/#1366] Fix the threshold telemetry issue
  + [#1298] Implementing extension sequencing in azure Linux agent
  + [#1340] Allow Clear Linux detection in python2 and python3

OBS-URL: https://build.opensuse.org/request/show/685775
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=10
2019-03-18 09:43:02 +00:00
cf342cf185 - Add paa_cve_2019-0804.patch (bsc#1127838)
- An issue with swapfile handling in the agent creates a data leak situation
    that exposes system memory data.

- Update to 2.2.36 (bsc#1119542)
  - Remove, included upstream
    + paa_fix_driver_install_detect.patch
    + paa_rdma_install_proper_driver.patch
    + 0001-Obtain-platform-information-in-Python-version-depend.patch
    + 0001-Detect-openSUSE-and-SLES.patch
    + 0001-Handle-the-disapperance-of-net-tools.patch
    + 0001-Properly-detect-SLES-15-for-rdma-support.patch
  - Forward port agent-no-auto-update.patch
  - [#1451] Do not utf-8 encode telemetry messages
- From 2.2.35
  + [#1434] Use files instead of pipes to capture stdout/stderr
  + [#1431] Prevent multiple downloads of zips
  + [#1418] Add main module to Python's egg
  + [#1416] Fix UTF-8 encoding for telemetry payload
  + [#1408] Honor the 'no_proxy' flag
  + [#1391, #1401, #1441] Azure Stack improvements
  + [#1384] Write status file in WALinuxAgent lib folder
  + [#1375] Add support for Redhat
  + [#1373] Handle different kernel builds on SUSE Linux Enterprise
  + [#1365, #1385, #1389] Fixes for RDMA
- From 2.2.34
  + [#1397] Send events when extensions fail to complete operation
  + [#1394/#1366] Fix the threshold telemetry issue
  + [#1298] Implementing extension sequencing in azure Linux agent
  + [#1340] Allow Clear Linux detection in python2 and python3

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=53
2019-03-17 11:09:46 +00:00
e994197cec Accepting request 620732 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/620732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=9
2018-08-02 12:56:45 +00:00
b5e1b8cd27 - Remove paa_up_only_to_push_hostname.patch
+ Turns out the issue was a kernel bug and while ifdown ifup sequence to
    bounce the hostname to the DHCP server is overkill we do not
    want to carry a "cosmetic" patch

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=51
2018-06-06 22:01:03 +00:00
aa6fdbfbf1 - Add paa_up_only_to_push_hostname.patch (bsc#1094420)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=50
2018-06-05 19:27:04 +00:00
d250ebb7ee - Add 0001-Handle-the-disapperance-of-net-tools.patch (bsc#1092831)
+ Switch to using "ip route" command
- Add paa_sudo_sle15_nopwd.patch
  + Work around issue where SLE 15 will not accept the user password when
    using sudo, cause unknown, needed to time constraints w.r.t. release
- Add 0001-Properly-detect-SLES-15-for-rdma-support.patch
  + Properly detect SLES 15 for RDMA support

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=49
2018-05-10 21:50:35 +00:00
1902f163eb - Add 0001-Detect-openSUSE-and-SLES.patch (bsc#1087764)
+ Properly detect SLES 15 and openSUSE Leap 15 in Python 3

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=48
2018-04-02 15:52:58 +00:00
147d0a9a4a - Update paa_force_py3_sle15.patch (bsc#1061584)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=47
2018-03-21 11:47:40 +00:00
276b3a83b6 - Update paa_force_py3_sle15.patch
+ Another reference to python, which points to python2

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=46
2018-03-20 13:39:32 +00:00
134f70e862 Accepting request 583706 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/583706
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=8
2018-03-08 09:57:56 +00:00
4345157b8f - Add paa_force_py3_sle15.patch
+ Force use of Python 3 for SLE 15 and later

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=44
2018-02-27 20:37:51 +00:00
6596c747e1 - Modify 0001-Obtain-platform-information-in-Python-version-depend.patch to
reflect agreed upon solution with upstream

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=43
2018-02-21 14:22:22 +00:00
1264d2cd7f Accepting request 577091 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/577091
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=7
2018-02-16 20:44:22 +00:00
6f9e98e8fa - Add 0001-Obtain-platform-information-in-Python-version-depend.patch
to fix build on distribution with Python 3.6 and later (boo#997614)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=41
2018-02-08 18:56:14 +00:00
b0ae886ea0 Accepting request 563322 from Cloud:Tools
- Fix RDMA driver package version install issue (bsc#1074865)
  + Added paa_rdma_install_proper_driver.patch

OBS-URL: https://build.opensuse.org/request/show/563322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=6
2018-01-10 22:38:41 +00:00
59b1f32f43 - Fix RDMA driver package version install issue (bsc#1074865)
+ Added paa_rdma_install_proper_driver.patch

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=39
2018-01-05 20:05:21 +00:00
b679224331 Accepting request 535329 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/535329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=5
2017-10-20 12:47:30 +00:00
f0b76776c3 - Update to version 0.5
+ New API version for Azure metadata server
  + Wait for the metadata server in EC2

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=37
2017-10-12 20:16:34 +00:00
a9024212fd Accepting request 530890 from Cloud:Tools
1

OBS-URL: https://build.opensuse.org/request/show/530890
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=4
2017-10-05 09:58:55 +00:00
03e75f48f7 Accepting request 530854 from home:dimstar:Factory
- BuildRequire distribution-release instead of
  openSUSE/sles-release.

OBS-URL: https://build.opensuse.org/request/show/530854
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=35
2017-10-03 14:18:24 +00:00
4ff2f7bef5 Accepting request 527525 from Cloud:Tools
- Fix typo in dependency

- Update to version 2.2.17 (bsc#1058974, bsc#1058975)
  + Remove paa_noref_local_install.patch, included upstream
  + Setup build for Python 3 for distros > SLE 12
  + [#879] -- OS.EnableFirewall=y breaks load balanced sets probing
- From 2.2.16
  + [#865] -- The agent should retry ETIMEDOUT (110) IOErrors
- From 2.2.15
  + [#783] -- The agent fails to use the standard Linux environment variables
    for HTTP proxy
  + [#784] -- Adjust http retry and logging
  + [#786] -- Add Provisioning.SshHostKeyPairType=auto to support ssh-keygen -A
  + [#791] -- Prevent bloating sudoers waagent when agent has problem
  + [#792] -- Clearlinux distro_name does not match
  + [#796] -- Accommodate new Clear Linux distro string in os-release
  + [#798] -- Support Ubuntu RDMA driver update
  + [#800] -- HostGAPlugin still use proxy while auto-updating
  + [#801] -- Agent fails to clean-up PID files
  + [#807] -- The agent should not emit duplicate events
  + [#808] -- The agent should more gracefully handle out-of-space disk
    errors (IOError 28)
  + [#811] -- Comments inline in /etc/waagent.conf cause config to not be read
  + [#812] -- Agent fails and isn't recoverable if an extension's log
    directory is not present anymore
  + [#823] -- Show config options in use
  + [#830] -- Ensure VM identifier is properly ordered
  + [#845] -- ')' is missed in show-configuration
  + [#850] -- Cannot get to state 'Running' with Provisioning.Enabled=n

OBS-URL: https://build.opensuse.org/request/show/527525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=3
2017-09-20 15:14:07 +00:00
a6d3c07156 - Fix typo in dependency
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=33
2017-09-20 12:13:24 +00:00
d333703b29 - Update to version 2.2.17 (bsc#1058974, bsc#1058975)
+ Remove paa_noref_local_install.patch, included upstream
  + Setup build for Python 3 for distros > SLE 12
  + [#879] -- OS.EnableFirewall=y breaks load balanced sets probing
- From 2.2.16
  + [#865] -- The agent should retry ETIMEDOUT (110) IOErrors
- From 2.2.15
  + [#783] -- The agent fails to use the standard Linux environment variables
    for HTTP proxy
  + [#784] -- Adjust http retry and logging
  + [#786] -- Add Provisioning.SshHostKeyPairType=auto to support ssh-keygen -A
  + [#791] -- Prevent bloating sudoers waagent when agent has problem
  + [#792] -- Clearlinux distro_name does not match
  + [#796] -- Accommodate new Clear Linux distro string in os-release
  + [#798] -- Support Ubuntu RDMA driver update
  + [#800] -- HostGAPlugin still use proxy while auto-updating
  + [#801] -- Agent fails to clean-up PID files
  + [#807] -- The agent should not emit duplicate events
  + [#808] -- The agent should more gracefully handle out-of-space disk
    errors (IOError 28)
  + [#811] -- Comments inline in /etc/waagent.conf cause config to not be read
  + [#812] -- Agent fails and isn't recoverable if an extension's log
    directory is not present anymore
  + [#823] -- Show config options in use
  + [#830] -- Ensure VM identifier is properly ordered
  + [#845] -- ')' is missed in show-configuration
  + [#850] -- Cannot get to state 'Running' with Provisioning.Enabled=n

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=32
2017-09-16 11:06:12 +00:00
51661d955c - Add paa_fix_driver_install_detect.patch (bsc#1057888)
+ Avoid the driver from re-installing if the same version is already
    installed, this avoids an enless reboot loop

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=31
2017-09-08 19:01:14 +00:00
361b30c467 Accepting request 513714 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/513714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=2
2017-08-10 12:04:47 +00:00
dbccd0f924 - Fix up patch to avoid blocking on zypper
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=29
2017-07-25 13:30:12 +00:00
8ac43ffe86 - Remove tab inserted by f-ing vi
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=28
2017-07-24 14:35:52 +00:00
a19754dbd5 - Fix syntax error in patch
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=27
2017-07-24 14:32:02 +00:00
c3cac0fbbc - Check zypper return and consider 106 return a success
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=26
2017-07-24 14:24:32 +00:00
c265bd14ec - Add paa_noref_local_install.patch (bsc#1050229)
+ Do not refresh the repos when we install the local RDMA kmp,
    repo access has already failed, no need to try again

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=25
2017-07-24 14:19:40 +00:00
dc2c8be818 - Update to version 2.2.14 (bsc#1050000)
+ [#777] -- Deprovisioning when VM identifier changes is too aggressive
  + [#769] -- HostGAPlugin requests should never go through proxy
  + [#764] -- waagent -configuration-path:/path -start not take effect
  + [#761] -- MetadataProtocol has no client object
  + [#757] -- deprovision is executed even if input 'n'
  + [#754] -- /etc/resolv.conf is removed if create a VM base on
    an specialized image
  + [#746] -- Agent WALinuxAgent-2.2.12 is blacklisted - skipping download
  + [#740] -- Duplicate logging on RHEL/CentOS

- Remove timeout udev rules (bsc#1049480)
  + 99-azure-timeout.rules
  + Rule is broken
  + Timeout is being set by the eagent code

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=24
2017-07-23 13:42:34 +00:00
5c1d589c84 Accepting request 503396 from Cloud:Tools
- Initialization code for Azure

OBS-URL: https://build.opensuse.org/request/show/503396
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-agent?expand=0&rev=1
2017-06-23 07:17:42 +00:00
1589061b23 - Modify dependencies, systemd is runtime, not build
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=22
2017-06-13 13:49:33 +00:00
e3511b19f3 - Update to version 2.2.13 (bsc#1042202, bsc#1042203)
+ [#712] Initial support for OpenBSD
  + [#730] Archlinux documentation
  + [#743] Fix for FreeBSD resource disk discovery
  + [#748] Fix for host plugin response encoding
  + [#750] Fix for GAiA public key handling
  + [#751] Fix for host plugin channel initialization
  + [#752] Fix for AzureStack protocol error handling
  + [#753] Removal of iptables rules from AzureStack protocol
- From 2.2.12
  + [#711] -- There are too many log print to /var/log/waagent.log
  + [#714] -- Questionable split call in common/conf.py
  + [#717] -- Remove extension logs during deprovision
  + [#720] -- Reset of RDMA drivers not taking effect
  + [#721] -- WALA deprovision process not clean up all cloudinit files
  + [#724] -- Location of configuration file should be editable issue
  + [#725] -- v2.2.11 can throw unexpected exceptions on provisioned VMs
  + [#727] -- v2.2.11 cannot update status for RDFE VMs
- From 2.2.11
  + [#463] Ensure the transport certificate expires in no more than two
           years enhancement
  + [#470] Emit goal state processing performance metrics enhancement
  + [#518] Align with the Azure Stack protocol enhancement
  + [#531] Location of configuration file should be editable feature request
  + [#604] v2.2.x - Need new OS.SshDir in waagent.conf feature request
  + [#631] Will "waagent -deprovision[+user]" wipe the cloud-init data?
           feature request
  + [#668] Agent continuously logs error on FIPS compliant server
  + [#679] Enable auto-update for AzureStack feature request
  + [#682] Default route is not added if it already exists cla-not-required

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=21
2017-06-08 20:01:23 +00:00
e2224acfec - Update to version 2.2.10 (bsc#1035418, bsc#1035419)
+ [#675] Clean up extension directories
  + [#673] Provisioning logging improvements
  + [#674] Override decode custom data
  + [#670] Add Arch distro support
- From version 2.2.9
  + [#665] Networking logging cleanup
  + [#666] Keygen logging cleanup
  + [#667] Reduce the monitoring loop wait time
- From version 2.2.8
  + [#649] Improve host plugin failure handling
  + [#647] Add telemetry for put status failures
  + [#646] Improve extension handler logging
  + [#645] Reduce guest agent update logging
  + [#644] Add basic 32-bit support to interface detection
  + [#641] Better heartbeat exception handling
  + [#640] Better unhandled exception logging
  + [#638] Improve NSG state management
  + [#637] Better handling and cleanup of old events
  + [#635] Pass environment variables to subprocess
  + [#634] Improve RDMA package matching
  + [#629] Better handling of resource disk mounting
  + [#624] Data disks udev rule
  + [#614] Add support for EulerOS
- From version 2.2.7
  + [#625] Enabled PageBlob support through HostGAPlugin

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=20
2017-04-21 10:51:20 +00:00
4f62a8f5aa - Update to version 2.2.6 (bsc#1029223, bsc#1029224)
+ [#611] Improve logging when interface detection fails
  + [#603] Retry when get thuimbprint fails
  + [#602] Ensure host plugin calls fail gracefully
  + [#601] Handle interface resets more gracefully
  + [#600] Wait for partition before mounting
  + [#599] Correct check for heartbeat freshness
  + [#594] Fix RDMA reboot issue
  + [#588] Changed permissions for log directory
- From 2.2.5
  + [#587] Fix potential sync issue with incarnation number and cache
- From 2.2.4
  + [#579] Extend VM health status
  + [#578] Fix FreeBSD deprovision
  + [#577] Improve mount call and logging
  + [#573] Centos 7.0 hostnamectl fix

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=19
2017-03-13 21:13:26 +00:00
41314c9d4e - Update to version 2.2.3 (bsc#1018369)
+ NSG improvements
  + CoreOS fix
  + Debian fixes
  + Apply patch from Debian
  + Unhandled errors
  + Handle ExtensionError from decide_version
  + Correct mkfile size check
  + Add a log message when primary nic is not found
  + Add telemetry event for host plugin usage
  + Fix typo in log message
  + Prevent duplicates in sysinfo
  + Add support for Match blocks in sshd config
  + Fix the logic for agent version
  + Support offline hostname changes
  + Ensure config file is updated correctly
  + Support NetworkManager leases
  + Fix password encoding
  + Minor bug fixes
  + Fix for hostnamectl
  + RHEL-7 hostname
  + Fix password encrypting failure in python 2.*
  + Handle interrupt signal
  + Fix the issues for mounting resourcedisk
- From 2.2.2
  + Cleanup SUSE config
  + Support for F5 Networks BIG-IP
  + Fix sfdisk options
  + Fix for fetch manifest
  + Fix config options for RDMA

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=18
2017-01-27 15:23:09 +00:00
08113188f6 - Add comment to specfile clarifying the Provides directive lifespan
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=17
2016-10-05 13:02:53 +00:00
ffd28ddeea - Update to version 2.2.0
+ Non linear release number jump
  + Add agent-no-auto-update.patch
  + [#361] More graceful 503 handling
  + [#364] Enforce http proxy support for calls to storage
  + [#367] Stop disabling SELinux during provisioning
  + [#377] Fix partition table race condition
  + [#387] Fix latest version selection
  + [#388] Fix extension substatus structure
  + [#389] Fix shlex related update bug in Python 2.6
  + [#391] Correct behavior of register-service
  + [#398] AzureStack fixes
  + [#400] Support xfs filesystem
  + [#404] Correct service start/restart behavior
  + [#411] Support for disabling provisioning
  + [#417] Stop spamming journal with pidof dhlient related messages
  + [#418] Add goal state processor to the version output
  + [#425] Fix walinuxagent.service Want, After
  + [#439] Ensure to load latest agents
  + [#451] Correct proxy port type

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=16
2016-10-03 20:58:14 +00:00
8445aabbbf - Upstream releases a tarball WALinuxAgent-%{version} while this is
a reminder of days gone by, as in Windows Azure, it is less confusing
  and less work if we stay with the upstream source name vs. renaming
  the tarball.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=15
2016-09-13 18:24:54 +00:00
e77cbca5c2 Accepting request 423709 from home:bear454:branches:Cloud:Tools
Update to v2.1.6

OBS-URL: https://build.opensuse.org/request/show/423709
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=14
2016-09-01 07:23:16 +00:00
e52170a060 - Require eject (bsc#992796,bsc#992797)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=13
2016-08-09 11:50:13 +00:00
ec44added7 - Added version to Provides: WALinuxAgent
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=12
2016-07-26 12:34:42 +00:00
1299093859 - Replace Conflicts directive with Provides, Obsoletes pair
(bsc#990424, bsc#990489)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=11
2016-07-25 15:14:10 +00:00
72be2fd1af - Update to version 2.1.5 (bsc#989789)
+ Remove 99-azure-product-uuid.rules included from upstream
  + Remove python-azure-agent-setup.diff no longer needed
  + Remove python-azure-agent-disable-test-check-pid.diff
  + Disable tests
    - Test have been re-written such that they are expected to run in
      Azure, since we build the package in the build service 95% fail
  + goal state processing extension
  + multi-nic improvements
  + Fix failed to mount Resource Disk #145
  + Fix PID file not updating on service restart #141
  + Fix libglibmm-2.4-1c2a dependency #133
  + Fix Creating a swap file takes too long #116
  + Fix ERROR:unicode argument without an encoding occured creating
    /var/lib/waagent/CustomData #187
  + Fix Should evaluate ssh pub key file before using it #169
  + Fix waagent fails to deploy SSH key on CentOS 7 #104
  + Fix Creating a swapfile using dd is extremely slow, please use
    fallocate on Linux #127
  + Fix ERROR:Unable to fetch Bundle URI from manifest for
    Microsoft.OSTCExtensions.LinuxDiagnostic v 2.3.4 #163
  + Fix Incorrect host route set for 168.63.129.16 on machines with
    multiple NICs (CentOS 7) #190
  + agent list trim fix
  + telemetry improvements
  + signal forwarding fix
  + self-update bug-fixes
  + poll timeout fix
  + RDMA updates
  + telemetry updates

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=10
2016-07-20 17:34:03 +00:00
76170b1465 - Do not conflict with NetworkManager (bsc#988743)
+ we want to allow users to install the WE pattern in Azure. This is
    not possible if python-azure-agent conflicts with NetworkManager.
    Testing shows that the system is still accessible if NM is installed
    after the initial boot that sets up networking. The downside, during
    image build a user could incidentally install NM and the agent and forget
    to disable NM, an instance from this image may not be reachable.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=9
2016-07-13 12:34:04 +00:00
fc51730356 - Apply patch python-azure-agent-disable-test-check-pid.diff with patch
macro to appease SLES 11 build service checks

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=8
2016-07-12 07:26:09 +00:00
faf6435aa6 - Update to version 2.1.4 (bsc#980789, bsc#980790)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=7
2016-07-12 06:53:21 +00:00
bb5f1fbd10 - Update to version 2.0.14 (bsc#980789, bsc#980790)
+ Support for FreeBSD
  + Fix a bug for internal extension version resolving

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=6
2016-05-21 10:25:43 +00:00
5139fa6246 Accepting request 391543 from home:jgleissner:branches:Cloud:Tools
fixed bug number format in changes so package update can be submitted to SLE

OBS-URL: https://build.opensuse.org/request/show/391543
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=5
2016-04-25 17:02:44 +00:00
2779a56ac8 Accepting request 390543 from home:jgleissner:branches:Cloud:Tools
move tests to sub package (bsc#974899), enable unit tests during build

OBS-URL: https://build.opensuse.org/request/show/390543
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=4
2016-04-20 19:15:19 +00:00
1754101fbd Accepting request 384492 from home:jgleissner:branches:Cloud:Tools
updated change log to prepare package submit to SLE

OBS-URL: https://build.opensuse.org/request/show/384492
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=3
2016-04-05 12:12:09 +00:00
858b409583 - Update to version 2.1.3
+ Refactor distro class
  + Fixed protocol detection on Azure Stack
  + Fix extension handling issue
  + Allow overwrite existing user
  + Decode and execute custom data

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=2
2016-02-04 23:03:02 +00:00
18fa974db3 - Initial build
+ Version 2.1.2.rc2

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/python-azure-agent?expand=0&rev=1
2015-11-11 18:49:55 +00:00
11 changed files with 310 additions and 305 deletions

BIN
WALinuxAgent-2.14.0.1.tar.gz LFS Normal file

Binary file not shown.

Binary file not shown.

View File

@@ -1,11 +0,0 @@
--- azurelinuxagent/daemon/resourcedisk/default.py.orig
+++ azurelinuxagent/daemon/resourcedisk/default.py
@@ -124,7 +124,7 @@ class ResourceDiskHandler(object):
"{0}: {1}".format(device, ret[1]))
force_option = 'F'
- if self.fs == 'xfs':
+ if self.fs in ('btrfs', 'xfs'):
force_option = 'f'
mkfs_string = "mkfs.{0} -{2} {1}".format(
self.fs, partition, force_option)

View File

@@ -1,11 +0,0 @@
--- azurelinuxagent/common/osutil/factory.py.orig
+++ azurelinuxagent/common/osutil/factory.py
@@ -90,7 +90,7 @@ def _get_osutil(distro_name, distro_code
if distro_name in ("flatcar", "coreos") or distro_code_name in ("flatcar", "coreos"):
return CoreOSUtil()
- if distro_name in ("suse", "sle_hpc", "sles", "opensuse"):
+ if distro_name in ("suse", "sle-micro", "sle_hpc", "sles", "opensuse"):
if distro_full_name == 'SUSE Linux Enterprise Server' \
and Version(distro_version) < Version('12') \
or distro_full_name == 'openSUSE' and Version(distro_version) < Version('13.2'):

View File

@@ -1,11 +0,0 @@
--- config/suse/waagent.conf.orig
+++ config/suse/waagent.conf
@@ -109,7 +109,7 @@ OS.SshDir=/etc/ssh
# OS.CheckRdmaDriver=y
# Enable or disable goal state processing auto-update, default is enabled
-# AutoUpdate.Enabled=y
+AutoUpdate.Enabled=n
# Determine the update family, this should not be changed
# AutoUpdate.GAFamily=Prod

View File

@@ -1,16 +1,18 @@
--- azurelinuxagent/pa/rdma/suse.py.orig
+++ azurelinuxagent/pa/rdma/suse.py
Index: WALinuxAgent-2.12.0.4/azurelinuxagent/pa/rdma/suse.py
===================================================================
--- WALinuxAgent-2.12.0.4.orig/azurelinuxagent/pa/rdma/suse.py
+++ WALinuxAgent-2.12.0.4/azurelinuxagent/pa/rdma/suse.py
@@ -31,8 +31,17 @@ class SUSERDMAHandler(RDMAHandler):
def install_driver(self): # pylint: disable=R1710
"""Install the appropriate driver package for the RDMA firmware"""
+ suport_pci_passthrough = False
+ if Version(DISTRO_VERSION) == Version('12'):
+ if DistroVersion(DISTRO_VERSION) == DistroVersion('12'):
+ release_data = open('/etc/os-release').read()
+ if 'SP5' in release_data:
+ suport_pci_passthrough = True
+
if Version(DISTRO_VERSION) >= Version('15'):
if DistroVersion(DISTRO_VERSION) >= DistroVersion('15'):
- msg = 'SLE 15 and later only supports PCI pass through, no '
+ suport_pci_passthrough = True
+

View File

@@ -0,0 +1,12 @@
--- init/waagent.service.orig
+++ init/waagent.service
@@ -8,7 +8,8 @@ ConditionPathExists=/etc/waagent.conf
[Service]
Type=simple
-ExecStart=/usr/bin/python -u /usr/sbin/waagent -daemon
+Environment="PYTHONUNBUFFERED=true"
+ExecStart=/usr/sbin/waagent -daemon
Restart=always
RestartSec=5

View File

@@ -6,14 +6,3 @@
#
# Azure Linux Agent
#
--- init/waagent.service.orig
+++ init/waagent.service
@@ -8,7 +8,7 @@ ConditionPathExists=/etc/waagent.conf
[Service]
Type=simple
-ExecStart=/usr/bin/python -u /usr/sbin/waagent -daemon
+ExecStart=/usr/bin/python3 -u /usr/sbin/waagent -daemon
Restart=always
RestartSec=5

View File

@@ -1,3 +1,210 @@
-------------------------------------------------------------------
Fri Nov 21 13:49:16 UTC 2025 - Robert Schweikert <rjschwei@suse.com>
- Fix dependencies for SLE 16 (bsc#1254129)
+ procps instead of sysvinit-tools
-------------------------------------------------------------------
Thu Nov 13 13:17:58 UTC 2025 - Robert Schweikert <rjschwei@suse.com>
- Update to version 2.14.0.1 (bsc#1253001)
+ Drop - included upstream
~ agent-btrfs-use-f.patch included upstream
~ remove-mock.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
+ Pickup latest goal state on tenant certificate rotation + Avoid
infinite loop when the tenant certificate is missing
+ Fix unsupported syntax in py2.6
+ Cgroup rewrite: uses systemctl for expressing desired configuration
instead drop-in files
+ Remove usages of tempfile.mktemp
+ Use random time for attempting new Agent update
+ Enable logcollector in v2 machines
+ Clean history files
+ Missing firewall rules reason
+ Add support for nftables (+ refactoring of firewall code)
+ Create walinuxagent nftable atomically
-------------------------------------------------------------------
Thu Jun 19 08:06:14 UTC 2025 - Joachim Gleissner <jgleissner@suse.com>
- Set AutoUpdate.UpdateToLatestVersion=n in /etc/waagent.conf
(bsc#1244933)
-------------------------------------------------------------------
Tue Apr 15 10:02:16 UTC 2025 - Joachim Gleissner <jgleissner@suse.com>
- Fix %suse_version conditional in spec file so package is built
using python2 in SLE 12 (bsc#1240385)
-------------------------------------------------------------------
Thu Feb 20 21:16:37 UTC 2025 - Robert Schweikert <rjschwei@suse.com>
- Add a new version of paa_force_py3_sle15.patch to compensate for
missing Python RPM macros in older distros
-------------------------------------------------------------------
Mon Dec 23 10:54:55 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
- Update to version 2.12.04 (bsc#1235140)
+ 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
+ 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
+ Fix install_requires list syntax
+ Update spec file
~ Remove conditions for distros no longer maintained
~ Simplify build and install conditionals using macros
+ 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
log collector and remove fiirewall daemon-reload #3223
+ Address pylint warning deprecated-method #3059
+ Run pylint on Python 3.11 #3067
+ Run unit tests with pytest on Python >= 3.10
+ Log logcollector cgroups if process is found in unexpected slice #3107
+ remove secret and use cert for aad app in e2e pipeline #3116
+ suppress pylint warn contextmanager-generator-missing-cleanup #3138
+ Switching to SNI based authentication for aad app #3137
+ updated PR template #3144
+ Avoiding mocked exception from being lost on test when using
python 3.12: complete mocked info #3149
+ Add more useful logging statement for agent unit properties #3154
+ Remove wireserver fallback for imds calls #3152
+ Remove unused import #3155
+ Add support for Azure Linux 3 #3183
+ Fix pytest warnings #3084
+ Allow use of node 16 #3160
+ Send controller/cgroup path telemetry #3231
From 2.13.0.2
+ #3221 Add support for nftables (+ refactoring of firewall code)
+ #3239 Create walinuxagent nftable atomically
+ Features in progress (Verify extension signature/Policy Enforcement)
+ #3200 Parse encodedSignature property from EGS
+ #3187 Add Regorus policy engine framework
+ #3222 Remove Regorus and platform check for policy enforcement
+ #3242 Telemetry (update logcollector telemetry with common properties)
+ #3208 Handle non-boolean when parsing extension manifests
+ #3211 Fix unicode type check when parsing extension manifests
+ #3133 Telemetry: high-priority events
+ #3240 Telemetry: report apparent dead code
+ #3210 Cleanup: remove AMA extension services cgroups tracking code
+ #3197 Accommodate the new behavior in OpenSSL 3.2.2 when given an
empty input
From 2.11.1.12
+ Remove multi config extension status only on extension delete #3172
From 2.111.1.4
+ General Improvements
+ Improvements in telemetry for firewall settings #3110, #3124
From 2.10.0.8
+ GA versioning #2810 #2850 #2860 #2881 #2974 #3004 #3015 #3033
+ Disabled GA versioning #2909 #2917 #3044
+ Add regular expression to match logs from very old agents #2839
+ Remove empty "distro" module #2854
+ Enable Python 2.7 for unit tests #2856
+ Add check for noexec on Permission denied errors #2859
+ Reorganize file structure of unit tests #2894
+ Report useful message when extension processing is disabled #2895
+ Add log and telemetry event for extension disabled #2897
+ Cleanup common directory #2902
+ Fix agent memory usage check #2903
+ enable rhel/centos agent-cgroups #2922
+ Add support for EC certificates #2936
+ Add Cpu Arch in local logs and telemetry events #2938
+ Clarify support status of installing from source. #2941
+ Gathering Guest ProxyAgent Log Files #2975
+ Remove debug info from waagent.status.json #2971
+ Handle errors when adding logs to the archive #2982
+ Update supported Ubuntu versions #2980
+ Fix pylint warning #2988
+ Add information about HTTP proxies #2985
+ update the proxy agenet log folder for logcollector #3028
+ Add config parameter to wait for cloud-init
(Extensions.WaitForCloudInit) #3031 [Added in 2.10.0.8]
+ Adding AutoUpdate.UpdateToLatestVersion new flag support #3020 #3027
[Added in 2.10.0.8]
+ Check certificates only if certificates are included in goal state #2803
+ Redact access tokens from extension's output #2811
+ Fix name of single IB device when provisioning RDMA #2814
+ Port NSBSD system to the latest version of waagent #2828
+ fix daemon version #2874
+ fix version checking in setup.py #2920
+ fix(ubuntu): Point to correct dhcp lease files #2979
+ Download certs on FT GS after check_certificates only when missing
from disk #2907
+ Add support for EC certificates (#2936) #2943 [Added in 2.10.0.5]
+ Fix for "local variable _COLLECT_NOEXEC_ERRORS referenced before
assignment" (#2935) #2944 [Added in 2.10.0.5]
+ Cache daemon version #2942 #2946 [Added in 2.10.0.5]
+ undo get daemon version change #2951 [Added in 2.10.0.5]
+ fix self-update frequency to spread over 24 hrs for regular type
and 4 hrs for hotfix #2948 [Added in 2.10.0.5]
+ ignore dependencies from extensions that do not have settings #2957
[Added in 2.10.0.6]
+ Do not reset the mode of a extension's log directory #3014
[Added in 2.10.0.8]
+ skip cgroup monitoring if log collector doesn't start by the agent.
#2939 [Added in 2.10.0.8]
+ NM should not be restarted during hostname publish if NM_CONTROLLED=y
#3008 [Added in 2.10.0.8]
+ Daemon should remove stale published_hostname file and log
useful warning #3016 [Added in 2.10.0.8]
+ Revert changes to publish_hostname in RedhatOSModernUtil #3032
[Added in 2.10.0.8]
+ Recover primary nic if down after publishing hostname in
RedhatOSUtil #3024 [Added in 2.10.0.8]
-------------------------------------------------------------------
Thu Oct 31 09:50:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
- fix a few typos in the spec file and use proper macros where
applicable
- remove python3 requires
-------------------------------------------------------------------
Mon Aug 19 11:14:11 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
@@ -49,7 +256,7 @@ Wed Apr 10 22:53:47 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
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.
installed.
-------------------------------------------------------------------
Tue Feb 20 20:07:51 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
@@ -141,7 +348,7 @@ Thu Sep 29 20:40:07 UTC 2022 - Robert Schweikert <rjschwei@suse.com>
Thu Sep 29 15:35:37 UTC 2022 - Robert Schweikert <rjschwei@suse.com>
- Update to version 2.8.0.11 (bsc#1203164)
+ Enabled support for Fast Track (faster processing of extensions)
+ Enabled support for Fast Track (faster processing of extensions)
+ Add telemetry for VM Size
+ Add telemetry for environment variables passed to extensions
+ Enforce CPU quota on the Agent on Red Hat and CentOS 7.4+
@@ -161,13 +368,13 @@ Thu Sep 29 15:35:37 UTC 2022 - Robert Schweikert <rjschwei@suse.com>
+ Add CentOS 7.9 to end-to-end-tests
+ Add Mariner to end-to-end-tests
- 2.8.0.11 followed 2.7.3.0, no intermediate releases
- 2.8.0.11 followed 2.7.3.0, no intermediate releases
-------------------------------------------------------------------
Thu Sep 1 08:03:21 UTC 2022 - Stefan Schubert <schubi@suse.com>
- Migration to /usr/etc: Saving user changed configuration files
in /etc and restoring them while an RPM update.
in /etc and restoring them while an RPM update.
-------------------------------------------------------------------
Thu Aug 11 16:55:04 UTC 2022 - Robert Schweikert <rjschwei@suse.com>
@@ -257,7 +464,7 @@ Thu Aug 11 16:55:04 UTC 2022 - Robert Schweikert <rjschwei@suse.com>
+ Improved logging for Multi config (#2246)
- From 2.3.1.1
+ revert for reducing the time window where we restart the network
interfaces of the VM
interfaces of the VM
- From 2.3.0.2
+ Enforce CPUQuota on agent #2222, #2226
+ Add support for RequiredFeatures and GoalStateAggregateStatus APIs

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-azure-agent
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,34 +16,47 @@
#
%if 0%{?suse_version} >= 1600
%define pythons %{primary_python}
%else
%if 0%{?suse_version} == 1315
%define pythons python
%else
%define pythons python3
%endif
%endif
%global _sitelibdir %{%{pythons}_sitelib}
Name: python-azure-agent
Version: 2.14.0.1
Release: 0
Summary: Microsoft Azure Linux Agent
License: Apache-2.0
Group: System/Daemons
Version: 2.9.1.1
Release: 0
URL: https://github.com/Azure/WALinuxAgent
Source0: WALinuxAgent-%{version}.tar.gz
Patch1: agent-no-auto-update.patch
# Drop in 2034 when SLE 15 reaches EOL
Patch6: paa_force_py3_sle15.patch
Patch7: reset-dhcp-deprovision.patch
Patch8: paa_12_sp5_rdma_no_ext_driver.patch
# PATCH-FIX-UPSTREAM gh#Azure/WALinuxAgent#2741
Patch9: remove-mock.patch
Patch10: agent-micro-is-sles.patch
# PATCH-FIX-UPSTREAM gh#Azure/WALinuxAgent#3158
Patch11: agent-btrfs-use-f.patch
Patch12: paa_direct_exec_in_service.patch
BuildRequires: dos2unix
BuildRequires: %{pythons}-pip
BuildRequires: %{pythons}-setuptools
# azure-agent is maintained in SLE 12 codestream but wheel in 12-SP1 one
# disable this BuildRequires as work-around in 12 GA
%if 0%{?sle_version} >= 120100
BuildRequires: %{pythons}-wheel
%endif
BuildRequires: distribution-release
BuildRequires: openssl
BuildRequires: python-rpm-macros
%if 0%{?suse_version} > 1315
BuildRequires: python3-distro
BuildRequires: python3-setuptools
BuildRequires: %{pythons}-distro
%else
BuildRequires: python-setuptools
BuildRequires: python-xml
BuildRequires: %{pythons}-xml
%endif
BuildRequires: pkgconfig(udev)
Requires: eject
@@ -54,17 +67,17 @@ Requires: openssh
Requires: openssl
Requires: pwdutils
Requires: systemd
Requires: sysvinit-tools
%if 0%{?suse_version} && 0%{?suse_version} <= 1500
Requires: sysvinit-tools
Requires: wicked
%endif
%if 0%{?suse_version} && 0%{?suse_version} >= 1600
Requires: procps
%endif
Requires: %{pythons}-pyasn1
Requires: %{pythons}-xml
%if 0%{?suse_version} > 1315
Requires: python3-distro
Requires: python3-pyasn1
Requires: python3-xml
%else
Requires: python-pyasn1
Requires: python-xml
Requires: %{pythons}-distro
%endif
Requires: sudo
Requires: util-linux
@@ -87,13 +100,11 @@ Microsoft Azure Stack framework.
%package test
Summary: Unit tests
Group: Development/Languages/Python
Requires: %{name} == %{version}
Requires: %{name} = %{version}
Requires: %{pythons}-pytest
Requires: openssl
%if 0%{?suse_version} > 1315
Requires: python3-pytest
%else
Requires: python-mock
Requires: python-pytest
%if 0%{?suse_version} == 1315
Requires: %{pythons}-mock
%endif
%description test
@@ -102,9 +113,9 @@ Unit tests for python-azure-agent.
%package config-default
Summary: Default upstream configuration
Group: Development/Languages/Python
Requires: %{name} == %{version}
Provides: waagent-config
Requires: %{name} = %{version}
Conflicts: waagent-config
Provides: waagent-config
%description config-default
The default configuration for the agent as supplied by upstream for SUSE
@@ -112,9 +123,9 @@ The default configuration for the agent as supplied by upstream for SUSE
%package config-server
Summary: SUSE specific configuration for server products
Group: Development/Languages/Python
Requires: %{name} == %{version}
Provides: waagent-config
Requires: %{name} = %{version}
Conflicts: waagent-config
Provides: waagent-config
%description config-server
Modified waagent.conf file to meet SUSE policies and SUSE image build
@@ -123,9 +134,9 @@ setup
%package config-hpc
Summary: SUSE specific configuration for HPC
Group: Development/Languages/Python
Requires: %{name} == %{version}
Provides: waagent-config
Requires: %{name} = %{version}
Conflicts: waagent-config
Provides: waagent-config
%description config-hpc
Modified waagent.conf file to meet SUSE policies and SUSE image build
@@ -134,45 +145,44 @@ setup
%package config-micro
Summary: SUSE specific configuration for Micro
Group: Development/Languages/Python
Requires: %{name} == %{version}
Provides: waagent-config
Requires: %{name} = %{version}
Conflicts: waagent-config
Provides: waagent-config
%description config-micro
Modified waagent.conf file to meet SUSE policies and SUSE image build
setup
%prep
%setup -qn WALinuxAgent-%{version}
%patch -P 1
%if 0%{?suse_version} > 1315
%setup -q -n WALinuxAgent-%{version}
%if 0%{?suse_version} > 1315 && 0%{?suse_version} <= 1600
%patch -P 6
%endif
%patch -P 7
%patch -P 8
%patch -P 9 -p1
%patch -P 10
%patch -P 11
%patch -P 8 -p1
%patch -P 12
%build
%if 0%{?suse_version} > 1315
python3 setup.py build
%else
python setup.py build
%endif
# We have an insane veriation in the way we identify our distros from SUSE,
# sles, opensuse, openSUSE Tumbleweed and who knows what else. This makes it
# for all intend and purposes impractical to follow the bouncing ball and keep
# updating the upstream detection code. We use setup.py to be able to
# pass an argument during install
%python_build
%install
%python_exec setup.py install --prefix=%{_prefix} --lnx-distro='suse' --root=%{buildroot}
%if 0%{?suse_version} > 1315
python3 setup.py install --prefix=%{_prefix} --lnx-distro='suse' --root=%{buildroot}
rm %{buildroot}/usr/sbin/waagent2.0
%else
python setup.py install --prefix=%{_prefix} --lnx-distro='suse' --root=%{buildroot}
rm %{buildroot}%{_sbindir}/waagent2.0
%endif
%if 0%{?suse_version} >= 1600
%python3_fix_shebang
%endif
# Config file flavor setup
cp %{buildroot}%{_sysconfdir}/waagent.conf %{buildroot}%{_sysconfdir}/waagent.conf.default
# No autoupdate of binaries for any SUSE product
sed -i -e "s/# AutoUpdate.Enabled=y/AutoUpdate.Enabled=n/" %{buildroot}%{_sysconfdir}/waagent.conf
sed -i -e "s/# AutoUpdate.UpdateToLatestVersion=y/AutoUpdate.UpdateToLatestVersion=n/" %{buildroot}%{_sysconfdir}/waagent.conf
# Common settings for most SUSE products
# Generate all supported SSH host key types
sed -i -e "s/SshHostKeyPairType=rsa/SshHostKeyPairType=auto/" %{buildroot}%{_sysconfdir}/waagent.conf
@@ -209,13 +219,8 @@ mv %{buildroot}/lib/systemd/system/* %{buildroot}/%{_unitdir}
fi
### udev rules
%if 0%{?suse_version} < 1230
mkdir -p %{buildroot}/lib/udev/rules.d
mv %{buildroot}%{_sysconfdir}/udev/rules.d/* %{buildroot}/lib/udev/rules.d/
%else
mkdir -p %{buildroot}/usr/lib/udev/rules.d
mv %{buildroot}%{_sysconfdir}/udev/rules.d/* %{buildroot}/usr/lib/udev/rules.d/
%endif
mkdir -p %{buildroot}%{_prefix}/lib/udev/rules.d
mv %{buildroot}%{_sysconfdir}/udev/rules.d/* %{buildroot}%{_prefix}/lib/udev/rules.d/
### log file ghost
mkdir -p %{buildroot}/%{_localstatedir}/log
touch %{buildroot}/%{_localstatedir}/log/waagent.log
@@ -228,19 +233,15 @@ mv %{buildroot}/%{_sysconfdir}/logrotate.d/waagent.logrotate %{buildroot}/%{_sys
%endif
# install tests
%if 0%{?suse_version} > 1315
cp -r tests %{buildroot}/%{python3_sitelib}/azurelinuxagent
%else
cp -r tests %{buildroot}/%{python_sitelib}/azurelinuxagent
%endif
cp -r tests %{buildroot}/%{_sitelibdir}/azurelinuxagent
%pre
%service_add_pre waagent.service
# Handle the case when the -config-* package is not installed, we want to
# preserver the previousl config file that was flavor customized during
# image build
if [ -e /etc/waagent.conf ]; then
cp -Z /etc/waagent.conf /etc/waagent.conf.bak
if [ -e %{_sysconfdir}/waagent.conf ]; then
cp -Z %{_sysconfdir}/waagent.conf %{_sysconfdir}/waagent.conf.bak
fi
%if 0%{?suse_version} > 1500
@@ -253,16 +254,16 @@ done
%posttrans
# Do not clobber the config if it was installed from a config package, but
# put the oldfile back if we do not have another config file
if [ ! -e /etc/waagent.conf ]; then
if [ -e /etc/waagent.conf.bak ]; then
mv -Z /etc/waagent.conf.bak /etc/waagent.conf
if [ ! -e %{_sysconfdir}/waagent.conf ]; then
if [ -e %{_sysconfdir}/waagent.conf.bak ]; then
mv -Z %{_sysconfdir}/waagent.conf.bak %{_sysconfdir}/waagent.conf
#restart the waagent.service again the restert in post failed due
# to missing config
systemctl try-restart waagent.service
# Making the assumption that the rpmsave file was generated because of
# of the previously broken package upgrade.
elif [ -e /etc/waagent.conf.rpmsave ]; then
cp -Z /etc/waagent.conf.rpmsave /etc/waagent.conf
elif [ -e %{_sysconfdir}/waagent.conf.rpmsave ]; then
cp -Z %{_sysconfdir}/waagent.conf.rpmsave %{_sysconfdir}/waagent.conf
#restart the waagent.service again the restert in post failed due
# to missing config
systemctl try-restart waagent.service
@@ -315,31 +316,18 @@ ln -s %{_sysconfdir}/waagent.conf.micro %{_sysconfdir}/waagent.conf
%endif
%ghost %{_localstatedir}/log/waagent.log
%{_unitdir}/waagent.service
%if 0%{?suse_version} < 1230
/lib/udev/rules.d/66-azure-storage.rules
/lib/udev/rules.d/99-azure-product-uuid.rules
%else
/usr/lib/udev/rules.d/66-azure-storage.rules
/usr/lib/udev/rules.d/99-azure-product-uuid.rules
%endif
%if 0%{?suse_version} > 1315
%dir %{python3_sitelib}/azurelinuxagent
%{python3_sitelib}
%exclude %{python3_sitelib}/azurelinuxagent/tests
%else
%dir %{python_sitelib}/azurelinuxagent
%{_prefix}/lib/udev/rules.d/66-azure-storage.rules
%{_prefix}/lib/udev/rules.d/99-azure-product-uuid.rules
%dir %{_sitelibdir}/azurelinuxagent
%{_sitelibdir}
%exclude %{_sitelibdir}/azurelinuxagent/tests
%if 0%{?suse_version} <= 1315
%attr(0755,root,root) %{_sbindir}/waagent2.0
%{python_sitelib}
%exclude %{python_sitelib}/azurelinuxagent/tests
%endif
%files test
%defattr(0644,root,root,0755)
%if 0%{?suse_version} > 1315
%{python3_sitelib}/azurelinuxagent/tests
%else
%{python_sitelib}/azurelinuxagent/tests
%endif
%{_sitelibdir}/azurelinuxagent/tests
%files config-default
%ghost %{_sysconfdir}/waagent.conf

View File

@@ -1,160 +0,0 @@
Index: WALinuxAgent-2.9.1.1/tests/common/dhcp/test_dhcp.py
===================================================================
--- WALinuxAgent-2.9.1.1.orig/tests/common/dhcp/test_dhcp.py
+++ WALinuxAgent-2.9.1.1/tests/common/dhcp/test_dhcp.py
@@ -15,7 +15,10 @@
# Requires Python 2.6+ and Openssl 1.0+
#
-import mock
+try:
+ from unittest import mock
+except ImportError:
+ import mock
import azurelinuxagent.common.dhcp as dhcp
import azurelinuxagent.common.osutil.default as osutil
from tests.tools import AgentTestCase, open_patch, patch
Index: WALinuxAgent-2.9.1.1/tests/common/osutil/test_default.py
===================================================================
--- WALinuxAgent-2.9.1.1.orig/tests/common/osutil/test_default.py
+++ WALinuxAgent-2.9.1.1/tests/common/osutil/test_default.py
@@ -22,7 +22,10 @@ import subprocess
import tempfile
import unittest
-import mock
+try:
+ from unittest import mock
+except ImportError:
+ import mock
import azurelinuxagent.common.conf as conf
import azurelinuxagent.common.osutil.default as osutil
Index: WALinuxAgent-2.9.1.1/tests/common/test_event.py
===================================================================
--- WALinuxAgent-2.9.1.1.orig/tests/common/test_event.py
+++ WALinuxAgent-2.9.1.1/tests/common/test_event.py
@@ -26,7 +26,10 @@ import threading
import xml.dom
from datetime import datetime, timedelta
-from mock import MagicMock
+try:
+ from unittest.mock import MagicMock
+except ImportError:
+ from mock import MagicMock
from azurelinuxagent.common.utils import textutil, fileutil
from azurelinuxagent.common import event, logger
Index: WALinuxAgent-2.9.1.1/tests/common/test_version.py
===================================================================
--- WALinuxAgent-2.9.1.1.orig/tests/common/test_version.py
+++ WALinuxAgent-2.9.1.1/tests/common/test_version.py
@@ -20,7 +20,10 @@ from __future__ import print_function
import os
import textwrap
-import mock
+try:
+ from unittest import mock
+except ImportError:
+ import mock
import azurelinuxagent.common.conf as conf
from azurelinuxagent.common.future import ustr
Index: WALinuxAgent-2.9.1.1/tests/distro/test_scvmm.py
===================================================================
--- WALinuxAgent-2.9.1.1.orig/tests/distro/test_scvmm.py
+++ WALinuxAgent-2.9.1.1/tests/distro/test_scvmm.py
@@ -20,7 +20,10 @@
import os
import unittest
-import mock
+try:
+ from unittest import mock
+except ImportError:
+ import mock
import azurelinuxagent.daemon.scvmm as scvmm
from azurelinuxagent.common import conf
Index: WALinuxAgent-2.9.1.1/tests/ga/mocks.py
===================================================================
--- WALinuxAgent-2.9.1.1.orig/tests/ga/mocks.py
+++ WALinuxAgent-2.9.1.1/tests/ga/mocks.py
@@ -17,7 +17,10 @@
import contextlib
-from mock import PropertyMock
+try:
+ from unittest.mock import PropertyMock
+except ImportError:
+ from mock import PropertyMock
from azurelinuxagent.ga.exthandlers import ExtHandlersHandler
from azurelinuxagent.ga.remoteaccess import RemoteAccessHandler
from azurelinuxagent.ga.update import UpdateHandler, get_update_handler
Index: WALinuxAgent-2.9.1.1/tests/ga/test_collect_telemetry_events.py
===================================================================
--- WALinuxAgent-2.9.1.1.orig/tests/ga/test_collect_telemetry_events.py
+++ WALinuxAgent-2.9.1.1/tests/ga/test_collect_telemetry_events.py
@@ -26,7 +26,10 @@ import string
import uuid
from collections import defaultdict
-from mock import patch, MagicMock
+try:
+ from unittest.mock import patch, MagicMock
+except ImportError:
+ from mock import patch, MagicMock
from azurelinuxagent.common import conf
from azurelinuxagent.common.event import EVENTS_DIRECTORY
Index: WALinuxAgent-2.9.1.1/tests/ga/test_remoteaccess_handler.py
===================================================================
--- WALinuxAgent-2.9.1.1.orig/tests/ga/test_remoteaccess_handler.py
+++ WALinuxAgent-2.9.1.1/tests/ga/test_remoteaccess_handler.py
@@ -16,7 +16,10 @@
#
from datetime import timedelta, datetime
-from mock import Mock, MagicMock
+try:
+ from unittest.mock import Mock, MagicMock
+except ImportError:
+ from mock import Mock, MagicMock
from azurelinuxagent.common.osutil.default import DefaultOSUtil
from azurelinuxagent.common.protocol.goal_state import RemoteAccess
from azurelinuxagent.common.protocol.util import ProtocolUtil
Index: WALinuxAgent-2.9.1.1/tests/ga/test_send_telemetry_events.py
===================================================================
--- WALinuxAgent-2.9.1.1.orig/tests/ga/test_send_telemetry_events.py
+++ WALinuxAgent-2.9.1.1/tests/ga/test_send_telemetry_events.py
@@ -24,7 +24,10 @@ import time
import uuid
from datetime import datetime, timedelta
-from mock import MagicMock, Mock, patch, PropertyMock
+try:
+ from unittest.mock import MagicMock, Mock, patch, PropertyMock
+except ImportError:
+ from mock import MagicMock, Mock, patch, PropertyMock
from azurelinuxagent.common import logger
from azurelinuxagent.common.datacontract import get_properties
Index: WALinuxAgent-2.9.1.1/tests/utils/test_network_util.py
===================================================================
--- WALinuxAgent-2.9.1.1.orig/tests/utils/test_network_util.py
+++ WALinuxAgent-2.9.1.1/tests/utils/test_network_util.py
@@ -16,7 +16,10 @@
#
import subprocess
-from mock.mock import patch
+try:
+ from unittest.mock import patch
+except ImportError:
+ from mock import patch
import azurelinuxagent.common.utils.networkutil as networkutil
from tests.tools import AgentTestCase