GithubHelp home page GithubHelp logo

Comments (6)

mbukatov avatar mbukatov commented on June 2, 2024

As far as I know, Tendrl mandates that provisioner/gluster should be added into /etc/tendrl/node-agent/node-agent.conf.yaml file on a single machine of Tendrl Storage Node role. Which is what the playbook does right now.

Do you see that the tag has been configured on a single storage node while not on the others?

On the other hand, current https://github.com/Tendrl/documentation/wiki/Tendrl-Package-Installation-Reference states that the tag should be added on every storage node:

Configure Node Agent

Edit the below configurations for connecting to the etcd server

Open /etc/tendrl/node-agent/node-agent.conf.yaml

Update →

etcd_connection =

Add a new tag under tags(Only for Gluster Nodes):

provisioner/gluster

which is what tendrl-ansible did until I fixed it in commit 73e740f based on @dahorak 's feedback.

I can't find this being discussed in tendrl-devel list, which means that I have missed this after the fix, sorry for that. On the other hand, missed details like this one is the reason why the only way how to ensure that docs and tendrl-ansible matches is final review after already raised questions are incorporated in the docs.

from tendrl-ansible.

mbukatov avatar mbukatov commented on June 2, 2024

Status update: the question from #14 (comment) has been resolved by wiki commit 00a3649. Thanks @shtripat for the quick update!

This means that the expected behavior is to have provisioner/gluster enabled on a single storage machine only. @japplewhite is that what you see in your case or do you miss the tag completely, having no machine with the tag at all?

from tendrl-ansible.

mbukatov avatar mbukatov commented on June 2, 2024

Btw it turns out that we were actually missing the tag, but in qe environment based on usmqe-setup - usmqe-setup is now fixed and tendrl-ansible itself was not affected.

from tendrl-ansible.

mbukatov avatar mbukatov commented on June 2, 2024

Status Update for Tendrl 1.5.0: Tendrl Package Installation Reference mentions:

Add a new tag under tags (This is applicable only to gluster and is required to be set only on one of the nodes):

provisioner/gluster

And role tendrl-storage-node contains task to set the tag:

- name: Add provisioner/gluster tag into node-agent.conf.yaml
  lineinfile:
    dest: /etc/tendrl/node-agent/node-agent.conf.yaml
    insertafter: '^tags:$'
    line: "  - provisioner/gluster"
  notify:
    - restart tendrl-node-agent
  when: tendrl_gluster_provisioning_support == True
  run_once: true

So there is no bug in tendrl-ansible I'm aware of.

from tendrl-ansible.

mbukatov avatar mbukatov commented on June 2, 2024

Since Tendrl 1.5.1, the tag shouldn't be configured by tendrl-ansible, see also: #27

from tendrl-ansible.

mbukatov avatar mbukatov commented on June 2, 2024

Closing for the following reasons:

  1. There is no bug in tendrl ansible reated to the tags I'm aware of (#14 (comment))
  2. Configuration of tag is no longer part of the installation since Tendrl 1.5.1 (#14 (comment))

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.