* 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>
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>
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>
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>
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>
- 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>
- Change format for README.md files from rst to githubs markdown
- Document role variables in a table inside README.md files
- Document each variable in defaults/main.yml files
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
There are some places (like certificates) where the
controller hostname should be used.
This was achieved with groups['ciao_controller'][0] which worked
when the host file was defined as:
[ciao_controller]
controller.example.com
But if the IP is defined in the host file instead of the fqdn,
the ip was getting used instead of its fqdn.
- Replace {{ groups['ciao_controller'][0] }}
with {{ ciao_controller_fqdn }}
- Replace {{ groups['openstack_identity'][0] }}
with {{ keystone_fqdn }}
- Replace {{ groups['openstack_object_storage_controller'][0] }}
with {{ swift_fqdn }}
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- Ansible best practices recomends a generous use of whitespaces
to improve readability.
- Variables are normally written as {{ varname }}
- Add spaces around jinja filters
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- Task names on install.yml files where updated:
from: "Install <package-name> bundle"
to: "Install <bundle-name> bundle"
- Task names on install.yml files where updated:
from: "Run swupd verify"
to: "Verify <bundle-name> has been installed"
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
In order to setup cinder, now a list of devices must be provided. It allows
to clear-config-management to handle the lvm setup.
Signed-off-by: Cardona Ruiz, Erick <erick.cardona.ruiz@intel.com>
- cinder_fqdn default value was causing errors
- guess a default value for cinder_public_interface_name
- Fix typos on install_cinder.yml
- Run swup verify if the bundle is installed but the files are not
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
Makefile was installing config_template.py form ceph-common
the new version of ceph playbooks include more plugins which
will be included too with this change.
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
The latest ciao cnci image (at the time of this commit) is based
on clearlinux 8260 which contains an old version of cnci agent.
This commit fetchs the latest ciao-cnci-agent binary and its
assosiated service file and injects them into the cnci image
- Update clearlinux image url to 8740
- Update ciao cnci image url to 8260
- Inject ciao-cnci-agent into cnci image
- Inject ciao-cnci-agent.service into cnci image
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
Ciao configuration implements an API for ciao components
to fetch and store cluster configuration data from a
specific storage backend.
ciao-scheduler reads the configuration from the backend
and propagates it to other components through SSNTP
More detailed information can be found at:
https://github.com/01org/ciao/tree/master/configuration
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- let cloud-init create a user named 'demouser' which
describes better the intent of the user and because
'ciao' is already taken by a system user
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- Use fqdn in the endpoint url no matter if you
defined an ip, hostname or fqdn in the hosts file.
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- ciao-common: add handler to reload systemd config files
- ciao-controller: add handler to restart controller service
- ciao-controller: add handler to restart scheduler service
- ciao-compute: add handler to restart compute service
- ciao-network: add handler to restart network service
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- Add support of running cinder-api with ngingx and uwsgi in order to accept SSL
- Enforce https endpoint for cinder and cinderv2 APIs
Signed-off-by: Cardona Ruiz, Erick <erick.cardona.ruiz@intel.com>
- Removes restart nginx handler from os-keystone and adds it to
os-common so it can be used by other services.
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- Move api certificates from /etc/nginx/ssl to a per-application directory
like /etc/keystone/ssl
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
- keystone_fqdn is used from different roles so it should default to
the ansible_fqdn variable for the first host under openstack_identity
section.
Signed-off-by: Alberto Murillo <alberto.murillo.silva@intel.com>
The creation of this directory will allow to create configuration files
for systemd units of ciao components.
Signed-off-by: Leoswaldo Macias <leoswaldo.macias@intel.com>