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

Skip chmod of ENGINE_EXTERNAL_PROVIDERS_TRUST_STORE in DEVELOPER_MODE #926

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

dupondje
Copy link
Member

@dupondje dupondje commented Mar 6, 2024

The keytool command before this _set_file_permissions is not executed in DEVELOPER_MODE.
If we execute the chmod, it fails with:
Failed to execute stage 'Misc configuration': [Errno 2] No such file or directory: '/home/xxx/xxx/var/lib/ovirt-engine/external_truststore' as the file was not created.

The keytool command before this _set_file_permissions is not executed in
DEVELOPER_MODE.
If we execute the chmod, it fails with:
Failed to execute stage 'Misc configuration': [Errno 2] No such file or directory: '/home/xxx/xxx/var/lib/ovirt-engine/external_truststore'
as the file was not created.

Signed-off-by: Jean-Louis Dupond <[email protected]>
@didib
Copy link
Member

didib commented Mar 6, 2024

Looks good to me. No idea if and how much the ovn plugin was tested/used in developer-mode - I know I didn't ever try it myself (and hardly ever used developer-mode otherwise, I admit - I always tested stuff on separate VMs, not on my main machine).

@didib
Copy link
Member

didib commented Mar 6, 2024

You might want to add an 'else:' with output to the developer to say what should be done in developer-mode, if any, or at least mention that the chmod was skipped.

@didib
Copy link
Member

didib commented Mar 6, 2024

Merging anyway. Thanks!

Copy link
Member

@sandrobonazzola sandrobonazzola left a comment

Choose a reason for hiding this comment

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

LGTM

@didib didib merged commit 421a6fd into oVirt:master Mar 6, 2024
3 checks passed
@dupondje
Copy link
Member Author

dupondje commented Mar 6, 2024

Looks good to me. No idea if and how much the ovn plugin was tested/used in developer-mode - I know I didn't ever try it myself (and hardly ever used developer-mode otherwise, I admit - I always tested stuff on separate VMs, not on my main machine).

We are working on a docker dev container for oVirt, so it's easier for new dev's to start working on oVirt without the need of an external VM. So that's the reason I've hit it :)

@didib
Copy link
Member

didib commented Mar 6, 2024

10 years ago Moran spent some time on https://github.com/mgoldboi/oVirt-Dockerized. No idea what its state, but it was eventually neglected. Good luck!

@sandrobonazzola sandrobonazzola added this to the ovirt-4.5.7 milestone Oct 4, 2024
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.

3 participants