Coder Social home page Coder Social logo

koan --update-config ?? about koan HOT 3 OPEN

Brainslugongithub avatar Brainslugongithub commented on August 12, 2024
koan --update-config ??

from koan.

Comments (3)

jmaas avatar jmaas commented on August 12, 2024

Issue list cleanup: this is an old issue, probably on an old cobbler version. If this is still an issue for you on a recent cobbler let me know and i will re-open this issue.

from koan.

jmaas avatar jmaas commented on August 12, 2024

Caleb Moniot writes:

I'm running into a little trouble getting Koan to work with Cobbler and I was hoping that you might be able to point me in the right direction to get it fixed.

When using koan's --update-config option to try and pull down some configuration files I ran into the exact same issue seen on github here https://github.com/cobbler/cobbler/issues/555. I tried to do a list cleanup with no success. I didn't want to try and open the ticket since you mentioned it was an old issue but since I'm running the latest Cobbler (2.6.1) and Koan (2.4.4) I thought I'd contact you.

Is there anything I can check to see if the issue is simply a mis-configuration or damaged install? I've tried to pull down the latest cobbler-2.6.1.tar.gz from https://github.com/cobbler/cobbler/releases/tag/v2.6.1 and ran a make webtest but it errored with the following message.

bin/sh: -c: line 2: syntax error: unexpected end of file
make[1]: **\* [restorestate] Error 1
make[1]: Leaving directory `/root/cobbler-2.6.1'
make: **\* [devinstall] Error 2

Afterwards Koan is still encounters the same error. Any advice you could provide would be greatly appreciated.

Sincerely,

Caleb Moniot

==========Koan error============

[elemental@qa-cobbled ~]$ sudo koan --server=qa-cobbler --update-config
- looking for Cobbler at http://qa-cobbler:80/cobbler_api
- Auto detected: qa-cobbled
  Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/koan/app.py", line 882, in update_config
    config = server.get_config_data(hostname)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in **call**
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1392, in _parse_response
    return u.close()
  File "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close
    raise Fault(**self._stack[0])
  Fault: <Fault 1: "<type 'exceptions.AttributeError'>:'NoneType' object has no attribute 'get_parent'">
  Could not communicate with qa-cobbler:None

===============================

from koan.

caleb-moniot avatar caleb-moniot commented on August 12, 2024

Thanks for looking into this again. Please let me know if there's any info I can provide to help troubleshoot/diagnose the problem.

from koan.

Related Issues (20)

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.