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

[yugabyted] [QA] [2.21.1]Enable EAR command is failing #22552

Closed
1 task done
yogesh-yb opened this issue May 27, 2024 · 1 comment
Closed
1 task done

[yugabyted] [QA] [2.21.1]Enable EAR command is failing #22552

yogesh-yb opened this issue May 27, 2024 · 1 comment
Assignees
Labels
2.21.1_blocker 2024.1.0_blocker 2024.1.1_blocker area/ecosystem Label for all ecosystem related projects kind/bug This issue is a bug priority/high High Priority

Comments

@yogesh-yb
Copy link

yogesh-yb commented May 27, 2024

Jira Link: DB-11479

Description

Steps: 1. Create a cluster with basic configuration using ./bin/yugabyted start and then execute ./bin/yugabyted configure encrypt_at_rest --enable and observe it fails with
<< ERR >>

<<
[yugabyted encrypt_at_rest] 2024-05-27 19:13:23,991 ERROR: | 0.4s | Traceback (most recent call last):
File "/Users/ysharmaryugabyte.com/yugabyte-2.21.1.0/./bin/yugabyted", line 6671, in run
args.func()
File "/Users/ysharmaryugabyte.com/yugabyte-2.21.1.0/./bin/yugabyted", line 1580, in configure_encrypt_at_rest
if self.check_openssl():
^^^^^^^^^^^^^^^^^^^^
File "/Users/ysharmaryugabyte.com/yugabyte-2.21.1.0/./bin/yugabyted", line 1883, in check_openssl
return find_executable('openssl') == None
^^^^^^^^^^^^^^^
NameError: name 'find_executable' is not defined

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@yogesh-yb yogesh-yb added kind/bug This issue is a bug priority/high High Priority area/ecosystem Label for all ecosystem related projects status/awaiting-triage Issue awaiting triage area/ybd yugabyted project related Github tickets. labels May 27, 2024
@yugabyte-ci yugabyte-ci removed the area/ybd yugabyted project related Github tickets. label May 27, 2024
@gargsans-yb
Copy link
Contributor

Adding a little more info on this:
The commit c1e156d deprecates the use of Python 2 from yugabyted.
The commit 1df9393 fixes a code which was present as part of Python2 support. This fix was not backported causing the failure.

@yugabyte-ci yugabyte-ci removed the status/awaiting-triage Issue awaiting triage label May 29, 2024
svarnau pushed a commit that referenced this issue May 29, 2024
…anges to prevent getting SyntaxWarning.

Summary:
Original commit: 1df9393 / D34647
- Changed all the string literals to have an r prefix where SyntaxWarning was being thrown.
- Add a check for has_errors when setting ui_port_available temp variable. Without this check, when an incorrect advertise_address is given, it results in exceptions.

Test Plan: manual tests

Reviewers: sgarg-yb, djiang

Reviewed By: djiang

Subscribers: yugabyted-dev

Tags: #jenkins-ready

Differential Revision: https://phorge.dev.yugabyte.com/D35370
nchandrappa added a commit that referenced this issue Jul 24, 2024
…anges to prevent getting SyntaxWarning.

Summary:
Original commit: cf3cead / D35370
- Changed all the string literals to have an r prefix where SyntaxWarning was being thrown.
- Add a check for has_errors when setting ui_port_available temp variable. Without this check, when an incorrect advertise_address is given, it results in exceptions.

Test Plan: manual tests

Reviewers: sgarg-yb, djiang

Reviewed By: djiang

Subscribers: yugabyted-dev

Tags: #jenkins-ready

Differential Revision: https://phorge.dev.yugabyte.com/D36818
nchandrappa added a commit that referenced this issue Jul 30, 2024
…ges to prevent getting SyntaxWarning.

Test Plan: Manual Tests

Reviewers: djiang

Reviewed By: djiang

Subscribers: yugabyted-dev

Tags: #jenkins-ready

Differential Revision: https://phorge.dev.yugabyte.com/D36865
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.21.1_blocker 2024.1.0_blocker 2024.1.1_blocker area/ecosystem Label for all ecosystem related projects kind/bug This issue is a bug priority/high High Priority
Projects
None yet
Development

No branches or pull requests

4 participants