Skip to content
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

428 version - /bin/bash: openssl: command not found #492

Closed
dshershov opened this issue Oct 27, 2023 · 6 comments
Closed

428 version - /bin/bash: openssl: command not found #492

dshershov opened this issue Oct 27, 2023 · 6 comments
Labels

Comments

@dshershov
Copy link

dshershov commented Oct 27, 2023

Affected version

428

Current and expected behavior

After upgrade from 414 to 428 prepare container for worker and coordinator was ran with a problem

/bin/bash: openssl: command not found

Image version:

    productVersion: "428"
    stackableVersion: 0.0.0-dev
screenshot 2023-10-27 in 14 20 38

Possible solution

No response

Additional context

No response

Environment

No response

Would you like to work on fixing this bug?

None

@sbernauer
Copy link
Member

Hi @dshershov,

i assume you are using trino-operator version 23.7?
Version 23.7 of the trino-operator does not support nightly versions of the images (as you pull in by using stackableVersion: 0.0.0-dev).
You need to use

    productVersion: "414"
    stackableVersion: "23.7"

to pull in the corresponding image version for the operator. Please note that as the time 23.7 was released, only Trino versions up to 414 were supported.

The alternative would be to also use the nightly version for trino-operator as well, but please be aware that both - trino-operator and trino image in version 0.0.0-dev - are under active development and breaking changes can occur anytime.

@dshershov
Copy link
Author

Hello @sbernauer !
Glad to see you :)
hmm, okay
So, you not recommend to use 428 version of trino now? I need to work with OPA and I try to configuration role model with filterResources which I think cannot available with old trino-opa-authorizer integration

@lfrancke
Copy link
Member

We plan to make a new release in November which will include a newer version of Trino.

Until then, as @sbernauer said, you'd need to use the nightly versions of the operator.

@dshershov
Copy link
Author

oh, sounds good @lfrancke
Thanks a lot team!

@sbernauer
Copy link
Member

Yeah, as @lfrancke mentioned I think going with nightly and Trino 428 is a valid option (or wait 3-4 weeks) ;)
#443 might provide some valuable information, especially https://github.com/sbernauer/trino/blob/add-open-policy-agent/plugin/trino-open-policy-agent/src/test/resources/trino.rego.
We have plans to make authorization easier for users, until then you have to hand-craft the regorules similar to the link I send.

@dshershov
Copy link
Author

WOAH!
This information is really useful for us! Thanks a lot, Sebastian!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants