Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-3242

[RHEL8] AttributeError: 'DiskLabel' object has no attribute 'cipher'

    • sst_system_roles
    • False
    • Hide

      None

      Show
      None
    • If docs needed, set a value

      Description of problem:
      system role testing hit the error, please have a look.

      Version-Release number of selected component (if applicable):
      rhel-system-roles-1.15.0-1.el8.noarch

      How reproducible:
      jsut hit it once

      Steps to Reproduce:
      1. install rhel-system-roles-1.15.0-1.el8.noarch
      2. ansible-playbook -vv -i host tests_luks_pool_nvme_generated.yml
      3.

      ansible [core 2.12.2]
      config file = /etc/ansible/ansible.cfg
      configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
      ansible python module location = /usr/lib/python3.8/site-packages/ansible
      ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
      executable location = /usr/bin/ansible
      python version = 3.8.12 (default, Sep 16 2021, 10:46:05) [GCC 8.5.0 20210514 (Red Hat 8.5.0-3)]
      jinja version = 2.10.3
      libyaml = True

      Actual results:

      Expected results:

      Additional info:

      TASK [rhel-system-roles.storage : manage the pools and volumes to match the specified state] ***
      task path: /usr/share/ansible/roles/rhel-system-roles.storage/tasks/main-blivet.yml:75
      An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'DiskLabel' object has no attribute 'cipher'
      fatal: [localhost]: FAILED! =>

      {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1646091858.0473711-46962-179506041171356/AnsiballZ_blivet.py\", line 107, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1646091858.0473711-46962-179506041171356/AnsiballZ_blivet.py\", line 99, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1646091858.0473711-46962-179506041171356/AnsiballZ_blivet.py\", line 48, in invoke_module\n run_name='__main__', alter_sys=True)\n File \"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/lib64/python3.6/runpy.py\", line 96, in _run_module_code\n mod_name, mod_spec, pkg_name, script_name)\n File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_blivet_payload_x2davmur/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1716, in <module>\n File \"/tmp/ansible_blivet_payload_x2davmur/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1712, in main\n File \"/tmp/ansible_blivet_payload_x2davmur/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1664, in run_module\n File \"/tmp/ansible_blivet_payload_x2davmur/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1312, in manage_pool\n File \"/tmp/ansible_blivet_payload_x2davmur/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1197, in manage\n File \"/tmp/ansible_blivet_payload_x2davmur/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1128, in _apply_defaults\n File \"/tmp/ansible_blivet_payload_x2davmur/ansible_blivet_payload.zip/ansible/modules/blivet.py\", line 1101, in _update_from_device\nAttributeError: 'DiskLabel' object has no attribute 'cipher'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

      https://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2022/02/63502/6350222/11539232/140499611/taskout.log

      https://beaker.engineering.redhat.com/recipes/11539232#task140499611

            vtrefny@redhat.com Vojtěch Trefný
            guazhang@redhat.com Guangwu Zhang
            Vojtěch Trefný Vojtěch Trefný
            rhel-cs-system-management-subsystem-qe Bot rhel-cs-system-management-subsystem-qe Bot
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: