Ansible Playbook (Install) Fails #574
Replies: 5 comments 2 replies
-
Yes. You can run podman as root ( . ~/.profile There is a |
Beta Was this translation helpful? Give feedback.
-
Hi Clint, Thank you for your reply. Apologies if I don't understand your answer. I stated that the Ansible script failed to install podman and the associated containers. Steps taken - per your suggestion I ran these commands in order shown Results show no containers are present. Per your comment about sourcing the profile, are you suggesting that I should have "sourced profile" immediately after running the ansible playbook to install LME, and if I had done so I would have seen the containers? Thank you |
Beta Was this translation helpful? Give feedback.
-
All podman commands must be prefaced by sudo -i So, This should work as both the regular user and after running sudo su You will need to type out the entire command of You could add something like this:
to your .bashrc for both accounts which would prevent you from having to type that out every time. But just keep in mind thats required to be typed |
Beta Was this translation helpful? Give feedback.
-
Do you get a response that says the headers of the containers, but no
containers?
Or do you get some other response?
Can you look in
/etc/containers/systemd and see if there are service files in there?
What happens when you try to look at the services that should be running
with
systemctl status lme*
Thanks,
Clint
…On Mon, Mar 24, 2025 at 2:16 PM Andrew Arz ***@***.***> wrote:
I am having the same issue as @gibraltarviking
<https://github.com/gibraltarviking> with no containers showing after sudo
-i podman ps, following all the same initial steps of the install doc up
to 3.2. I tried your latest solution of sudo su, . ~/.profile, and sudo
-i podman ps, and still have no containers showing. I have tried several
times to uninstall, reboot, and reinstall LME v2.0. Is there anything else
you would recommend? Thank you.
I dont really have a suggestion just route out the gate. It could be one
of infinite reasons its not working.
What version of ubuntu are you using?
Have you tried from a clean vm instead of just uninstall?
Resources on your servers?
does the ansible fail?
—
Reply to this email directly, view it on GitHub
<#574 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQY33WNCKVZYY4S6ETOTCD2WBDWVAVCNFSM6AAAAABZQPXXCCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENRQGU4TKNY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks for getting back to me @cbaxley and @aarz-snl. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Really struggling with LME v2.0. The first ansible playbook is consistently failing to install podman and the corresponding containers. Over a week I have made a dozen attempts to install LME to a clean installation of Ubuntu Server 22.04.5.
To recap steps taken
Install Ubuntu 22.04.05 to a new VM that has 16GB RAM, 8 CPU and 1TB storage
update apt
install curl jq unzip
use curl to fetch files from github, expand into ~/LME
use touch to create ~/LME/config/lme-environment.env, then copy contents of ~/LME/config/example.env to lme-environment.env
edit lme-environment.env, update IPVAR to reflect IPv4 address that is assigned to ens160
install ansible
run ansible playbook as normal user: ansible-playbook -K ./ansible/install_lme_local.yml
After ansible completes I try to use podman ps to check status of containers. every single time I do so I am informed that podman is not installed. After installing podman using apt I discover there are no containers installed
Any idea what I'm doing wrong?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions