Coder Social home page Coder Social logo

NTP configuration about salt-openstack HOT 1 CLOSED

cloudbase avatar cloudbase commented on August 13, 2024
NTP configuration

from salt-openstack.

Comments (1)

ionutbalutoiu avatar ionutbalutoiu commented on August 13, 2024
2015-03-13 10:23:29,509 [salt.loaded.int.module.cmdmod][INFO    ] Executing command ['service', 'ntp', 'status'] in directory '/root'
2015-03-13 10:23:29,539 [salt.loaded.int.module.cmdmod][ERROR   ] Command ['service', 'ntp', 'status'] failed with return code: 3
2015-03-13 10:23:29,539 [salt.loaded.int.module.cmdmod][ERROR   ] output:  * NTP server is not running
2015-03-13 10:23:29,540 [salt.loaded.int.module.cmdmod][INFO    ] Executing command ['service', 'ntp', 'start'] in directory '/root'
2015-03-13 10:23:29,571 [salt.loaded.int.module.cmdmod][DEBUG   ] output:  * Starting NTP server ntpd
2015-03-13 10:23:29,578 [salt.state       ][INFO    ] Service ntp is already enabled, and is running
2015-03-13 10:23:29,578 [salt.state       ][INFO    ] Completed state [ntp] at time 10:23:29.578196

Just tested this. This is not an issue and NTP is configured properly. Above there is a part from minion's log when the ntp state is executed.

The error comes up when it does the ntp service.running checking (see here).

It checks if the service it's already running and if not, it will be started, thus bringing it to the running state.

from salt-openstack.

Related Issues (13)

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.