-
Notifications
You must be signed in to change notification settings - Fork 95
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
Remove references to postgresql-evr #3167
base: master
Are you sure you want to change the base?
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.
AFAIK this was the only reason why we installed the Satellite repositories and enabled the satellite module on the external DB. Please simply it so it only uses RHEL base OS & AppStream.
I'd also like to see it in the release notes as a headline feature, because it enables managed databases (like in cloud environments) to be used.
9969c52
to
3a439ca
Compare
Which part of the docs does this live in? I'm not seeing any references to Satellite at least in https://docs.theforeman.org/nightly/Installing_Server/index-katello.html#using-external-databases_foreman, which seems to contain all of the external DB docs. |
https://github.com/ekohl/foreman-documentation/blob/move-external-db-params/guides/common/modules/proc_preparing-a-host-for-external-databases.adoc which I think can pretty much go entirely.
|
I see, I thought you meant we advised users to install Satellite repositories on normal Foreman smart proxies. |
@ekohl if I'm not wrong, I think that means we can also stop having users install the Katello repositories as well on external databases. I've removed references to installing our repos from both the Katello and Satellite docs. |
--enable={RepoRHEL9BaseOS} \ | ||
--enable={RepoRHEL9AppStream} | ||
---- | ||
endif::[] | ||
|
||
ifdef::katello[] | ||
. Install the `katello-repos-latest.rpm` package | ||
. Ensure that the {EL} 9 BaseOS and Appstream repositories are enabled. |
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.
For upstream, this is now the same as EL 8 so at the very least we can drop them. I'd actually consider dropping the whole repository setup for upstream. Essentially you want a basic OS install which I'd feel confident in assuming from users.
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 that.
guides/common/modules/proc_preparing-a-host-for-external-databases.adoc
Outdated
Show resolved
Hide resolved
@@ -4,7 +4,8 @@ | |||
[id="katello-headline-features"] | |||
== Headline Features | |||
|
|||
There are no highlights with Katello {KatelloVersion}. | |||
Remote installation of the Katello database on systems where root access is not available is now possible. |
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.
We always add headers, so something like
Remote installation of the Katello database on systems where root access is not available is now possible. | |
=== postgresql-evr extension no longer required | |
Installation of the Katello database on remote systems where root access is not available is now possible. |
And perhaps also note that you only need a basic PostgreSQL installation now, which means it probably also works with managed databases like Amazon RDS and others.
2d172de
to
50b7976
Compare
50b7976
to
fd58d72
Compare
Conceptually speaking, it’s strange that a section named "Preparing" includes prerequisites. Because "Preparing" itself is a prerequisite by definition. If you think the two bullets should indeed be considered prerequisites applicable to all the modules in 4.10. Using external databases with Foreman, you can split them off into a separate module and include it at the beginning of assembly_using-external-databases.adoc. See Prerequisites for bare-metal provisioning (source here) for an example of prereqs included at the assembly level. If you feel the two bullets are actually procedure steps, you can merge them with
Then, even if you hide the last step for upstream builds, the rest of the module will still make sense for these builds. |
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 also think you can drop lines 6-9 because now a base RHEL subscription gives you access to the right repositories. Though with service level agreement I'm a bit uncertain.
Do we still need procedure? After removing the specific Satellite repositories, isn't it sufficient to say you need a RHEL 8 or 9 system with an attached subscription? Essentially, drop the whole chapter Preparing a host for external databases
and make them prerequisites in the Installing PostgreSQL
procedure
@asteflova @apinnick what do you think?
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've ripped out so much of this page that I think I could just include this info as prerequisites.
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.
Sounds good to me from the docs perspective. Looking at the procedure steps, it looks like you could save a lot of space by shrinking it into a prerequisite bullet without losing much value. More importantly (to me), anything that's a prerequisite should be labeled as "prerequisite", not "preparing" or anything like that. We are supposed to apply the same wording and terminology consistently (this helps make the content predictable).
=== postgresql-evr extension no longer required | ||
|
||
Installation of the Katello database on remote systems where root access is not available is now possible. | ||
Only a basic PostgreSQL installation is required, which should enable installs on systems like Amazon RDS or Azure Database for PostgreSQL. |
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 is out of scope, but we have a guide https://docs.theforeman.org/nightly/Deploying_Project_on_AWS/index-katello.html and using Amazon RDS would be a good thing to document, after it's been verified.
It's looking likely that I'll need to also add information for users upgrading their remote databases due to Katello/katello#11098. Looks like https://docs.theforeman.org/nightly/Upgrading_Project/index-katello.html#Upgrading_the_External_Database_upgrading-connected is what will need updating. |
We do. I forgot which extension they use, but it's shipped in |
08758c9
to
987cc45
Compare
postgresql-evr removal is looking to be delayed until Katello 4.15. |
This is back on the priority list for Katello 4.15. I'll address the conflict soon. |
987cc45
to
6e94344
Compare
The conflicts have been resolved. |
With the merging of Katello/katello#11087 , the evr database type is now being added to postgres directly in Katello. This means users no longer need to install the RPM. So, for Katello 4.14, it will be safe to remove this reference.
Q: do we still need postgresql-contrib? I think we may need it for Pulpcore...
Please cherry-pick my commits into: