Giter Site home page Giter Site logo

opsworks-web-python's People

Contributors

alecpm avatar bryanlandia avatar cewing avatar cguardia avatar dataflake avatar davisagli avatar monokrome avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opsworks-web-python's Issues

Chef DK link is down.

The README links to chef-dk, but the page doesn't exist. I thought this may be useful information. Sorry if it's not. :)

Django Noob Question

Hello, I am familiar with OpsWorks but am figuring out Python/Django.

I have the server built and starting with the cook books.

I have a Django App which a consultant has written for us. The file is a Zip. How do I tell the deploy to use this zip. I know for Java I would add an app for deploy.

Looking at your cookbooks I think the deploy has to be in the cookbook. Can you advise on this with an example?

Thanks.

Django configure step fails, no /current directory?

I am attempting to setup a Django application layer in Opsworks.
I can run opsworks_deploy_python::django-setup with no issue.
However opsworks_deploy_python::django-configure fails with the error below.

The directory .../current does not exist.
Am I missing a step?

My stack has this custom json:

{
"deploy": {
    "django-test": {
     "custom_type":"django"                
    }
}
}

error logs:

[2016-01-18T18:43:03+00:00] INFO: Processing template[/srv/www/django-test/current/local_settings.py] action create (opsworks_deploy_python::django-configure line 47)

================================================================================
Error executing action `create` on resource 'template[/srv/www/django-test/current/local_settings.py]'
================================================================================


Chef::Exceptions::EnclosingDirectoryDoesNotExist
------------------------------------------------
Parent directory /srv/www/django-test/current does not exist.

No such cookbook: redis

When I try to start any of the instances (HAProxy, Plone or Zeoserver), the follow error occurs:

[2014-04-17T20:47:57+00:00] INFO: Starting chef-zero on port 8889 with repository at repository at /opt/aws/opsworks/current
One version per cookbook
data_bags at /var/lib/aws/opsworks/data/data_bags
nodes at /var/lib/aws/opsworks/data/nodes

[2014-04-17T20:47:57+00:00] INFO: Forking chef instance to converge...
[2014-04-17T20:47:57+00:00] INFO: *** Chef 11.10.4 ***
[2014-04-17T20:47:57+00:00] INFO: Chef-client pid: 4053
[2014-04-17T20:47:58+00:00] INFO: Setting the run_list to ["opsworks_custom_cookbooks::load", "opsworks_custom_cookbooks::execute"] from JSON
[2014-04-17T20:47:58+00:00] WARN: Run List override has been provided.
[2014-04-17T20:47:58+00:00] WARN: Original Run List: [recipe[opsworks_custom_cookbooks::load], recipe[opsworks_custom_cookbooks::execute]]
[2014-04-17T20:47:58+00:00] WARN: Overridden Run List: [recipe[opsworks_initial_setup], recipe[ssh_host_keys], recipe[ssh_users], recipe[mysql::client], recipe[dependencies], recipe[ebs], recipe[opsworks_ganglia::client], recipe[opsworks_stack_state_sync], recipe[plone_buildout::zeoserver-setup], recipe[deploy::default], recipe[plone_buildout::zeoserver-deploy], recipe[test_suite], recipe[opsworks_cleanup]]
[2014-04-17T20:47:58+00:00] INFO: Run List is [recipe[opsworks_initial_setup], recipe[ssh_host_keys], recipe[ssh_users], recipe[mysql::client], recipe[dependencies], recipe[ebs], recipe[opsworks_ganglia::client], recipe[opsworks_stack_state_sync], recipe[plone_buildout::zeoserver-setup], recipe[deploy::default], recipe[plone_buildout::zeoserver-deploy], recipe[test_suite], recipe[opsworks_cleanup]]
[2014-04-17T20:47:58+00:00] INFO: Run List expands to [opsworks_initial_setup, ssh_host_keys, ssh_users, mysql::client, dependencies, ebs, opsworks_ganglia::client, opsworks_stack_state_sync, plone_buildout::zeoserver-setup, deploy::default, plone_buildout::zeoserver-deploy, test_suite, opsworks_cleanup]
[2014-04-17T20:47:58+00:00] INFO: Starting Chef Run for zeoserver1.localdomain
[2014-04-17T20:47:58+00:00] INFO: Running start handlers
[2014-04-17T20:47:58+00:00] INFO: Start handlers complete.
[2014-04-17T20:47:58+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found: /reports/nodes/zeoserver1.localdomain/runs
[2014-04-17T20:48:01+00:00] INFO: HTTP Request Returned 412 Precondition Failed: No such cookbook: redis

================================================================================
Error Resolving Cookbooks for Run List:
================================================================================


Missing Cookbooks:
------------------
No such cookbook: redis


Expanded Run List:
------------------
* opsworks_initial_setup
* ssh_host_keys
* ssh_users
* mysql::client
* dependencies
* ebs
* opsworks_ganglia::client
* opsworks_stack_state_sync
* plone_buildout::zeoserver-setup
* deploy::default
* plone_buildout::zeoserver-deploy
* test_suite
* opsworks_cleanup


[2014-04-17T20:48:02+00:00] ERROR: Running exception handlers
[2014-04-17T20:48:02+00:00] ERROR: Exception handlers complete
[2014-04-17T20:48:02+00:00] FATAL: Stacktrace dumped to /var/lib/aws/opsworks/cache/chef-stacktrace.out
[2014-04-17T20:48:02+00:00] ERROR: 412 "Precondition Failed"
[2014-04-17T20:48:02+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

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.