Git Product home page Git Product logo

Comments (2)

maverickwoo avatar maverickwoo commented on July 20, 2024

I think this issue happened when adding a system before adding a Location. (The locations and systems_location tables are both empty.)

Some more notes:

  1. In a fresh installation, the locations, systems, and systems_location tables are all empty in the database. The runner system CRUD operations on the web interface would want to take these corner cases into account. (It seems the current code is written to assume there is at least one location in the DB and will assign any new hosts to that location.)

  2. Upon auditing the code, there is currently a notion of "host names that start with the string dev-". These seem to be intended for runner systems that were added through the web interface:

    {% if host.isNotPersistentDevSys == True %}
    <td style="text-align: left; width: 20%;"><a href="/systems/view/dev-{{ host.Name }}/{{ group.Name }}">{{

    So it seems the design intends to have two steps when adding a runner:

    1. Add the runner system(s) and assign them a location using the web interface. This would update the DB and would be doable after the bug and #100 are fixed.
    2. Manually modify the Ansible inventory file in the file system so that Ansible also knows about these runner systems in a future restart of the PoleMarch container. In retrospect, I think this is likely what this step really means:
      - change /srv/fluffi/data/dnsmasq/hosts e.g., if you want to give some systems static IP addresses or if you want to move services to different machines

from fluffi.

p4cx avatar p4cx commented on July 20, 2024

Still not fixed. Work in progress!

from fluffi.

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.