New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add basic support and tests for Ubuntu 22.04 LTS #5543
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test Framework changes looks good to me.
I can't give feedback about the rest.
And I enter "Ubuntu 22.04" as the filtered product description | ||
And I select "Ubuntu 22.04" as a product | ||
Then I should see the "Ubuntu 22.04" selected | ||
When I click the Add Product button |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't confirm it, as I can't see Ubuntu 22.04 in my current environment.
But we might need to select also some child channel not selected automatically, for instance something related to LTSS.
As we do in When I select "SUSE Linux Enterprise Server LTSS 15 x86_64" as a product
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied this from Ubuntu 20.04 as a wild guess. This seems to be the same for all Ubuntu and Debian variants. And Ubuntu 22.04 is a LTS release by definition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks very good! :-D
Some minor changes are required.
Also, can you grant me rights at your repo, so I can build the packages and test everything during the hackweek, and do changes (if needed)?
Thanks!
@@ -1,4 +1,191 @@ | |||
[ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless @mcalmer can already provide the right IDs, I'd say this needs to go away?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this file from the PR. This file is generated by an internal tool.
Maybe you can paste it as comment to the PR, so we can fetch it and compare it with what we generate.
@@ -1516,6 +1535,11 @@ | |||
'DEST' : DOCUMENT_ROOT + '/pub/repositories/ubuntu/20/4/bootstrap/', | |||
'TYPE' : 'deb' | |||
}, | |||
'ubuntu-22.04-amd64' : { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mcalmer I think this should go away for now, as we do not have the SCC client tools channels?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, especially as we do not know if -33
will be the final product id or not.
Part of Hackweek 21 at https://hackweek.opensuse.org/21/projects/testing-gnu-slash-linux-distributions-on-uyuni. Main focus for me would be testing, as it seems most if the work is done by @mayrstefan |
I am building the packages at https://build.opensuse.org/project/show/home:juliogonzalezgil:branches:systemsmanagement:Uyuni:Master, for testing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I tested this PR, and can confirm the basic stuff works, as you can see at https://hackweek.opensuse.org/21/projects/testing-gnu-slash-linux-distributions-on-uyuni
I am now adding more reviewers, and if they approve, we can merge. But to have Ubuntu 22.04 we need https://build.opensuse.org/request/show/985321 accepted, and them submitted and released to the SLE15 codestreams (so it gets into openSUSE Leap 15.4)
Sounds good. What about the repository IDs? Will you replace them with the correct numbers or should we remove this block? |
We'll see, maybe @mcalmer wants to keep them and fix the IDs later. For now people will need to review, and we also need to merge my SRs for When the four things are ready, then we can officially have Ubuntu 22.04 as part of Uyuni. Hopefully for 2022.07. We'll see. |
@@ -1,4 +1,191 @@ | |||
[ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this file from the PR. This file is generated by an internal tool.
Maybe you can paste it as comment to the PR, so we can fetch it and compare it with what we generate.
@@ -1516,6 +1535,11 @@ | |||
'DEST' : DOCUMENT_ROOT + '/pub/repositories/ubuntu/20/4/bootstrap/', | |||
'TYPE' : 'deb' | |||
}, | |||
'ubuntu-22.04-amd64' : { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, especially as we do not know if -33
will be the final product id or not.
@mcalmer all done. For the Java part, I don't know if those changes are enough or not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but check the checkstyle error.
More product handling in the java code is only needed for RHEL like Products.
Ok so, I guess the product detection shows "Uknown" because this product is still not defined at sumatoolbox, or SCC, or whatever else, right? |
Correct. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
What does this PR change?
This is some basic preparation to support Ubuntu 22.04 LTS
GUI diff
No difference.
Documentation
Issue: https://github.com/SUSE/spacewalk/issues/18278
DONE
Test coverage
Cucumber tests were added
DONE
Links
Partially fixes #5320
Changelogs
Added
DONE
Re-run a test
If you need to re-run a test, please mark the related checkbox, it will be unchecked automatically once it has re-run: