You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <de...@bloodhound.apache.org> on 2014/04/12 06:25:22 UTC

[Apache Bloodhound] #796: Vagrant deployment with Ansible provisioning

#796: Vagrant deployment with Ansible provisioning
-------------------------------------------------+----------------------
 Reporter:  SaintGermain                         |      Owner:  nobody
     Type:  enhancement                          |     Status:  new
 Priority:  minor                                |  Milestone:
Component:  installer                            |    Version:  0.8.0dev
 Keywords:  test vagrant ansible provisionig vm  |
-------------------------------------------------+----------------------
 In order to ease testing of Bloodhound, I propose to use Vagrant+Ansible
 to create quickly a VM with a working standard configuration.

 The VM specification would be:
 * Debian Wheezy amd64
 * PostgreSQL
 * Nginx
 * uWSGI

 The steps to use it are quite simple:
 1. Ensure that the required dependencies are installed:
   * Vagrant
   * Virtualbox
   * Ansible
 1. Go into the Vagrant directory: installer/deployment
 1. Build the VM: vagrant up
 1. You can then access the site with your browser on localhost:8080

 See related discussion here:
 [https://mail-archives.apache.org/mod_mbox/bloodhound-
 dev/201403.mbox/%3CCAJbEPe6SFFNZMpFdvUab0RXa7HmfavrPdnX7F+8nL5-AhMsP4Q@mail.gmail.com%3E
 Rapid deployment of Bloodhound for testing]

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/796>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Re: [Apache Bloodhound] #796: Vagrant deployment with Ansible provisioning

Posted by Apache Bloodhound <de...@bloodhound.apache.org>.
#796: Vagrant deployment with Ansible provisioning
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  nobody
  SaintGermain           |     Status:  new
      Type:              |  Milestone:
  enhancement            |    Version:  0.8.0dev
  Priority:  minor       |   Keywords:  test vagrant ansible provisionig vm
 Component:  installer   |
Resolution:              |
-------------------------+-------------------------------------------------

Comment (by SaintGermain):

 Preliminary patch available on my Bitbucket repository:
 https://bitbucket.org/saintgermain/bloodhound-mq/branch/t796_vagrant

 Note:
 * I had to use a workaround for ticket #795
 * It uses a VM downloaded from http://basebox.libera.cc/debian-
 wheezy-64.box (use at your own risk or create your own)
 * Idempotency may be a problem as the Ansible script always try to create
 the database and the environment
 * I haven't tested what happen when we modify the Bloodhound source code
 or templates and run it again. It may be a good idea to include an option
 in the future to install in dev mode.
 * I am not sure at all of what I have done with uWSGI, especially with
 uwsgi_params, comments welcome !
 * There may be a problem with Unicode/Ascii in PostgreSQL database

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/796#comment:1>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker