Comments (7)
That repo basically depends on custom boxes uploaded to a file server (they contain the previous release of tendrl); but apart from that one downside, there's a bunch of stuff setup through ansible, the way we need it for POCs. I hope to be depending on centos/7 instead, and adding dependencies. Better for the longer run.
It does have tendrl installation, but only the previous release. For running other versions (and git branches), we also need to add injection of code from the host into the right place in the vagrant machines. Latest release should be straightforward though, thanks to the tendrl-copr role.
My current need is only for a local dev-VM for tendrl-api, and i'll be structuring my work as such (i.e., not deploying the tendrl-server, and keeping etcd, tendrl-api, tendrl-ui, graphana etc on the host). Once that is done, let us adapt it to the general use-case for reliable VMs for testing.
from tendrl-ansible.
When starting the work on playbook for vagrant, I would suggest to check if etcd_ip_address
variable could be set by using default ansible interface facts like this: "{{ ansible_default_ipv4.address }}"
for Tendrl Server or "{{ hostvars[groups['tendrl-server'][0]].ansible_default_ipv4.address }}"
for Tendrl Storage Nodes, and only if that doesn't not work, specify particular interface via ansible_eth1.ipv4.address
.
from tendrl-ansible.
Based on @japplewhite 's usmqe/usmqe-setup#76 (comment) we could also add that:
If you call the playbook as follows:
ansible-playbook -u vagrant -b site.yml
it will automatically overload the user and attempt to use sudo with no change in the playbooks. So there is no need to change from root. We just need to document that as a workaround.
from tendrl-ansible.
Since tendrl-ansible doesn't contain any setup for gluster cluster (which is obviously out of scope for tendrl ansible, complicated and large task itself), this POC libvirt/vagrant demo setup is blocked by:
- Tendrl/node-agent#467 (when Tendrl is installed, it's too late to create a gluster cluster for import)
from tendrl-ansible.
There are some vagrant projects for POC Tendrl setup:
- https://github.com/shirshendu/multinode-glusterfs-with-tendrl-vagrant
- https://github.com/julienlim/multinode-glusterfs-with-tendrl-vagrant
See current work at shirshendu/multinode-glusterfs-with-tendrl-vagrant#1
We may drop vagrant file from tendrl-ansible, which is not maintained anyway, and promote work of @julienlim and @shirshendu into Tendrl org on github when ready. Would that make sense?
from tendrl-ansible.
@mbukatov I suggested to @shirshendu that we start with https://github.com/red-hat-storage/RHGS-vagrant as Daniel Messer has done a nice job setting it up with minimal config for POC's. It just needs to be tweaked to use tendrl.
from tendrl-ansible.
Closing, as the vagrant setup will be maintained in a separate repository.
from tendrl-ansible.
Related Issues (20)
- ansible-playbook -i hosts site.yml fails HOT 5
- tendrl2-ansible HOT 6
- Move tendrl builds from Copr to CentOS repos HOT 2
- Add etcd certificates check HOT 2
- Wse warn=false for tasks which uses rpm command to check if a package is installed HOT 1
- Add `user: root` to one play in prechecks playbook HOT 1
- prechecks playbook fails on undefined variable 'ansible_fqdn' HOT 1
- Tendrl-ansible minimum memory requirement precheck HOT 1
- make it possible to disable etcd tls client auth on already installed cluster
- remove tendrl-ansible.ceph-installer role
- compatibility with ansible 2.7 HOT 2
- Tendrl-ansible should install and configure tendrl-gluster-integration on all the storage nodes [blocked] HOT 4
- Tweak firewall setup: don't open port 3000/tcp for grafana HOT 1
- Grafana root_url should updated with sub_path for reverse proxy when tendrl-ansible run HOT 1
- Building packages from `master` branch doesn't work recently HOT 2
- Need to change graphite db initialization command in tendrl-ansible as per new graphite-web version-1.1.4-1 HOT 1
- Need to restrict graphite web port 10080 from outside access HOT 1
- Audit tendrl-ansible for deprecation warning and resolve them
- tendrl - import cluster failed HOT 5
- Change in playbook usage: don't copy playbook into work directory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tendrl-ansible.