27 Commits
Author SHA1 Message Date
Alberto Murillo 7fa70e9102 examples: ciao: add ansible.cfg
ansible.cfg enables pipelining for an extra boost in speed

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-08-16 09:43:12 -05:00
Alberto Murillo d5f15caad2 ceph: sync ceph roles
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-08-16 08:57:59 -05:00
Alberto Murillo b7ea92a979 examples: add profile_tasks to ansible.cfg
profile_tasks prints how much time takes each task to run

The feature is disabled by default but can be enabled by
uncommenting the corresponding line in ansible.cfg

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-08-15 16:24:53 -05:00
Alberto Murillo 0c6edeaa28 examples: ciao: cleanup: Remove bundles in clearlinux
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-08-12 18:05:23 -05:00
Alberto Murillo 9ef93eff40 ceph: examples: Add cephfs
Ceph FileSystem requires a metadata server.
This functionallity is already provided.

This commit updates the example to install a metadata server.

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-08-11 17:31:27 -05:00
Alberto Murillo b4b875b544 ciao: examples: Speed things up
- Add an ansible.cfg file to enable pipelining.

  Pipelining increases the performance by executing many ansible
  modules without actual file transfer.

- Prerun ciao-common

  ciao-common role install ciao code and dependencies. By running
  this role on all nodes in parallel we can save some time.

- Set strategy: free

  By default all hosts will run each task before any host starts the next task
  Using the 'free' strategy allows each host to run until the end of the play
   as fast as it can.:

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-08-11 15:04:14 -05:00
Alberto Murillo 73938b5f6e examples: ciao: Create a demo user and project
A demo user and a demo project is included in the example
for testing purposes of a ciao cluster.

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-08-04 13:05:11 -05:00
Alberto Murillo 38dd039c70 examples: ciao: Include ciao_dev var in examples
If ciao_dev is set to false (default) it will try to install
ciao from the operating system packages which is only supported
in Clear Linux.

In order to install ciao in Ubuntu, ciao_dev must be set to
true to build ciao from github master branch.

This commit adds the variable to the examples to have it handy
for users who wants to deploy ciao in Ubuntu.

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-08-04 12:15:14 -05:00
Alberto Murillo 9f75090e61 examples: ciao: Do not fail if optional variables are missing
- ciao_dev might not be defined and should be treated as false by default
- mysql_packages is defined for ubuntu and should not cause a failure
  in clearlinux when not defined.

Fixes #30

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-08-04 10:40:30 -05:00
Alberto Murillo 61d93fe24b examples: ciao: Cleanup now supports Ubuntu 16.04 (Xenial)
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-08-02 17:56:21 -05:00
Alberto Murillo c1d699995e ciao: Install ciao from github sources (#25)
* ciao: Install ciao from github sources

- Add a new variable ciao_dev to ciao-common
  When set to True, it will build ciao from the master branch
  and put the binaries in /usr/local/bin

  When set to False (default) it will install ciao from the OS
  packages

Fixes #21

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>

* ciao: Add ciao_cleanup.yml playbook (#28)

- This playbook cleanups a ciao cluster

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-07-15 14:43:07 -05:00
Marcos Simental e058472f53 examples/ciao: remove duplicated ciao_network host (#27)
the [ciao_network] group in `examples/ciao/hosts` is
duplicated. This commits removes duplication of such group.

Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-07-13 17:39:08 -05:00
Marcos Simental 265b1d459e examples/ciao: use consistent FQDN for the group_vars/all file (#26)
There were usage of different FQDNs for some variables.
this commit use a single FQDN for better understanding of the setup.

Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2016-07-13 17:04:18 -05:00
Alberto Murillo bcb1c121dd examples: ciao: Provide a reference for variables
Users might not know what is the function of a variable in the
example playbook.

This change adds a reference for a role documentation where the
user can find more information about the variables below.

Fixes #18

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-07-11 16:15:36 -05:00
Alberto Murillo c94440c70a ciao-controller: Create compute service and endpoint for OpenStack
Rally needs a compute endpoint in order to run.

- Create ciao admin user in openstack by default
- Create ciao compute service in openstack by default
- Create ciao compute endpoint in openstack by default
- Remove optional variables in example playbook to create
  the items above.

Fixes #14

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-07-11 16:10:20 -05:00
Alberto Murillo d8f75164e2 examples: Update ciao examples
- Update ciao example playbook with newer variables
- Remove glance from the example since it is not yet
  supported by ciao.

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-07-11 15:23:37 -05:00
Alberto Murillo ebd586307e examples ciao: add glance_fqdn var
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-05-18 10:48:26 -05:00
Alberto Murillo a16ec4d2dc ciao: Fix example vars file
- Add was missing glance variables
- Add quotes to ciao_mgmt_subnet variable

Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-05-16 18:05:25 -05:00
Alberto Murillo e58de40323 CIAO: Add playbooks
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
2016-05-12 14:16:10 -05:00
Alberto Murillo 2ff18f59b4 Prune non CIAO components 2016-05-02 16:26:26 -05:00
Alberto Murillo 88dc7a6777 Use keystone_fqdn for all endpoints.
There is the case when you specify the ip address or even 'localhost'
in the hosts file but the endpoints should always point to the fqdn.
2016-04-28 16:34:37 -05:00
Cardona Ruiz, Erick f076a2f2fc Add swift role
Signed-off-by: Cardona Ruiz, Erick <erick.cardona.ruiz@intel.com>
2016-04-27 10:36:44 -05:00
Alberto Murillo 5d42d9d609 Add keystone ssl variables into sample variables file. 2016-04-22 11:13:17 -05:00
Alberto Murillo a61ef02636 Add public_interface var
- Remove nova_public_interface_name and neutron_public_interface_name
since both are referring to the same thing, the interface where services
will run on that node.

- Add public_interface var with default value of the interface name
with a configured default gateway (ansible_default_ipv4.alias)

- Remove common_interface_detect.yml since it was testing for groups
names that might not be defined when deploying only keystone without
nova and neutron
2016-04-22 10:46:48 -05:00
Alberto Murillo bac4ec2313 Remove keystone's admin_token references. 2016-04-13 14:55:53 -05:00
Alberto Murillo 1f2f3edc77 Include ceph example 2016-04-07 15:57:00 -05:00
Leoswaldo Macias eeac16c602 Initial commit
Signed-off-by: Leoswaldo Macias <leoswaldo.macias@intel.com>
2016-03-29 16:41:05 -06:00