8000 Error on first install · Issue #20 · tigattack/ansible-role-mergerfs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Error on first install #20

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

Open
danst0 opened this issue Feb 16, 2025 · 6 comments
Open

Error on first install #20

danst0 opened this issue Feb 16, 2025 · 6 comments

Comments

@danst0
Copy link
danst0 commented Feb 16, 2025

Hi,

I get the following error when starting on a clean ubuntu 24.04 Server.

Daniel

[tigattack.mergerfs : Install mergerfs package with apt] *****************************************************************************************************************************
fatal: [cassius4]: FAILED! => {"changed": false, "msg": "Unable to install package: E:read, still have 8 to read but none left"}

@danst0
Copy link
Author
danst0 commented Feb 16, 2025

It did work, after setting the method to package_manager instead of GitHub. However, installing a deb from GitHub seems not to work with this command.

@tigattack
Copy link
Owner

Thanks for letting me know. I'm unable to replicate this in tests. Could you let me know:

  • If you've defined a mergerfs_version and, if so, to what value
  • Which version of Debian you're running this against

@danst0
Copy link
Author
danst0 commented Feb 20, 2025

Hi,

these are the versions:

---- no version on mergerfs_version


running ubuntu 24.10

---- settings for mergerfs

mergerfs_install_mode: package_manager
merger_fs_enable: true
mergerfs_mounts:
  - path: "{{ mfs_pool }}"
    branches:
      - "{{ mfs_ssd }}"
 #     - "{{ mfs_ssd2 }}"
      - "{{ mfs_disk1 }}"
      
    options: allow_other,use_ino,category.create=ff

---- Ansible on my control host

ansible-playbook [core 2.16.7]
  config file = /Users/danst/ansible/ansible.cfg
  configured module search path = ['/Users/
8000
danst/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /Users/danst/ansible/.venv/lib/python3.12/site-packages/ansible
  ansible collection location = /Users/danst/.ansible/collections:/usr/share/ansible/collections
  executable location = /Users/danst/ansible/.venv/bin/ansible-playbook
  python version = 3.12.9 (main, Feb  4 2025, 14:38:38) [Clang 16.0.0 (clang-1600.0.26.6)] (/Users/danst/ansible/.venv/bin/python3.12)
  jinja version = 3.1.4
  libyaml = True

@tigattack
Copy link
Owner

Thanks, I'll see if I can reproduce this.

@tigattack
Copy link
Owner

I was unable to reproduce this I'm afraid. I'm not sure how it occurred, but I couldn't find anything in the role that I believe would cause such a result. I imagine the failure was most likely the result of a transient error with apt or dpkg on your remote node. This can sometimes happen, regardless of the package.

I've released a new major version of this role which alters how the installation is performed. Please try it out after noting the breaking changes in the README.

@danst0
Copy link
Author
danst0 commented Apr 28, 2025

This fixed it for me:

- name: Install mergerfs package
  ansible.builtin.apt:
    # REMOVED deb: "{{ mergerfs_package_url }}"
    name: mergerfs # NEW LINE
    state: present
  become: true

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

2 participants
0