Comments (21)
We have created an excel sheet which contains the offline agent details. We will share the excel to the respective team to delete the node/agent if it is not required.
from cortx-re.
This issue/pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from cortx-re.
This issue/pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from cortx-re.
@gowthamchinna Can you please take a look
from cortx-re.
Sure will work on it
from cortx-re.
Hi @gowthamchinna can you provide an update on this issue?
from cortx-re.
For the convenience of the Seagate development team, this issue has been mirrored in a private Seagate Jira Server: https://jts.seagate.com/browse/EOS-28328. Note that community members will not be able to access that Jira server but that is not a problem since all activity in that Jira mirror will be copied into this GitHub issue.
from cortx-re.
Hi @shailesh-vaidya can you provide an update on this issue?
from cortx-re.
@nikhilpatil2995 is working on this task in the current sprint. @nikhilpatil2995 Please update details.
from cortx-re.
Anmol Vijwani commented in Jira Server:
I have verified the nodes in Prod Jenkins, Unable to find the nodes which is specified in ticket.
It maybe cleaned earlier.
from cortx-re.
Shailesh Vaidya commented in Jira Server:
[~945475] - Updated ticket details based on scrum discussion. CC: [~940197]
from cortx-re.
Anmol Vijwani commented in Jira Server:
I have created script to extract the information of nodes, But to run that it needs admin access.
As [~729494] rightly suggested me to setup one dev Jenkins and try the script there first.
So, I have setup Jenkins ( [http://ssc-vm-g4-rhev4-1690.colo.seagate.com:8080/ |http://ssc-vm-g4-rhev4-1690.colo.seagate.com:8080/]) and created 2 nodes(ssc-vm-g3-rhev4-3198.colo.seagate.com & ssc-vm-g3-rhev4-3198.colo.seagate.com) with different users.
One is online and another node is offline for testing. Then I have tested my script getting the following output : ====================
Name: Node1 getLabelString: ssc-vm-g3-rhev4-3203.colo.seagate.com
getNumExectutors: 1 getRemoteFS: /root getMode: NORMAL getRootPath: /root getDescriptor: hudson.slaves.DumbSlave$DescriptorImpl@530c28a1 getComputer: hudson.slaves.SlaveComputer@51e2a0de computer.isAcceptingTasks: true computer.isLaunchSupported: true computer.getConnectTime: 1654854879632 computer.getDemandStartMilliseconds: 9223372036854775807 computer.isOffline: false ====================
Name: Node2 getLabelString: NojavaNode
getNumExectutors: 1 getRemoteFS: /root getMode: NORMAL getRootPath: null getDescriptor: hudson.slaves.DumbSlave$DescriptorImpl@530c28a1 getComputer: hudson.slaves.SlaveComputer@6e383529 computer.isAcceptingTasks: true computer.isLaunchSupported: true computer.getConnectTime: 1654855520383 computer.getDemandStartMilliseconds: 9223372036854775807 computer.isOffline: true
Now trying to enhancing the script to extract VM & user details.
cc: [~940197]
from cortx-re.
Anmol Vijwani commented in Jira Server:
Hi [~729494] ,I am able to extract the VM, Label & Status details via job on development Jenkins.
Below is the output:
[Pipeline] Start of Pipeline[Pipeline] echoSlave: Node1[Pipeline]
echoHostname: ssc-vm-g3-rhev4-3203.colo.seagate.com[Pipeline]
echo computer.isOffline: false
[Pipeline] echo--------------------------------
[Pipeline] echoSlave: Node2[Pipeline]
echoHostname: ssc-vm-g3-rhev4-3198.colo.seagate.com
[Pipeline] echo computer.isOffline: true
Unable to extract the user details as of now.
CC: [~940197]
from cortx-re.
Anmol Vijwani commented in Jira Server:
Hi [~729494],
I am now able to extract all the needed information.
Below is the output:
Started by user
[user3|http://ssc-vm-g4-rhev4-1690.colo.seagate.com:8080/user/user3]
[Pipeline] Start of Pipeline[Pipeline] echoHostname: ssc-vm-g3-rhev4-3203.colo.seagate.com Label: ssc-vm-g3-rhev4-3203.colo.seagate.com Computer.isOffline: false[Pipeline] echo--------------------------------[Pipeline] echoHostname: ssc-vm-g3-rhev4-3198.colo.seagate.com Label: NojavaNode Computer.isOffline: true[Pipeline] echo--------------------------------[Pipeline] echoSlave: Node4 User: Anmol UserId: admin[Pipeline] echoHostname: ssc-vm-g3-rhev4-3203.colo.seagate.com Label: Java Computer.isOffline: false[Pipeline] echo--------------------------------[Pipeline] echoSlave: Node5 User: Anmol UserId: admin[Pipeline] echoHostname: ssc-vm-g3-rhev4-3198.colo.seagate.com Label: NoJavanode Computer.isOffline: true[Pipeline] echo--------------------------------[Pipeline] echoSlave: Node6 User: user3 UserId: user3[Pipeline] echoHostname: ssc-vm-g3-rhev4-3203.colo.seagate.com Label: JavaNode Computer.isOffline: false[Pipeline] echo--------------------------------[Pipeline] End of PipelineFinished: SUCCESS
CC: [~940197]
from cortx-re.
Anmol Vijwani commented in Jira Server:
I found there were some security vulnerabilities in some functions like:
staticMethod hudson.model.Hudson getInstance
staticMethod jenkins.model.Jenkins getInstance
Getting this warning when approving the functions "Approving this signature may introduce a security vulnerability! You are advised to deny it."
So, I have done some research and found this :CVE-2009-3728.
[https://www.cvedetails.com/cve/CVE-2009-3728/]
So, replacing it with staticMethod jenkins.model.Jenkins get as per [https://github.com/jenkinsci/jenkins/pull/4042#:~:text=Note%20that%20Jenkins,PR%20is%20fine]
No vulnerabilities is scanned over dev Jenkins. Getting the output as per desired.
cc: [~729494]
from cortx-re.
Anmol Vijwani commented in Jira Server:
Fixed some issues in Prod Jenkins, Able to get the details.
Jenkins Job: [https://eos-jenkins.colo.seagate.com/job/Cortx-Automation/job/Reports/job/offline-node-report]
Made some improvements as per [~729494] :
- Only print nodes which are offline
- redirect out to file
- Archive file so that it will be available after job execution
Script: [https://github.com/vijwani-seagate/cortx-re/blob/CORTX-28328/jenkins/env_setup/Jenkinsnodedetails.groovy]
cc: [~940197]
from cortx-re.
Anmol Vijwani commented in Jira Server:
PR: #1088
from cortx-re.
Anmol Vijwani commented in Jira Server:
Hello [~940197],
The PR got merged, but I am unable to put this ticket in resolve state. Getting this error: "Environment is required. But it is not present on screen. "
!image-2022-06-29-17-10-43-220.png!
Can you please help me in putting it in resolve state?
from cortx-re.
Gaurav Chaudhari commented in Jira Server:
{panel:bgColor=#c1c7d0}h2. cortx-rgw - main branch build pipeline SUCCESS
h3. Build Info:
-
Author: noreply
-
Component Build : 5202
-
Release Build : 5698
h3. Artifact Location :
-
http://cortx-storage.colo.seagate.com/releases/cortx/github/main/rockylinux-8.4/5698
h3. Image Location :
- cortx-docker.colo.seagate.com/seagate/cortx-all:2.0.0-5698
cortx-docker.colo.seagate.com/seagate/cortx-rgw:2.0.0-5698
cortx-docker.colo.seagate.com/seagate/cortx-data:2.0.0-5698
cortx-docker.colo.seagate.com/seagate/cortx-control:2.0.0-5698
{panel}
from cortx-re.
Anmol Vijwani commented in Jira Server:
Resolved
from cortx-re.
Anmol Vijwani commented in Jira Server:
Completed
from cortx-re.
Related Issues (20)
- CVE-2022-36087 (Medium) detected in oauthlib-3.2.1-py3-none-any.whl - autoclosed HOT 7
- Test Board-Genius Sync HOT 2
- CVE-2022-24439 (Critical) detected in GitPython-3.1.29-py3-none-any.whl HOT 1
- CVE-2022-23491 (Medium) detected in certifi-2022.9.24-py3-none-any.whl - autoclosed HOT 1
- CVE-2022-40897 (Medium) detected in setuptools-36.0.1-py2.py3-none-any.whl HOT 1
- CVE-2023-23931 (Medium) detected in cryptography-3.3.2-cp36-abi3-manylinux2010_x86_64.whl HOT 1
- CVE-2023-0286 (High) detected in cryptography-3.3.2-cp36-abi3-manylinux2010_x86_64.whl HOT 1
- CVE-2023-25577 (High) detected in Werkzeug-2.2.2-py3-none-any.whl HOT 1
- CVE-2023-23934 (Low) detected in Werkzeug-2.2.2-py3-none-any.whl HOT 1
- CVE-2023-30861 (High) detected in Flask-1.1.1-py2.py3-none-any.whl HOT 1
- CVE-2023-40267 (Critical) detected in GitPython-3.1.29-py3-none-any.whl HOT 1
- Combine NODECLI and OPTIMIZED HW Deployment HOT 4
- CVE-2021-33503 (High) detected in urllib3-1.25.11-py2.py3-none-any.whl HOT 16
- cortx-all image generation instructions for community. HOT 3
- BG test HOT 4
- CVE-2021-21330 (Medium) detected in aiohttp-3.6.1-cp37-cp37m-manylinux1_x86_64.whl - autoclosed HOT 3
- CVE-2021-41496 (High) detected in numpy-1.21.5-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl - autoclosed HOT 3
- CVE-2021-34141 (Medium) detected in numpy-1.21.6-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl HOT 10
- CVE-2022-24302 (Medium) detected in paramiko-2.7.1-py2.py3-none-any.whl - autoclosed HOT 5
- Need to change our template asking for new third party software HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cortx-re.