-
Notifications
You must be signed in to change notification settings - Fork 55
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
A guide for migration to CaaSP 4.5 #979
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.
I would change a few things for clarity:
First, remove all the automatisation (licenses, non interactive).
Then, clarify that the zypper migration feature is for direct access to SCC as mentioned.
It's not impossible to migrate and upgrade without SCC, but I think it needs more documentation, if possible in another section. This should refer to the SLE docs IMO.
As this SP migration is a prerequisite for the rest of the ugprade I think we could split the docs in two sections. I am not a docs architect, so I am not sure. I trust your experience y'all : )
Here is what I thought, for example:
header1: Before the upgrade, migrate your repositories and upgrade to SP2
header1a: for SCC connected installs
header1b: with other installs
header2: Trigger the upgrades as usual
OK, so who can perform the testing for these scenarios and provide the resulting procedures? |
@r0ckarong this process already written IS what has been tested. maybe I am just confused by your comment... Do you mean you want an extra round of QA? This content is written by @atighineanu , which is X-squad's QA member :) |
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'm fine with the content of the PR now. Some wording fixes remain.
Agreeing with @kkaempf comments. |
See SUSE/doc-caasp#979 See SUSE/avant-garde#1918 Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
See SUSE/doc-caasp#979 See SUSE/avant-garde#1918 Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Maybe we should add a note into this PR how to drain a node before performing manual |
Good point ! Each node needs to be drained/cordoned before starting the migration. We had this discussion on RC before. |
This is now included in skuba automatically. But yes, it does not cover the case in which folks want to perform a manual reboot. |
But we need to reboot right after |
Not sure if the full customers requirements are covered here, already. Please ensure that we can also do an upgrade with manually repo-changes (zypper ar / zypper rr) and using "zypper dup" instead of "zypper migration"! We have many enterprise customers that do NOT register their servers to SCC/SMT/RMT and have their own repo-sources (ZCM, SUSE Manager). In these cases we have to adjust the repos manually and us zypper dup... |
Is this a supported scenario for SLES migrations ? In any case, there's not too much we can document for zypper repos, except
|
AFAIK - yes - we have to do this in SUMA assisted deployments often and we have to do this with SES, too..
Documentation is fine - I believe we just need to list the required repos properly.. |
@kkaempf @Martin-Weiss From my side the requested information for this step is there now. Please give me a thumbs up and I will merge. |
See SUSE/doc-caasp#979 See SUSE/avant-garde#1918 Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
@r0ckarong I just realised that the upgrade of the local config for cri-o is only in release notes. Shouldn't it be also here, in the process? (skuba cluster upgrade localconfig is documented in https://github.com/SUSE/caasp-release-notes/pull/51/files ) |
@evrardjp Isn't this automatically done when you run |
I thought "addon upgrade apply" just deploys yaml and does not need ssh? Do we control the crio config via yaml and can skuba distribute the crio.conf.d changes with addon apply and without ssh? |
correct it's not automatically done. For example, for version 1.17.9, the addons are at version x, and for 1.18.4, the addons are at version y (fictional numbers). |
|
I would recommend to document the step by step process properly and hopefully get this fixed in one of the next releases. |
So we are missing the step of refreshing the config manually during the migration. What is the correct way to do this and at what point in the current instructions does this need to be done? @atighineanu Did you guys test with a modified crio.conf? |
We do! That's indeed the scope of that command I mentioned above, which is incorrectly documented only in release notes :) |
@r0ckarong I think @atighineanu indeed tested with a modified crio, else it wouldn't work ;) |
What was tested when developing was only the features that were enabled through feature flags. Manually overriden data still need manual intervention, this is why we don't automate everything. We can't assume what people have done with their config, as it would be quite a wide gammut of changes. IMO We should just encourage deployers to try the automation tool to migrate to the new configuration structure, and kindly ask them to review the changes. |
I agree on that: if there is something we should iterate, let's iterate! Let's just not redesign from scratch. |
Relates to:
SUSE/avant-garde#1769
adoc: added a note on upgrading cri-o caasp-release-notes#51
SUSE/avant-garde#1918