Giter VIP home page Giter VIP logo

Comments (3)

allenap avatar allenap commented on July 18, 2024

Hi Jgerardopine.

The first half is, I think, because you're using the "old" client for MAAS. This is packaged in Ubuntu as maas-cli. The new python-libmaas is currently only available via PyPI or installed directly from source. In time it will be packaged for Ubuntu and replace maas-cli, but that's a little way off.

The second (StopIteration) problem is a weird bug that we noticed only a few days ago. We think this is related to the use of an IP address instead of a hostname when connecting to MAAS. Would you mind trying again using a hostname?

There's a workaround if that doesn't work. Obtain, by hand, an API token from the user preferences page in the UI (http://$address:$port/MAAS/account/prefs/) and put it into the following command:

$ maas profiles add nexius-test http://$address:$port/MAAS/ $api_token

I am working actively to fix the login bug. It needs a server-side fix too, and that's what I'm working on first. What version of the MAAS server are you using?

Gavin.

from python-libmaas.

Jgerardopine avatar Jgerardopine commented on July 18, 2024

from python-libmaas.

allenap avatar allenap commented on July 18, 2024

Excellent, I'm glad it's up and running now. Please file bugs for any other problems you encounter. Thanks!

from python-libmaas.

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.