GithubHelp home page GithubHelp logo

Comments (6)

WianVos avatar WianVos commented on August 16, 2024

It should be able to handel that , I'll check it out tonight

Sent from my iPhone

On 10 Nov 2015, at 10:31, Levent Tutar <[email protected]mailto:[email protected]> wrote:

puppet run runs like forever if the xldeploy is not available.

Info: Applying configuration version '1447169289'
Notice: /Stage[main]/Xldeploy::Client::User/Group[xldeploy]/ensure: created
Notice: /Stage[main]/Xldeploy::Client::User/User[xldeploy]/ensure: created
Notice: /Stage[main]/Xldeploy::Client::User/File[/etc/sudoers.d/50_xldeploy]/ensure: defined content as '{md5}9f4e20e6e225c1c42a7eda1ff2c0f9b4'
Notice: /Stage[main]/Logstashforwarder::Service/Logstashforwarder::Service::Init[logstash-forwarder]/Service[logstash-forwarder]/enable: enable changed 'false' to 'true'
Notice: Public key from xldeploy@[email protected]:[email protected] not available yet. Skipping
Notice: /Stage[main]/Xldeploy::Client::User/Sshkeys::Set_authorized_key[[email protected]:[email protected]]/Notify[Public key from xldeploy@[email protected]:[email protected] not available yet. Skipping]/message: defined 'message' as 'Public key from xldeploy@[email protected]:[email protected] not available yet. Skipping'
Notice: unable to reach http://admin:[email protected]:[email protected]:4516/deployit/deployit
Notice: unable to reach http://admin:[email protected]:[email protected]:4516/deployit/deployit
Notice: unable to reach http://admin:[email protected]:[email protected]:4516/deployit/deployit
Notice: unable to reach http://admin:[email protected]:[email protected]:4516/deployit/deployit

Reply to this email directly or view it on GitHubhttps://github.com//issues/107.

from puppet-xldeploy.

ltutar avatar ltutar commented on August 16, 2024

ok. you can easily verify by putting the following in the yaml
xldeploy::client::cis:
'Environments/levent':
'ensure': present
'type': 'core.Directory'

make sure you have a different default value for rest_url

from puppet-xldeploy.

superseb avatar superseb commented on August 16, 2024

Timeout is defaulted to 240, this could be set to be more sane (like 60 seconds, why should it take longer?) or made configurable (which makes not a whole lot of sense IMHO)

from puppet-xldeploy.

ltutar avatar ltutar commented on August 16, 2024

If XL Deploy has its repository in DB and the repo is like 40 gig. Starting XL Deploy will take like 45 minutes because it will index the data. On my small vagrant centos images, it will start in 30 seconds. That is why I want it to be configurable and also the default set to 60 seconds.

from puppet-xldeploy.

FireDrunk avatar FireDrunk commented on August 16, 2024

I also noticed that during this timeout period, it's impossible to cancel the puppet run with CLTRL+C, which is quite annoying.

I think it might have something to do with the way the xldeploy class starts the underlying curl action, this probably ignores a normal SIGTERM command.

from puppet-xldeploy.

WianVos avatar WianVos commented on August 16, 2024

this behaviour is needed because after starting xldeploy the module will continue with creating specified resources . For this action xldeploy needs to be available so the check_connection is there to make sure it is.

from puppet-xldeploy.

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.