summaryrefslogtreecommitdiffstats
path: root/playbooks/libvirt
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3043 from jkhelil/scaleup_etcdScott Dodson2017-08-021-0/+2
|\ | | | | Add etcd scaleup playbook
| * add etcd scaleup playbookjawed2017-06-151-0/+2
| |
* | Fix lint errorsScott Dodson2017-07-241-3/+3
| |
* | libvirt: fall back to mkisofs if genisoimage isn't availableDan Williams2017-07-241-1/+5
| |
* | Remove openshift_use_dnsmasq from aws and libvirt playbooksScott Dodson2017-07-181-1/+0
|/
* Added includes to specify openshift version for libvirt cluster create. ↵Jürg Schulthess2017-06-091-0/+2
| | | | Otherwise bin/cluster create fails on unknown version for libvirt deployment.
* Don't double quote when conditionsScott Dodson2017-05-011-1/+1
|
* Fix cluster creation with `bin/cluster` when there’s no glusterfs nodeLénaïc Huard2017-04-191-0/+2
|
* Add calico.Dan Osborne2017-03-231-0/+1
|
* Document playbook directoriesRodolfo Carvalho2017-01-131-0/+4
|
* YAML LintingRussell Teague2016-12-124-21/+20
| | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* Removed verify_ansible_version playbook refsRussell Teague2016-12-081-2/+0
|
* Fix the list done after cluster creation on libvirt and OpenStackLénaïc Huard2016-11-241-0/+1
| | | | | | | | | | | | | | | | | | | The `list.yml` playbooks are using cloud provider specific variables to find the IPs of the VMs since 82449c6. Those “cloud provider specific” variables are the ones provided by the dynamic inventories. But there was a problem when the `list.yml` playbooks are invoked from the `launch.yml` ones because, in that case, the inventory is not coming from the dynamic inventory scripts, but from the `add_host` done inside `launch_instances.yml`. Whereas the GCE and AWS `launch_instances.yml` were correctly adding in the `add_host` the variables used by `list.yml`, libvirt and OpenStack were missing that. Fixes #2856
* Optimize the cloud-specific list.yml playbooksLénaïc Huard2016-11-161-12/+2
| | | | | | by removing the need to gather facts on all VMs in order to list them. And prettify the output of AWS list the same way it is done for other cloud providers.
* Fix typosRodolfo Carvalho2016-10-191-1/+1
|
* Template with_items for upstream ansible-2.2 compat.Andrew Butcher2016-10-141-1/+1
|
* Replace some virsh commands by native virt_XXX ansible moduleLénaïc Huard2016-08-225-41/+34
|
* Merge pull request #2187 from lhuard1A/bin_cluster_libvirt_ansible_2.1Jason DeTiberus2016-07-214-21/+24
|\ | | | | Fix libvirt provider for Ansible 2.1.0.0
| * Fix libvirt provider for Ansible 2.1.0.0Lénaïc Huard2016-07-214-21/+24
| |
* | Check ansible version prior to evaluating cluster hosts and groups.Andrew Butcher2016-07-201-0/+3
|/
* Resolve some deprecation warnings.Andrew Butcher2016-07-181-1/+1
|
* Make libvirt’s VM use virtio-scsi insteal of virtio-blkLénaïc Huard2016-07-132-22/+17
| | | | | | The main advantage is that virtio-scsi honors TRIM so that deleting files and/or docker images inside the VM now frees disk space on the host by resparsifying the qcow2 file.
* Various hosted component improvementsAndrew Butcher2016-07-071-2/+1
| | | | | | | | | | | | | * [openshift_projects] Add openshift_projects role * [openshift_hosted] hosted deployments use openshift_hosted_infra_selector if openshift_hosted_<component>_selector is not defined * [openshift_hosted] move openshift_projects, openshift_serviceaccounts and openshift_metrics to dependencies of openshift_hosted * [router] improve router deployment - add router option to force subdomain - add CA to router certificate options * [registry] move registry config into openshift_hosted role - additional registry fixes/tweaks - add s3 storage support for registry * [serviceaccount] fix up serviceaccount creation
* Hardcoded values in "launch_instances" - isue # 1970Daniel Dumitriu2016-06-031-2/+2
|
* g_all_hosts with templated with_items causes errors with ansible 1.9.4 under ↵Jason DeTiberus2016-05-052-3/+3
| | | | some conditions
* libvirt_fixesJason DeTiberus2016-05-052-3/+33
| | | | - disable openshift_use_dnsmasq for libvirt
* fix up variable references remove "online" support from bin/clusterJason DeTiberus2016-04-293-11/+1
|
* Replace sudo with become when accessing deployment_vars.Andrew Butcher2016-04-276-7/+7
|
* Replace deprecated sudo with become.Andrew Butcher2016-04-256-9/+9
|
* Fix router selector fact migration and match multiple selectors when ↵Andrew Butcher2016-04-201-1/+1
| | | | counting nodes.
* libvirt cluster variables cleanupPep Turró Mauri2016-03-164-29/+27
| | | | | | - Remove redundant variables and make existing ones configurable. - Fixes default values for the new vars introduced in #1578 (d4fa9b2) - Document these variables
* Libvirt provider fixesJason DeTiberus2016-03-105-7/+32
| | | | | | - Use difference filter instead of reject/equalto - add ability to override vcpu and memory config for vms - add a dedicated drive for docker storage
* Fix issue when there are no infra nodesLénaïc Huard2016-03-081-1/+1
| | | | This issue was already addressed by #1355 fc2f776 but it has been accidentally reverted by 6d3e176.
* Upgrade -1510 to CentOS-7-x86_64-GenericCloud-1602.Beni Cherniavsky-Paskin2016-02-251-4/+2
|
* Pin down CentOS-7-x86_64-GenericCloud-1510.qcow2.xz version,Beni Cherniavsky-Paskin2016-02-251-1/+1
| | | | which the checksum currently expects (#1384).
* Move additional master configuration into a separate master playbook.Andrew Butcher2016-02-161-2/+0
|
* Add new_masters to scaleup playbook.Andrew Butcher2016-02-161-1/+7
|
* Merge pull request #1355 from lhuard1A/fix_when_no_infraThomas Wiest2016-02-151-2/+2
|\ | | | | Fix issue when there are no infra nodes
| * Fix issue when there are no infra nodesLénaïc Huard2016-02-091-2/+2
| |
* | Merge pull request #1392 from lhuard1A/manage_etc_hosts_falseBrenton Leanhardt2016-02-121-1/+0
|\ \ | | | | | | Fix libvirt cluster creation
| * | Fix libvirt cluster creationLénaïc Huard2016-02-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Doing a `bin/cluster create libvirt …` fails with the following error: ``` TASK: [Warn user about bad openshift_hostname values] ************************* [lenaic-node-compute-cf3fb, lenaic-node-compute-f39d3, lenaic-node-infra-0407f, lenaic-master-fc5f9] The hostname "lenaic-node-compute-cf3fb.example.com" for "lenaic-node-compute-cf3fb.example.com" doesn't resolve to an ip address owned by this host. Please set openshift_hostname variable to a hostname that when resolved on the host in question resolves to an IP address matching an interface on this host. This host will fail liveness checks for pods utilizing hostPorts, press CTRL-C to continue.: ``` because the `/etc/hosts` of the VM is containing: ``` [openshift@lenaic-node-compute-cf3fb ~]$ cat /etc/hosts # Your system has configured 'manage_etc_hosts' as True. # As a result, if you wish for changes to this file to persist # then you will need to either # a.) make changes to the master file in /etc/cloud/templates/hosts.redhat.tmpl # b.) change or remove the value of 'manage_etc_hosts' in # /etc/cloud/cloud.cfg or cloud-config from user-data # # The following lines are desirable for IPv4 capable hosts 127.0.0.1 lenaic-node-compute-cf3fb.example.com lenaic-node-compute-cf3fb 127.0.0.1 localhost.localdomain localhost 127.0.0.1 localhost4.localdomain4 localhost4 # The following lines are desirable for IPv6 capable hosts ::1 lenaic-node-compute-cf3fb.example.com lenaic-node-compute-cf3fb ::1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 ``` Disabling `manage_etc_hosts` removes the lines for `lenaic-node-compute-cf3fb` from `/etc/hosts` and makes than name resolved by the DNS to its real IP.
* | | Add missing `type` node labels on OpenStack and libvirtLénaïc Huard2016-02-121-0/+11
|/ /
* | Merge pull request #1364 from codificat/openshift-enterpriseBrenton Leanhardt2016-02-101-1/+1
|\ \ | |/ |/| Add missing atomic- and openshift-enterprise
| * Add missing atomic- and openshift-enterprisePep Turró Mauri2016-02-091-1/+1
| | | | | | | | | | | | Some checks related to *enterprise deployments were still only looking for "enterprise" deployment_type. Update them to cover also atomic-enterprise and openshift-enterprise deployment types.
* | Merge pull request #1088 from akram/allow_no_compression_for_qcow_imageThomas Wiest2016-02-042-2/+17
|\ \ | | | | | | Allow compression option to be set to empty for non compressed images
| * | Allow compression option to be set to empty for non compressed QCow imagesAkram Ben Aissi2016-02-032-2/+17
| |/ | | | | | | Support tgz and gzip compressed images
* | Merge pull request #1239 from detiber/bin_cluster_overridesThomas Wiest2016-02-031-0/+4
|\ \ | | | | | | Additional overrides for cloud provider playbooks
| * | Additional overrides for cloud provider playbooksJason DeTiberus2016-02-011-0/+4
| |/ | | | | | | | | - sdn overrides - allow overrides for use_flannel and use_fluentd
* | Merge pull request #1173 from abutcher/nfs-groupBrenton Leanhardt2016-02-031-0/+1
|\ \ | |/ |/| Refactor storage options
| * Refactor registry storage options.Andrew Butcher2016-02-011-0/+1
| |