Skip to content

HYRAX-2041: Support updated bes installation destination that matches legacy RPM installation paths#142

Merged
hannahilea merged 21 commits intomasterfrom
hr/fix-bes
Mar 19, 2026
Merged

HYRAX-2041: Support updated bes installation destination that matches legacy RPM installation paths#142
hannahilea merged 21 commits intomasterfrom
hr/fix-bes

Conversation

@hannahilea
Copy link
Copy Markdown
Contributor

@hannahilea hannahilea commented Mar 18, 2026

@hannahilea hannahilea changed the title Hr/fix bes Support updated bes installation destination that matches legacy RPM installation paths Mar 18, 2026
@hannahilea hannahilea changed the title Support updated bes installation destination that matches legacy RPM installation paths HYRAX-2041: Support updated bes installation destination that matches legacy RPM installation paths Mar 18, 2026
Comment on lines +57 to +59
# TODO: REVERT BEFORE MERGING!!!!!!
# BES_CORE_IMAGE_TAG="opendap/bes_core:$BES_VERSION-$TARGET_OS"
BES_CORE_IMAGE_TAG="opendap/bes_core:3.21.1-1164-el8-pull-request-test-image"
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll revert these before merging this PR; it was necessary for testing, given the changes to the bes_core image!

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK - that could be a challenging to understand issue if it does get merged!

@hannahilea
Copy link
Copy Markdown
Contributor Author

I ran into a number of fun edge cases around various build scripts, so fixed those here; if you'd prefer I can pull them into a separate PR.

@hannahilea hannahilea marked this pull request as ready for review March 18, 2026 21:21
@hannahilea hannahilea requested a review from ndp-opendap March 18, 2026 21:21
Copy link
Copy Markdown
Collaborator

@ndp-opendap ndp-opendap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I said requested changes just because I want to hear back from you about my concerns regarding default values etc.

If you hate it then request a another review and I'll just approve it as is...

-e 's:=.*/lib/bes:=/lib/bes:' \
-e 's:=.*/share/bes:=/share/bes:' \
-e 's:=.*/share/hyrax:=/share/hyrax:' \
-e 's:=/full/path/to/serverside/certificate/file.pem:=/etc/pki/bes/cacerts/file.pem:' \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I too wonder about the relevance of this. There was a time when the BES was set up for secure communications with the BES Clients (such as, but not limited to, the OLFS) but we have never used it to my knowledge. @jgallagher59701 might be able to say something regarding this bit...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good question. @dh-opendap ? I don't know how the two parts of the server communicate in NGAP (via a socket, yes, but I don't know if it's TLS or TLS/SSL). I do know that we jump through hoops to to encrypt data in transit.

Outside of NGAP, these are not needed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hah, when we initially added in this section (a couple weeks ago) we asked @dh-opendap about it then. Let me find those links---the upshot was no, he didn't know either!

(Dan, nothing you need to add here unless you want to 😅 )

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In NGAP all of the external facing certs are handled by the OLFS. As far as I know the only thing the BES is doing with respect to TLS is being a client of other services like AWS, TEA, and CMR.

I don't know how the two parts of the server communicate in NGAP (via a socket, yes, but I don't know if it's TLS or TLS/SSL).

It is just a regular socket, no TLS between the OLFS and BES. As far as I know we have never tested/configured a TLS connection between OLFS and BES. I think it's a relic of the BES's gestational period supervised by Patrick & Jose.

Copy link
Copy Markdown
Collaborator

@ndp-opendap ndp-opendap Mar 19, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we leave it as is for now, right a ticket to remove that stuff from the code base (Or possibly turn it on and test it?), and then we can do that work and testing outside of this important task that @hannahilea needs to complete.

What say ye? @jgallagher59701, @hannahilea ??

echo "LIBDAP Version: ${LIBDAP_VERSION}"; \
else \
echo "Error: Expected LIBDAP_VERSION `${LIBDAP_VERSION}`, found version `${LIBDAP_VERSION_FOUND}`. Exiting."; \
echo "Error: Expected LIBDAP_VERSION \"${LIBDAP_VERSION}\", found version \"${LIBDAP_VERSION_FOUND}\". Exiting."; \
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those back tics tho... definitely gonna exit with those! 💯 good catch

Comment on lines +57 to +59
# TODO: REVERT BEFORE MERGING!!!!!!
# BES_CORE_IMAGE_TAG="opendap/bes_core:$BES_VERSION-$TARGET_OS"
BES_CORE_IMAGE_TAG="opendap/bes_core:3.21.1-1164-el8-pull-request-test-image"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK - that could be a challenging to understand issue if it does get merged!

loggy "$HR"
loggy "$prolog BEGIN"

export BUILD_RECIPE="${1:-"../el9-build-recipe"}"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment as I made in the build-el8 script

@hannahilea hannahilea requested a review from ndp-opendap March 19, 2026 17:27
@ndp-opendap ndp-opendap linked an issue Mar 19, 2026 that may be closed by this pull request
@hannahilea hannahilea merged commit 332fe34 into master Mar 19, 2026
2 checks passed
@hannahilea hannahilea deleted the hr/fix-bes branch March 19, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

S3 Access Using credentials.conf Not Working on bes_core builds

3 participants