Giter Club home page Giter Club logo

ansible.ha-cluster-lvm's People

Contributors

ofamera-test avatar ondrejhome avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible.ha-cluster-lvm's Issues

default volume_list broken for HA-LVM tagging

Issue:
default value below is broken
local_volume_list: "{% for i in ansible_lvm['vgs'] %}\"{{ i }}\", {% endfor %}"
If the playbook is run more than once, this gets populated with VGS that are visible and this can include shared VGs which is undesirable to appear in the volume_list

Possible solutions:

  • specifying a filter to exclude the shared VGs ?
  • dropping this default and requiring manual specification?

[RHEL 8] Failed create LVs on systemid VG

In RHEL8 environment, HALVMtype is set to systemid. And when I run role, it fails when creating lv.
It is an iSCSI-connected volume and is allocated as sdb.

Below is the failure message that occurs when performing ansible.
{
"ansible_loop_var": "item",
"_ansible_item_label": [
{
"pvs": "/dev/sdb",
"name": "HAvg01"
},
{
"path": "/hatest1",
"name": "lv_hatest01",
"size": "10g"
}
],
"err": " Volume "HAvg01/lv_hatest01" is not active locally (volume_list activation filter?).\n Aborting. Failed to wipe start of new LV.\n",
"rc": 5,
"item": [
{
"pvs": "/dev/sdb",
"name": "HAvg01"
},
{
"path": "/hatest1",
"name": "lv_hatest01",
"size": "10g"
}
],
"msg": "Creating logical volume 'lv_hatest01' failed",
"changed": false,
"invocation": {
"module_args": {
"pvs": null,
"force": false,
"vg": "HAvg01",
"lv": "lv_hatest01",
"resizefs": false,
"state": "present",
"thinpool": null,
"snapshot": null,
"active": true,
"shrink": true,
"opts": null,
"size": "10g"
}
},
"_ansible_no_log": false
}

remove rgmanager code TODO list

To simplify the code the rgmanager-only version of this roles was created in https://github.com/OndrejHome/ansible.ha-cluster-lvm-rgmanager

Idea is to remove rgmanager code from this repository and keep only pacemaker related code.

TODO:

  • remove all rgmanager related code
  • re-test on EL6 pacemaker platform (at least CentOS 6.10 and RHEL 6.10) to confirm that this works for both tagging and clvm there
  • implement repository detection (from ondrejhome.ha-cluster.pacemaker code)
  • update documentation on examples and provide link to rgmanager role

[WARNING]: The value 4 (type int) in a string field was converted

lvol module issue.

TASK [ondrejhome.ha-cluster-lvm : create systemid VG] *********************************************************************************************************
changed: [192.168.22.58] => (item={'name': 'vg_systemid', 'pvs': '/dev/sdb', 'lvs': [{'name': 'lv_name1', 'size': '200'}, {'name': 'lv_name2', 'size': '100'}]})
 [WARNING]: The value 4 (type int) in a string field was converted to '4' (type string). If this does not look like what you expect, quote the entire value to
ensure it does not change.

[RHEL 9] LVM-activate resource fails to start on passive node when using a systemid VG

After creating a LVM-activate resource to manage a systemid VG, the resource starts without problems on the node where the VG was created. However, when it needs to fail over to another node, it fails with the following error during the start of the resource:

Failed Resource Actions:
  * my_lvm start on fastvm-rhel-9-1-65 returned 'error' (Volume group[vg_shared] doesn't exist, or not visible on this node!) at Sat Nov 19 16:45:24 2022 after 234ms

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.