--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/c859b393-dbf0-49f7-9d49-9756e2863873o%40lbl.gov.
Hey Mirko!I would guess that the team is pretty busy - if you aren't getting a response here I would suggest opening an issue at:or joining the slack and asking folks that are around. I don't know the answer to your question because I don't do a ton with LDAP, but I suspect someone out there does! Good luck!Best,Vanessa
On Mon, Jun 8, 2020 at 2:31 PM Mirko Pizarro <mirko....@gmail.com> wrote:
--HelloPlease help.Thank you!.El viernes, 5 de junio de 2020, 12:12:55 (UTC-4), Mirko Pizarro escribió:HelloGood afternoon, I am trying to mount slurm in a container, but I have an error:srun: error: Invalid user for SlurmUser slurm, ignoredsrun: fatal: Unable to process configuration fileThis is true, since our users work by ldap, the problem is that I don't know how to do it, for what Singularity not sees user of ldap which is currently as "slurm" and it's already created in our system.Could you help me?, How could I mount ldap in singularity? or see a ldap user in singularity?Thank you!!!.
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singu...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/CAM%3Dpu%2BLxw%2BWse2dem6CzK4kkAiQr9_aL3SkKgCcNQ%3DrfeKokLw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/CAG-ffEoi-NWphFi0FbqNL5-RuSRMZ2oqfFfz-AL%2B%3DYEi_MXRhg%40mail.gmail.com.
Hello there, I ran with this same issue and the solution was to create the SLURM and munge users when building the container image. You get LDAP info only from user launching the container all others show UID/GID.Hope this helps.
On Mon, Jun 8, 2020 at 4:25 PM Mirko Pizarro <mirko....@gmail.com> wrote:
Hello Vanessa
Thank you very much, pose the topic on Github.
Thanks.
El lun., 8 de jun. de 2020 a la(s) 16:53, v (vso...@gmail.com) escribió:
Hey Mirko!I would guess that the team is pretty busy - if you aren't getting a response here I would suggest opening an issue at:or joining the slack and asking folks that are around. I don't know the answer to your question because I don't do a ton with LDAP, but I suspect someone out there does! Good luck!Best,Vanessa
On Mon, Jun 8, 2020 at 2:31 PM Mirko Pizarro <mirko....@gmail.com> wrote:
--HelloPlease help.Thank you!.El viernes, 5 de junio de 2020, 12:12:55 (UTC-4), Mirko Pizarro escribió:HelloGood afternoon, I am trying to mount slurm in a container, but I have an error:srun: error: Invalid user for SlurmUser slurm, ignoredsrun: fatal: Unable to process configuration fileThis is true, since our users work by ldap, the problem is that I don't know how to do it, for what Singularity not sees user of ldap which is currently as "slurm" and it's already created in our system.Could you help me?, How could I mount ldap in singularity? or see a ldap user in singularity?Thank you!!!.
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singu...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/c859b393-dbf0-49f7-9d49-9756e2863873o%40lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singu...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/CAM%3Dpu%2BLxw%2BWse2dem6CzK4kkAiQr9_aL3SkKgCcNQ%3DrfeKokLw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singu...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/CAG-ffEoi-NWphFi0FbqNL5-RuSRMZ2oqfFfz-AL%2B%3DYEi_MXRhg%40mail.gmail.com.
Hello there, I ran with this same issue and the solution was to create the SLURM and munge users when building the container image. You get LDAP info only from user launching the container all others show UID/GID.Hope this helps.
On Mon, Jun 8, 2020 at 4:25 PM Mirko Pizarro <mirko....@gmail.com> wrote:
Hello Vanessa
Thank you very much, pose the topic on Github.
Thanks.
El lun., 8 de jun. de 2020 a la(s) 16:53, v (vso...@gmail.com) escribió:
Hey Mirko!I would guess that the team is pretty busy - if you aren't getting a response here I would suggest opening an issue at:or joining the slack and asking folks that are around. I don't know the answer to your question because I don't do a ton with LDAP, but I suspect someone out there does! Good luck!Best,Vanessa
On Mon, Jun 8, 2020 at 2:31 PM Mirko Pizarro <mirko....@gmail.com> wrote:
--HelloPlease help.Thank you!.El viernes, 5 de junio de 2020, 12:12:55 (UTC-4), Mirko Pizarro escribió:HelloGood afternoon, I am trying to mount slurm in a container, but I have an error:srun: error: Invalid user for SlurmUser slurm, ignoredsrun: fatal: Unable to process configuration fileThis is true, since our users work by ldap, the problem is that I don't know how to do it, for what Singularity not sees user of ldap which is currently as "slurm" and it's already created in our system.Could you help me?, How could I mount ldap in singularity? or see a ldap user in singularity?Thank you!!!.
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singu...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/c859b393-dbf0-49f7-9d49-9756e2863873o%40lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singu...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/CAM%3Dpu%2BLxw%2BWse2dem6CzK4kkAiQr9_aL3SkKgCcNQ%3DrfeKokLw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singu...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/CAG-ffEoi-NWphFi0FbqNL5-RuSRMZ2oqfFfz-AL%2B%3DYEi_MXRhg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/9bf2fdca-389f-460e-80fc-483e042d2891o%40lbl.gov.
--
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/59294051-471c-4611-9334-4eedf3c76dfco%40lbl.gov.
Hello,I recently created a container that executes sbatch commands using slurm on the system. I also encountered this error. The solution was to create the SlurmUser within the container. Check your configuration on the host system to figure out who the slurm user is. Then run a command like so during the build process (within %post).adduser --disabled-password --gecos "" slurmuserHope that helps.
On Tue, Jul 7, 2020 at 9:14 AM Mirko Pizarro <mirko....@gmail.com> wrote:
--Hello,Someone could help me, thank you very much!
El viernes, 5 de junio de 2020, 12:12:55 (UTC-4), Mirko Pizarro escribió:HelloGood afternoon, I am trying to mount slurm in a container, but I have an error:srun: error: Invalid user for SlurmUser slurm, ignoredsrun: fatal: Unable to process configuration fileThis is true, since our users work by ldap, the problem is that I don't know how to do it, for what Singularity not sees user of ldap which is currently as "slurm" and it's already created in our system.Could you help me?, How could I mount ldap in singularity? or see a ldap user in singularity?Thank you!!!.
You received this message because you are subscribed to the Google Groups "singularity" group.
To unsubscribe from this group and stop receiving emails from it, send an email to singu...@lbl.gov.
To unsubscribe from this group and stop receiving emails from it, send an email to singularity...@lbl.gov.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/7c3caa25-f7fe-4f34-8d53-466284100982o%40lbl.gov.
Hi Mirko,Sorry, but I think in this case you need to build from the internet image as a source and add the user during the build. Something like this:Bootstrap: dockerFrom: dev/image:tag%postadduser --disabled-password --gecos "" slurmuserIf for some reason you really, really don't want to alter the image at all, you will need to contact the developer of the container and ask them to make the change for you. (Which they may or may not want to do.) Singularity imports the calling user into the container by writing an entry to /etc/passwd at runtime. But I'm unaware of any way that you could write another user in at runtime without running the container as root. And running the container as root is a really bad idea.
To view this discussion on the web visit https://groups.google.com/a/lbl.gov/d/msgid/singularity/7c3caa25-f7fe-4f34-8d53-466284100982o%40lbl.gov.