Giter Site home page Giter Site logo

Comments (4)

dchirikov avatar dchirikov commented on June 3, 2024

This is bug in Luna. Fixed here
dchirikov/luna@5816bd1

from trinityx.

Marc69 avatar Marc69 commented on June 3, 2024

Still not working:

[root@dmaster-controller1 configuration]# vi /luna/src/module/cluster.py
[root@dmaster-controller1 configuration]# /usr/sbin/luna cluster makedhcp -N cluster -s 10.30.128.1 -e 10.30.255.200
Error: an inet prefix is expected rather than "".
Stopping local dhcpd.
Remove lease files
Starting local dhcpd.
[root@dmaster-controller1 configuration]# /usr/sbin/luna cluster makedns
Traceback (most recent call last):
  File "/usr/sbin/luna", line 1144, in <module>
    call_fun(**args_d)
  File "/usr/sbin/luna", line 100, in cluster_makedns
    res = cluster.makedns()
  File "/usr/lib64/python2.7/luna/cluster.py", line 391, in makedns
    nameduid = pwd.getpwnam("named").pw_uid
KeyError: 'getpwnam(): name not found: named'

from trinityx.

sibomarie avatar sibomarie commented on June 3, 2024

change the title to luna.sh: errors in makedhcp

[ info ]   Configure DNS and DHCP.
Error: an inet prefix is expected rather than "".
INFO:luna.cluster:No proper cluster IPs are configured.
Error: an inet prefix is expected rather than "".
INFO:luna.cluster:No proper cluster IPs are configured.
Stopping local dhcpd.
Remove lease files
Starting local dhcpd.
[root@controller1 ~]# /usr/sbin/luna cluster makedns
INFO:luna.cluster:Created '/etc/named.luna.zones'
INFO:luna.cluster:Removed old '/var/named/cluster.luna.zone'
INFO:luna.cluster:Removed old '/var/named/30.10.in-addr.arpa.luna.zone'
INFO:luna.cluster:Created '/var/named/cluster.luna.zone'
INFO:luna.cluster:Created '/var/named/30.10.in-addr.arpa.luna.zone'
Reloading local named.
Success.

from trinityx.

hi-a avatar hi-a commented on June 3, 2024

Fixed in dchirikov/luna@27b6c7e

from trinityx.

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.