Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FDO official container is mounting var folder on /dev/mapper/rootvg-rootlv[/ostree/deploy/redhat/var] #8273

Open
mcattamoredhat opened this issue Aug 8, 2024 · 0 comments

Comments

@mcattamoredhat
Copy link
Collaborator

Our downstream CI has detected that FDO official container is mounting var folder on /dev/mapper/rootvg-rootlv[/ostree/deploy/redhat/var]. This means ansible-playbook command variable os_name of the script is not aligned with the actual stdout.

https://artifacts.osci.redhat.com/testing-farm/7327e019-e749-4a0a-8777-8236bd844a03/work-edge-fdo-container1nkqqxzv/tmt/plans/edge-test/edge-fdo-container/execute/data/guest/default-0/tmt/tests/edge-test-1/output.txt

TASK [check /var mount point] **************************************************
changed: [192.168.100.50] => changed=true 
  cmd:
  - findmnt
  - -r
  - -o
  - SOURCE
  - -n
  - /var
  delta: '0:00:00.005815'
  end: '2024-08-08 04:57:39.318704'
  msg: ''
  rc: 0
  start: '2024-08-08 04:57:39.312889'
  stderr: ''
  stderr_lines: <omitted>
  stdout: /dev/mapper/rootvg-rootlv[/ostree/deploy/redhat/var]
  stdout_lines: <omitted>
TASK [assert] ******************************************************************
fatal: [192.168.100.50]: FAILED! => changed=false 
  assertion: result_var_mount_point.stdout == "/dev/mapper/rootvg-rootlv[/ostree/deploy/rhel-edge/var]"
  evaluated_to: false
  msg: /var does not mount on /dev/mapper/rootvg-rootlv[/ostree/deploy/rhel-edge/var]

The workaround is straightforward: update os_name variable to redhat, but we should discuss this topic with developers.
In addition we should monitor if the same situation will happen in fdo community container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant