GithubHelp home page GithubHelp logo

Comments (7)

shirshendu avatar shirshendu commented on June 2, 2024 1

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.

mbukatov avatar mbukatov commented on June 2, 2024

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.

mbukatov avatar mbukatov commented on June 2, 2024

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.

mbukatov avatar mbukatov commented on June 2, 2024

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:

from tendrl-ansible.

mbukatov avatar mbukatov commented on June 2, 2024

There are some vagrant projects for POC Tendrl setup:

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.

julienlim avatar julienlim commented on June 2, 2024

@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.

mbukatov avatar mbukatov commented on June 2, 2024

Closing, as the vagrant setup will be maintained in a separate repository.

from tendrl-ansible.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.