1
0

121 Commits

Author SHA256 Message Date
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
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