Fixed htx ssl issue while accessing the HTX RPM#2935
Closed
SamirMulani wants to merge 1 commit intoavocado-framework-tests:masterfrom
SamirMulani:htx-sslissue-fix
Closed
Fixed htx ssl issue while accessing the HTX RPM#2935SamirMulani wants to merge 1 commit intoavocado-framework-tests:masterfrom SamirMulani:htx-sslissue-fix
SamirMulani wants to merge 1 commit intoavocado-framework-tests:masterfrom
SamirMulani:htx-sslissue-fix
Conversation
Due to an SSL issue on the LPAR, the installation of the HTX RPM using rpm -ivh is failing. To resolve this, we have implemented a curl-based approach to download and install the HTX RPM packages Signed-off-by: Samir Mulani<samir@linux.vnet.ibm.com> Fixed pycodestyle warnings. Ran the below command to resolve the pycodestyle issues. Signed-off-by: “Samir <“samir@linux.vnet.ibm.com”>
| '--force' % (self.rpm_link, self.latest_htx_rpm), | ||
| htx_latest_rpm = distro_specific_htx_versions[0] | ||
| self.latest_htx_rpm = htx_latest_rpm | ||
| tmp_dir = "/tmp/" + htx_latest_rpm |
Member
There was a problem hiding this comment.
the variable is slightly confusing, can you please rename it like
tmp_htx_rpm
| if process.system(cmd, | ||
| shell=True, ignore_status=True): | ||
| self.cancel("rpm download failed") | ||
| cmd = "rpm -ivh %s" % (tmp_dir) |
Member
There was a problem hiding this comment.
even have --nodeps in safer side
| if htxd_pid: | ||
| self.log.info("HTXD is already running with PID: %s. Killing it.", htxd_pid) | ||
| self.log.info( | ||
| "HTXD is already running with PID: %s. Killing it.", htxd_pid) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Due to an SSL issue on the LPAR, the installation of the HTX RPM using rpm -ivh is failing.
To resolve this, we have implemented a curl-based
approach to download and install the HTX RPM packages