293 Commits

Author SHA256 Message Date
4c6de7905a Accepting request 1185392 from systemsmanagement:SCC:RMT
Mon July 1 12:42:34 UTC 2024 - Adnilson Delgado <adnilson.delgado@suse.com>
- Version 2.18
  * Move temporary storage of downloaded files to the repo directory to avoid filling up /tmp partition. (gh:#1137)
  * Fixes for RES7-LTSS and OL7-LTSS clients
  * Instance Verification: re-setting the repository and registry cache path to the right value; update the cache scrubber paths

Thu April 18 09:27:00 UTC 2024 - Adnilson Delgado <adnilson.delgado@suse.com>
- Version 2.17 :
  * Improve CLI mirroring summary information by adding the mirror repositories, the file count and size. (gh#702)
  * Copy metadata content to repodata/ and not create a seperate subdirectory repodata/repodata (gh#1136)
  * Adding Uptime tracking capability (jsc#PED-7982, jsc#PED-8018)
  * actionpack update, fixing CVE-2024-28103 (bsc#1225997)
  * Registry authentication host capability for public cloud

- Adding -f to the file move command when moving the mirrored directory to its final location (bsc#1203171)

OBS-URL: https://build.opensuse.org/request/show/1185392
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rmt-server?expand=0&rev=61
2024-07-05 17:46:54 +00:00
b4e07c5d41 update liberty script (https://github.com/SUSE/rmt/pull/1183)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=285
2024-07-03 12:53:42 +00:00
d2ff028ff3 Mon July 1 12:42:34 UTC 2024 - Adnilson Delgado <adnilson.delgado@suse.com>
- Version 2.18
  * Move temporary storage of downloaded files to the repo directory to avoid filling up /tmp partition. (gh:#1137)
  * Fixes for RES7-LTSS and OL7-LTSS clients
  * Instance Verification: re-setting the repository and registry cache path to the right value; update the cache scrubber paths

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=284
2024-07-03 08:21:22 +00:00
Natnael Getahun
aa1d11ac36 - Push fixes for bsc#1220109
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=283
2024-06-12 11:44:30 +00:00
2b66f8cb97 * actionpack update, fixing CVE-2024-28103 (bsc#1225997)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=282
2024-06-05 12:10:46 +00:00
1c80ae57b7 include new cert location patch
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=281
2024-05-31 14:20:32 +00:00
814bec53c4 Adding https://github.com/SUSE/rmt/pull/1161 + https://github.com/SUSE/rmt/pull/1160
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=280
2024-05-24 09:59:39 +00:00
9f3a892077 * Improve CLI mirroring summary information by adding the mirror repositories, the file count and size. (gh#702)
* Copy metadata content to repodata/ and not create a seperate subdirectory repodata/repodata (gh#1136)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=279
2024-05-16 07:56:49 +00:00
c16b52d4f0 * Improve CLI mirroring summary information by adding the mirror repositories, the file count and size. (gh#702)
* Copy metadata content to repodata/ and not create a seperate subdirectory repodata/repodata (gh#1136)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=278
2024-05-14 13:35:52 +00:00
597986bc69 add https://github.com/SUSE/rmt/pull/1148
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=277
2024-05-10 14:24:06 +00:00
99608b0b90 2.17 pre-release, including publoud registry auth cache
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=276
2024-05-10 09:28:00 +00:00
9f5c96b9ff Thu April 18 09:27:00 UTC 2024 - Adnilson Delgado <adnilson.delgado@suse.com>
- Version 2.17 :
  * Improve CLI mirroring summary information by adding the mirror repositories,
    the file count and size (gh#702)
  * Adding Uptime tracking capability (jsc#PED-7982, jsc#PED-8018)
  * Registry authentication host capability for public cloud

Thu April 11 15:22:00 UTC 2024 - Felix Schnizlein <fschnizlein@suse.com>
- Version 2.16 :
  * Support bzip2 compressed repositories (bsc#1222122)
  * Remove automatic backup generation for repodata within repository. .old_repodata
    directories are obsolete and can be removed savely.
  * Add support for debian repositories using flat or nested structures (jsc#PED-3684)

- Version 2.15:
  * Moving system hardware information to systems database table to
    allow transmitting system information dynamically. (jsc#PED-3734)
  * Dropping Rails Secrets facilities and related config files (bsc#1215176)
  * Updated supportconfig script (bsc#1216389)
  * Support zstd compression for repository metadata (bsc#1218775)
  * Do not add credential handling to normal repository URLs (bsc#1219153)
  * Fix for SUSE Liberty registration script to allow RHEL7/SLL7/CentOS7 clients to register to RMT servers
    * make sure yum that can read repomd.xml correctly is installed (bsc#1221223)
  * Provide user/group symbol for user created during pre (boo#1219540)
  * Disable authentication for license files in pubcloud context
  * Higher registration sharing timeout
  * rmt-server-pubcloud:
    * Extend cache expiration time for BYOS systems (PAYG: 20 min, BYOS: 24 hours)
    * Include byos parameter when checking subscription validity for BYOS systems with SCC
- Fix for local import of packages with special characters (bsc#1213002)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=275
2024-04-26 11:49:29 +00:00
8db24f5e73 Accepting request 1169095 from systemsmanagement:SCC:RMT
--------------------------------------------------------------------
Thu April 11 15:22:00 UTC 2024 - Felix Schnizlein <fschnizlein@suse.com>
- Version 2.16 :
  * Support bzip2 compressed repositories (bsc#1222122)
  * Remove automatic backup generation for repodata within repository. .old_repodata
    directories are obsolete and can be removed savely.
  * Add support for debian repositories using flat or nested structures (jsc#PED-3684)
    * make sure yum that can read repomd.xml correctly is installed (bsc#1221223)

OBS-URL: https://build.opensuse.org/request/show/1169095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rmt-server?expand=0&rev=60
2024-04-19 17:16:14 +00:00
Natnael Getahun
9309291a0e --------------------------------------------------------------------
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=273
2024-04-19 09:03:57 +00:00
Natnael Getahun
a74031a230 - Version 2.16 :
directories are obsolete and can be removed savely.
  * Add support for debian repositories using flat or nested structures (jsc#PED-3684)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=272
2024-04-18 10:08:25 +00:00
Felix Schnizlein
cbdc50bebf Thu April 11 15:22:00 UTC 2024 - Felix Schnizlein <fschnizlein@suse.com>
Version 2.16
  * Support bzip2 compressed repositories (bsc#1222122)
  * Remove automatic backup generation for repodata within repository. .old_repodata
    directories are obsolete and can be removed safely.
  * Add support for Debian repositories using flat or nested structures (jsc#PED-3684)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=271
2024-04-17 06:10:17 +00:00
Likhitha Priya D
8ce54d3c2a * make sure yum that can read repomd.xml correctly is installed (bsc#1221223)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=270
2024-03-15 14:02:32 +00:00
8e274a0782 Accepting request 1156024 from systemsmanagement:SCC:RMT
- Version 2.15:
  * Moving system hardware information to systems database table to
    allow transmitting system information dynamically. (jsc#PED-3734)
  * Dropping Rails Secrets facilities and related config files (bsc#1215176)
  * Updated supportconfig script (bsc#1216389)
  * Support zstd compression for repository metadata (bsc#1218775)
  * Do not add credential handling to normal repository URLs (bsc#1219153)
  * Fix for SUSE Liberty registration script to allow RHEL7/SLL7/CentOS7 clients to register to RMT servers
  * Provide user/group symbol for user created during pre (boo#1219540)
  * Disable authentication for license files in pubcloud context
  * Higher registration sharing timeout
  * rmt-server-pubcloud:
    * Extend cache expiration time for BYOS systems (PAYG: 20 min, BYOS: 24 hours)
    * Include byos parameter when checking subscription validity for BYOS systems with SCC

- Version 2.14
- Add command 'rmt-cli clean packages', which remove dangling packages no longer
  referenced in the available metadata files and their database entries. (gh#662)
- Fix for SUSE Liberty registration script to allow register to RMT servers with
  self-signed certificates and enable both old and new singing keys for SLL8 (bsc#1209825)
- Fix for local import of packages with special characters (bsc#1213002)

OBS-URL: https://build.opensuse.org/request/show/1156024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rmt-server?expand=0&rev=59
2024-03-07 17:31:51 +00:00
Natnael Getahun
4e73265771 * Fix for SUSE Liberty registration script to allow RHEL7/SLL7/CentOS7 clients to register to RMT servers
* Provide user/group symbol for user created during pre (boo#1219540)
  * rmt-server-pubcloud:
    * Extend cache expiration time for BYOS systems (PAYG: 20 min, BYOS: 24 hours)
    * Include byos parameter when checking subscription validity for BYOS systems with SCC

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=268
2024-03-07 14:57:01 +00:00
Felix Schnizlein
d11b86a55a 2.15-pre
* Support zstd compression for repository metadata (bsc#1218775)
  * Do not add credential handling to normal repository URLs (bsc#1219153)
  * Disable authentication for license files in pubcloud context
  * Higher registration sharing timeout

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=267
2024-02-08 15:48:30 +00:00
Natnael Getahun
e0ca7f6c7a - Version 2.16:
* Add support for debian repositories using flat or nested structures

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=266
2024-01-29 15:48:43 +00:00
Felix Schnizlein
3772abaf28 v2.15 last chance addition
* Dropping Rails Secrets facilities and related config files (bsc#1215176)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=265
2024-01-04 17:40:24 +00:00
Felix Schnizlein
65284eb3fd Version 2.15:
* Moving system hardware information to systems database table to
    allow transmitting system information dynamically. (jsc#PED-3734)
  * Fix secrets access for server user (bsc#1215176)
  * rmt-client-setup-res script: fix for CentOS8 clients (bsc#1214709)
  * Updated supportconfig script (bsc#1216389)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=264
2024-01-04 11:58:37 +00:00
Natnael Getahun
c9326827ea * Fix secrets access for server user (bsc#1215176)
* rmt-client-setup-res script: fix for CentOS8 clients (bsc#1214709)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=263
2023-12-12 12:45:54 +00:00
Felix Schnizlein
a9760b6267 - rmt-client-setup-res script: fix for CentOS8 clients (bsc#1214709)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=262
2023-12-05 13:01:52 +00:00
Natnael Getahun
df0eb3a67d - Version 2.15:
* Moving system hardware information to systems database table to
    allow transmitting system information dynamically. (jsc#PED-3734)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=261
2023-10-05 07:57:09 +00:00
Natnael Getahun
999443cecb Test data migration on reference host
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=260
2023-08-29 15:45:21 +00:00
f16c9b4c1a - Fix for local import of packages with special characters (bsc#1213002)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=259
2023-07-25 11:55:16 +00:00
d31ead8e5b - Version 2.14
- Add command 'rmt-cli clean packages', which remove dangling packages no longer
  referenced in the available metadata files and their database entries. (gh#662)
- Fix for SUSE Liberty registration script to allow register to RMT servers with
  self-signed certificates and enable both old and new singing keys for SLL8 (bsc#1209825)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=258
2023-06-28 12:55:34 +00:00
ffdb9c9664 Accepting request 1088331 from systemsmanagement:SCC:RMT
- Version 2.13
  * Handle X-Original-URI header, partial fix for bsc#1211398
  * New endpoint to handle SUMa CLI tool PAYG/BYOS check
  * Additional API paths for SUMa PAYG for RMT
  * Allow access to SUMa Client Tools and Proxy channels if product is SUMA_Server
  * Handle system token for BYOS instances in the cloud

OBS-URL: https://build.opensuse.org/request/show/1088331
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rmt-server?expand=0&rev=58
2023-05-22 11:14:52 +00:00
Miquel Sabate Sola
f27205122e - Version 2.13
* Handle X-Original-URI header, partial fix for bsc#1211398
  * New endpoint to handle SUMa CLI tool PAYG/BYOS check
  * Additional API paths for SUMa PAYG for RMT
  * Allow access to SUMa Client Tools and Proxy channels if product is SUMA_Server
  * Handle system token for BYOS instances in the cloud

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=256
2023-05-22 10:32:05 +00:00
bbc5ad56b5 Accepting request 1082660 from systemsmanagement:SCC:RMT
- Version 2.12
  * Update translations
  * CVE-2023-28120: Update active support to fix possible XSS Security Vulnerability
    in bytesliced strings for html_safe. (bsc#1209507)
  * CVE-2023-27530: Update rack to mitigate possible DoS in multipart mime parsing (bsc#1209096)
  * Force rmt-client-setup-res script to use https (bsc#1209825)
  * Download repomd.xml.asc before repomd.xml.key, because there are repos that only have repomd.xml.asc

- Version 2.11:
  * Mark secrets.yml.key file as part of the rpm to allow seamless downgrades (bsc#1207670)
  * Adding -f to the file move command when moving the mirrored directory to its final location (bsc#1203171) 
  * Fix %post install of pubcloud subpackage reload of nginx (bsc#1206593)
  * Skip warnings regarding nokogiri libxml version mismatch (bsc#1202053)

- Release version 2.10:
  - Add option to turn off system token support (bsc#1205089)
  - Update the `last_seen_at` column on zypper service refresh
  - Do not retry to import non-existing files in air-gapped mode (bsc#1204769)
  - Fix CVE-2022-31254 (bsc#1204285): rmt-server-pubcloud allows to escalate from user _rmt to root
  Root-level escalation vector bug was found in the packaging file which has been mitigated.

- adapt rmt-client-setup-res script to work on SLL9/RHEL9

- Send system creation and product activation dates to SCC for better
  visibility in SCC.

OBS-URL: https://build.opensuse.org/request/show/1082660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rmt-server?expand=0&rev=57
2023-04-25 14:42:47 +00:00
Felix Schnizlein
cb2e3c9cdb Append missing CVE entry to 1.12 release:
* CVE-2023-28120: Update active support to fix possible XSS Security Vulnerability (bsc#1209507)
  * CVE-2023-27530: Update rack to mitigate possible DoS in multipart mime parsing (bsc#1209096)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=254
2023-04-24 11:26:22 +00:00
Felix Schnizlein
39f49143a3 - Version 2.12
* Update translations
  * Fix CVE-2023-28120: Update active support to fix possible XSS Security Vulnerability
    in bytesliced strings for html_safe. (bsc#1209507)

- Force rmt-client-setup-res script to use https (bsc#1209825)
- Download repomd.xml.asc before repomd.xml.key, because there are repos that only have repomd.xml.asc

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=253
2023-04-13 13:58:25 +00:00
Felix Schnizlein
076c0330e1 - Version 2.11:
- Mark secrets.yml.key file as part of the rpm to allow seamless downgrades (bsc#1207670)

- Adding -f to the file move command when moving the mirrored directory to its final location (bsc#1203171)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=252
2023-03-15 08:01:03 +00:00
f02938f3d5 - Skip warnings regarding nokogiri libxml version mismatch (bsc#1202053)
- Fix CVE-2022-31254 (bsc#1204285): rmt-server-pubcloud allows to escalate from user _rmt to root
  Root-level escalation vector bug was found in the packaging file which has been mitigated.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=251
2023-01-09 10:00:40 +00:00
fea8e760be - Fix %post install of pubcloud subpackage reload of nginx (bsc#1206593)
- Skip warnings regarding nokogiri libxml version mismatch

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=250
2022-12-21 14:19:28 +00:00
ade8328fef - Update the last_seen_at column on zypper service refresh
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=249
2022-12-21 14:06:02 +00:00
be0efcb1f4 - Do not retry to import non-existing files in air-gapped mode (bsc#1204769)
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=248
2022-11-25 10:51:08 +00:00
Miquel Sabate Sola
dff4aee871 Added commit from master on updating last_seen_at column on zypper service refresh
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=247
2022-11-18 11:03:48 +00:00
aa5e81a57e - Release version 2.10:
- Add option to turn off system token support (bsc#1205089)

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=246
2022-11-15 11:09:47 +00:00
84017fb0ad - adapt rmt-client-setup-res script to work on SLL9/RHEL9
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=245
2022-11-10 16:56:20 +00:00
Felix Schnizlein
194f744f54 - Send system creation and product activation dates to SCC for better
visibility in SCC.

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=244
2022-09-28 06:32:49 +00:00
28d6270f45 Accepting request 1002350 from systemsmanagement:SCC:RMT
- Release version 2.9: Implement `System-Token` header handling to improve unique system reporting.

OBS-URL: https://build.opensuse.org/request/show/1002350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rmt-server?expand=0&rev=56
2022-09-10 18:17:15 +00:00
1883395f81 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=242 2022-09-09 16:36:14 +00:00
ef464c2048 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=241 2022-09-09 12:54:48 +00:00
0400870e8e OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=240 2022-09-09 11:51:01 +00:00
f85be29db0 - Release version 2.9
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=239
2022-09-09 08:47:27 +00:00
9dee83162b - Release version 2.9
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=238
2022-09-02 13:34:57 +00:00
Felix Schnizlein
f4611110a9 - Sending fake system token to SCC if real system token is available
OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC:RMT/rmt-server?expand=0&rev=237
2022-08-17 07:00:48 +00:00