Giter Club home page Giter Club logo

deployment_service_puppet's People

Contributors

bdq avatar iloveitaly avatar sbounmy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

deployment_service_puppet's Issues

Why not pre-compile deface overrides in default deploy.rb

Not necessarily part of this repo, but very strongly related so I figured I'd ask the question here, for reference.

Was it a conscious decision to not precompile deface overrides in the default deploy.rb script offered by the spree deployment services ?

If not, should we add it ?

Bluepill failing install, script stalls

Getting this when I run the script on a clean Ubuntu 12.04 sys. My guess is bluepill moved its repo, would fix if I knew how... Please advise.

info: Applying configuration version '1368440121'
err: /Stage[main]/Ruby/Package[bundler]/ensure: change from absent to present failed: Execution of '/usr/local/bin/gem install --include-dependencies --no-rdoc --no-ri bundler' returned 1: ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --include-dependencies

err: /Stage[main]/Ruby/Package[backup]/ensure: change from absent to present failed: Execution of '/usr/local/bin/gem install --include-dependencies --no-rdoc --no-ri backup' returned 1: ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --include-dependencies

err: /Stage[main]/Ruby/Package[bluepill]/ensure: change from absent to present failed: Execution of '/usr/local/bin/gem install --include-dependencies --no-rdoc --no-ri bluepill' returned 1: ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --include-dependencies

err: /Stage[main]/Ruby/Package[foreman]/ensure: change from absent to present failed: Execution of '/usr/local/bin/gem install --include-dependencies --no-rdoc --no-ri foreman' returned 1: ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --include-dependencies

err: /Stage[main]/Ruby/Package[net-ssh]/ensure: change from absent to 2.1.4 failed: Could not update: Execution of '/usr/local/bin/gem install -v 2.1.4 --include-dependencies --no-rdoc --no-ri net-ssh' returned 1: ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --include-dependencies
at /etc/puppet/modules/ruby/manifests/init.pp:115
err: /Stage[main]/Ruby/Package[net-scp]/ensure: change from absent to 1.0.4 failed: Could not update: Execution of '/usr/local/bin/gem install -v 1.0.4 --include-dependencies --no-rdoc --no-ri net-scp' returned 1: ERROR: While executing gem ... (OptionParser::InvalidOption)
invalid option: --include-dependencies
at /etc/puppet/modules/ruby/manifests/init.pp:121
notice: /Stage[main]/Common/Service[bluepill]: Dependency Package[bluepill] has failures: true
warning: /Stage[main]/Common/Service[bluepill]: Skipping because of failed dependencies
notice: Finished catalog run in 6.56 seconds

Broken Custom Checkout Step With Bluepill Rolling Restart

I have a custom checkout step:

# order_decorator.rb
Spree::Order.class_eval do
  insert_checkout_step :company, :before => :address
end

# _company.html.erb
<%= button_tag "Go to next step", :type => "submit", :class => 'btn btn-success' %>

Works fine in development. Works fine in production, until a sudo bluepill restart is run. After a restart is run the site continues to load fine but I can't advance past this custom checkout step.

I'm stumped on this one: not sure what could be causing the issue. I messed around with spree.pill with no luck. Has anyone encountered this problem?

Some posts I found while trying to solve the issue:

unicorn not restarted properly by bluepill

Hello,

My app sometime does not restart properly between deploys...
When this is occuring, I manually login on the server and do :

sudo bluepill spree restart

bluepill.log : https://gist.github.com/sbounmy/4744603

The pid monitored by bluepill is not correct and bluepill tries to kill the wrong pid or somehow...

So far, to restart properly unicorn I have to :

sudo bluepill spree stop
sudo bluepill spree start

I am still investigating but any help is appreciated : )

epic fail

Tried on a fresh Ubuntu 12.04, Spree 1.1, Ruby 2.0. any help here is much appreciated:

info: Retrieving plugin
info: Caching certificate_revocation_list for ca
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
err: /File[/var/lib/puppet/lib]: Could not evaluate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client Could not retrieve file metadata for puppet://puppet/plugins: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
err: /File[/var/lib/puppet/lib]: Could not evaluate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client Could not retrieve file metadata for puppet://puppet/plugins: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
err: /File[/var/lib/puppet/lib]: Could not evaluate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client Could not retrieve file metadata for puppet://puppet/plugins: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
err: Could not send report: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client

Failed to start bluepill after reboot

Hi
I'm having this problem with upstart /etc/init/bluepill.conf
The log trace of /etc/init/bluepill.conf :

Failed to start bluepill:
NoMethodError undefined methodEPERM' for Errno:Module /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.62/lib/bluepill/application.rb:123:inrescue in start_server'
/usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.62/lib/bluepill/application.rb:123:in start_server' /usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.62/lib/bluepill/application.rb:44:inload'
/usr/local/lib/ruby/gems/1.9.1/gems/bluepill-0.0.62/lib/bluepill/dsl.rb:10:in `application'

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.