Adjustments for SUSE manager for retail - Rough network setting#386
Adjustments for SUSE manager for retail - Rough network setting#386Bischoff merged 2 commits intouyuni-project:masterfrom Bischoff:retail-adjustments-3
Conversation
|
One thing; retail as a solution can have two network topologies. One specified in PR (machine with dedicated network interface for internal network) and one where there is only one NIC. Example: That's why I am not so sure about naming this toggle |
|
Still, even in "retail-only" module there are two options for network - one separate and one to leave it as is, but setup libvirt dhcp to use next-server and dns from branch. The thing is that I thought for years that having dedicated internal network was how the retail solution was used. This kickoff I learned from Jeff that it is not the case and instead this shared network is used in majority. |
|
In the context of this PR, there are 3 things: As Ondrej pointed out, Retail can be tested in a second network setup, where the formulas are not used because DHCP and DNS are on a separated box (the so-called "router"). This is not covered in this PR, but if it is needed, I could add it without too much effort. I'm not sure though this would bring much to the testing side of things... To sum up the needed flags:
I have to check, but the retail flag is probably not needed in base module, while the other one probably needs to be there. |
|
I suggest renaming the It would be cool if it also had What will be needed is OpenStack support as this is not a libvirt exclusive. I can offer to help testing. Thank you very much |
|
Current status: I have divided
What is missing:
|
|
@Bischoff for retail_repo i would not create a variable but use the built-in: (this is more flexible then adding new temp variable) for :
My opinion is that we can have a mechanism for disabling Retail tests but imho we should run them together with the HEAD testsuite. If we have 2 differents testsuite to me is hardware/resource waste and also people are struggling revieing 1 head, imagine to have 2 differents stuff. ( this is the same pattern we had seen with SLE15 tests, which went not well) For the rest ok |
yes, good idea.
It was the plan.... Well, not immediately in HEAD, but in 3.2, and once it works in 3.2, in HEAD too. Why so? Because Retail is a 3.2 MU in the first place.
I never wanted to do that 😋 . |
moio
left a comment
There was a problem hiding this comment.
Feel free to merge, small fixups might come later.
Thanks for all the work here
modules/libvirt/base/main.tf
Outdated
| pool = "${var.pool}" | ||
| } | ||
|
|
||
| resource "libvirt_network" "private_network" { |
There was a problem hiding this comment.
Would it make sense to name this resource additional_network for consistency?
|
Ok, I'm convinced by @MalloZup, let's remove To answer @moio's comment, for the moment there is no If or when we add the possibility to externally set the additional network, we will have to be creative for a new variable. |
I agree with moving this HACK into main.tf but please remember that it's temporary and it will be removed as soon as the FATE entry linked will be closed. |
Of course. My hack too is temporary.
No worries, while I'm at it... |
|
My advice is: if you don't need to invest too much time in it && you like more having this HACK in main.tf, then yes, go ahead. |
|
i have seen temporary hack for 10 years 👍 🤣 |
|
Temporary hack removed, merging. |
This pull request adds support for SUSE Manager for retail:
retailbase settingretailgrain on the hosts$RETAILvariable in the.bashrcon the hostThe plan is to rebase the finer setup from #383 on top of this PR.
(*) should go away when merged with suse manager
(**) should go away when we have minions as proxies