Bug 1219063 - suseconnect-ng requires agreement to licence while registering HA system from CLI
Summary: suseconnect-ng requires agreement to licence while registering HA system from...
Status: NEW
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP4
Classification: openSUSE
Component: Registration (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Major
Target Milestone: ---
Assignee: SCC Bugs
QA Contact: Jose Lausuch
URL: https://openqa.suse.de/tests/13279191...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-22 13:35 UTC by Antonios Konstantinos Pappas
Modified: 2024-01-24 08:59 UTC (History)
4 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---


Attachments
Output of SUSEConnect --list-extensions (3.07 KB, text/plain)
2024-01-22 13:35 UTC, Antonios Konstantinos Pappas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonios Konstantinos Pappas 2024-01-22 13:35:20 UTC
Created attachment 872061 [details]
Output of SUSEConnect --list-extensions

* Observation:
Registering the HA module to a SLE15SP4LTSS system by running 

# source /etc/os-release
# SUSEConnect  -p sle-ha/\${VERSION_ID}/\${CPU} -r 223378a848e109bd

Now requires prompts for agreeing to a license agreement but only on 15SP4

* Reproducible

Fails since (at least) Build [:32153:java-17-openjdk](https://openqa.suse.de/tests/13279191) (current job)

It always happens.
We now work around this but auto agreeing with the license on 15-SP4

## Expected result
The license agreement prompt should appear either on all service packs, or it should not appear at all (?)
Comment 1 Antonios Konstantinos Pappas 2024-01-22 14:23:09 UTC
Forgot to mention that the version is  suseconnect-ng-1.5.0~git0.d27a8e2-150400.3.19.1.x86_64
Comment 2 Thomas Schmidt 2024-01-24 08:59:31 UTC
Please try again with the latest release 1.6.0, it has the license dialogue removed. 

Going forward, you'll need to add to the tests the '--auto-agree-with-licenses' flag, or interactively acknowledge the license. 
I cannot tell why only HA 15SP4 had a license, that's a configuration per product. We can look into this when the license dialogue gets re-introduced.