411 with files that end in .conf

51 views
Skip to first unread message

Philip Papadopoulos

unread,
Oct 4, 2017, 4:00:56 PM10/4/17
to rocks7-beta
@TimCarlson

I believe this should mitigate/fix the issue you were seeing.

You can grab the latest  base roll for beta7.rocksclusters.org
add it with rocks add roll
recreate the distro
then on any node where you want the update:

yum clean all
yum -y reinstall rocks-411


-P


--
Philip Papadopoulos, Ph.D

rmou...@uw.edu

unread,
Oct 6, 2017, 3:27:10 PM10/6/17
to rocks7-beta
I'm wondering if an sssd problem I've encountered is a 411 issue. I've already applied the 411 fix, but the problem persists.

In the post-installation section of my extend-compute.xml file sssd gets enabled ...

/usr/sbin/authconfig --enablesssd --enablesssdauth --update

... but following the automatic reboot, sssd.service fails to start, complaining that "sssd.conf does not exist": 

[root@a32 ~]# systemctl status sssd
* sssd.service - System Security Services Daemon
   Loaded: loaded (/usr/lib/systemd/system/sssd.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/sssd.service.d
           `-journal.conf
   Active: failed (Result: exit-code) since Fri 2017-10-06 11:42:08 PDT; 24min ago
 Main PID: 859 (code=exited, status=4)

Oct 06 11:42:07 a32.local systemd[1]: Starting System Security Services Daemon...
Oct 06 11:42:08 a32.local sssd[859]: Configuration file: /etc/sssd/sssd.conf does not exist.
Oct 06 11:42:08 a32.local systemd[1]: sssd.service: main process exited, code=exited, status=4/NOPERMISSION
Oct 06 11:42:08 a32.local systemd[1]: Failed to start System Security Services Daemon.
Oct 06 11:42:08 a32.local systemd[1]: Unit sssd.service entered failed state.
Oct 06 11:42:08 a32.local systemd[1]: sssd.service failed.

The file is getting pushed to the node via 411 as desired, and the timestamp matches that of the sssd startup error:

[root@a32 ~]# ls -al /etc/sssd/sssd.conf
-rw------- 1 root root 913 Oct  6 11:42 /etc/sssd/sssd.conf

Any idea what might be going wrong?

Philip Papadopoulos

unread,
Oct 6, 2017, 4:05:16 PM10/6/17
to rmou...@uw.edu, rocks7-beta
Probably startup ordering issue.
My guess is that sssd is starting before 411 gets the configuration file.

Does the file have the correct contents?

What happens if you start the sssd service manually (now that its conf file is there)

-P


--
You received this message because you are subscribed to the Google Groups "rocks7-beta" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rocks7-beta+unsubscribe@googlegroups.com.
To post to this group, send email to rocks...@googlegroups.com.
Visit this group at https://groups.google.com/group/rocks7-beta.
To view this discussion on the web visit https://groups.google.com/d/msgid/rocks7-beta/450943f7-32de-44b6-b744-95fecccc9d81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Moulton

unread,
Oct 6, 2017, 4:16:04 PM10/6/17
to Philip Papadopoulos, rocks7-beta
Yes, the file has the correct contents and a manual startup of sssd
service works fine at that point.

And blaming start-up order would make sense, assuming the ls
'--full-time' flag is reporting file-creation time (~30 seconds after
the sssd-startup attempt) here:

[root@a32 ~]# ls -al --full-time /etc/sssd/sssd.conf
-rw------- 1 root root 913 2017-10-06 11:42:44.003092000 -0700
/etc/sssd/sssd.conf

Philip Papadopoulos wrote on 10/6/17 1:05 PM:
> <http://beta7.rocksclusters.org>
> add it with rocks add roll
> recreate the distro
> then on any node where you want the update:
>
> yum clean all
> yum -y reinstall rocks-411
>
>
> -P
>
>
> --
> Philip Papadopoulos, Ph.D
> ppapad...@ucsd.edu
> (858) 822-3628 <tel:(858)%20822-3628>
>
> --
> You received this message because you are subscribed to the Google
> Groups "rocks7-beta" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to rocks7-beta...@googlegroups.com
> <mailto:rocks7-beta...@googlegroups.com>.
> To post to this group, send email to rocks...@googlegroups.com
> <mailto:rocks...@googlegroups.com>.
> <https://groups.google.com/group/rocks7-beta>.
> <https://groups.google.com/d/msgid/rocks7-beta/450943f7-32de-44b6-b744-95fecccc9d81%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
>
>
>
> --
> Philip Papadopoulos, Ph.D
> ppapad...@ucsd.edu <mailto:ppapad...@ucsd.edu>
> (858) 822-3628
Reply all
Reply to author
Forward
0 new messages