Giter VIP home page Giter VIP logo

devnest's People

Contributors

bregman-arie avatar mpryc avatar sdatko avatar ssbarnea avatar tristancacqueray avatar wznoinsk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

devnest's Issues

New pypi release needed

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'

'NodeReservation' object has no attribute 'get_reservation_endtime_epoch'

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

ability to connect to host console

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.