rhos-infra / devnest Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
The following patch fixes an important issue: https://github.com/rhos-infra/devnest/pull/15/files
Without it, I get the following trace back when calling devnest list -g network
:
Traceback (most recent call last):
File "/Users/ihrachys/Library/Python/3.10/bin//devnest", line 8, in <module>
sys.exit(main())
File "/Users/ihrachys/Library/Python/3.10/lib/python/site-packages/devnest/lib/cli.py", line 702, in main
JenkinsNodeShell().main(args)
File "/Users/ihrachys/Library/Python/3.10/lib/python/site-packages/devnest/lib/cli.py", line 405, in main
jenkins_nodes = jenkins_obj.get_nodes(parser_args.node_regex, group)
File "/Users/ihrachys/Library/Python/3.10/lib/python/site-packages/devnest/lib/jenkins.py", line 94, in get_nodes
cur_node = Node(self.jenkins, node, nodes_data)
File "/Users/ihrachys/Library/Python/3.10/lib/python/site-packages/devnest/lib/node.py", line 290, in __init__
self.reservation_info = self._get_reservation_info()
File "/Users/ihrachys/Library/Python/3.10/lib/python/site-packages/devnest/lib/node.py", line 661, in _get_reservation_info
res_data = json_data.get('reservation')
AttributeError: 'float' object has no attribute 'get'
After reserving a node for one hour successfully, listing nodes is throwing exception:
jenkinsnodecli --conf ~/.config/jenkins_jobs/jenkins_jobs.ini -l [8:57:36]
Traceback (most recent call last):
File "/Users/ssbarnea/.pyenv/versions/2.7.13/bin/jenkinsnodecli", line 11, in <module>
load_entry_point('jenkinsnodecli', 'console_scripts', 'jenkinsnodecli')()
File "/Users/ssbarnea/redhat/jenkins-node-tool/jenkinsnodecli/lib/cli.py", line 180, in main
JenkinsNodeShell().main(args)
File "/Users/ssbarnea/redhat/jenkins-node-tool/jenkinsnodecli/lib/cli.py", line 123, in main
jenkins_nodes = jenkins_obj.get_nodes(node_regex=parser_args.node)
File "/Users/ssbarnea/redhat/jenkins-node-tool/jenkinsnodecli/lib/jenkins.py", line 82, in get_nodes
cur_node = Node(self.jenkins, node)
File "/Users/ssbarnea/redhat/jenkins-node-tool/jenkinsnodecli/lib/node.py", line 134, in __init__
self.node_status = self._get_node_status()
File "/Users/ssbarnea/redhat/jenkins-node-tool/jenkinsnodecli/lib/node.py", line 255, in _get_node_status
reservation_endtime = self._get_reservation_endtime_epoch()
File "/Users/ssbarnea/redhat/jenkins-node-tool/jenkinsnodecli/lib/node.py", line 279, in _get_reservation_endtime_epoch
return self.reservation_info.get_reservation_endtime_epoch()
AttributeError: 'NodeReservation' object has no attribute 'get_reservation_endtime_epoch'
FAIL: 1
It seems that it may be very handy to have a shortcut for connecting to the serial/IPMI console of the host.
I encountered this when network connectivity to the host got broken due to local configuration changes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.