[Deepsea-users] WARNING message with DeepSea on dmidecode command

LOIC DEVULDER loic.devulder at mpsa.com
Fri Jan 20 01:23:02 MST 2017


Hi Eric,

Thanks for your explanation :-)

I tried your suggestion with logging but even with info loglevel I have the warning message (now with info messages too):
ylal8020:~ # salt-run -l info state.orch ceph.stage.configure
[WARNING ] Although 'dmidecode' was found in path, the current user cannot execute it. Grains output might not be accurate.
[WARNING ] Although 'dmidecode' was found in path, the current user cannot execute it. Grains output might not be accurate.
[INFO    ] Ignoring pillar stack template "": can't find from root dir "/srv/pillar/ceph/stack"
[INFO    ] Ignoring pillar stack template "": can't find from root dir "/srv/pillar/ceph/stack"
[INFO    ] Ignoring pillar stack template "": can't find from root dir "/srv/pillar/ceph/stack"
[INFO    ] Ignoring pillar stack template "": can't find from root dir "/srv/pillar/ceph/stack"
[INFO    ] Ignoring pillar stack template "default/None/cluster.yml": can't find from root dir "/srv/pillar/ceph/stack"
[INFO    ] Ignoring pillar stack template "": can't find from root dir "/srv/pillar/ceph/stack"
[INFO    ] Ignoring pillar stack template "": can't find from root dir "/srv/pillar/ceph/stack"
[INFO    ] Ignoring pillar stack template "": can't find from root dir "/srv/pillar/ceph/stack"
[INFO    ] Ignoring pillar stack template "": can't find from root dir "/srv/pillar/ceph/stack"
[INFO    ] Ignoring pillar stack template "": can't find from root dir "/srv/pillar/ceph/stack"
...

As this warning message is not a problem for me I will let as this.

Regards / Cordialement,
___________________________________________________________________
PSA Groupe
Loïc Devulder (loic.devulder at mpsa.com)
Senior Linux System Engineer / Linux HPC Specialist DF/DDCE/ISTA/DSEP/ULES - Linux Team BESSONCOURT / EXTENSION RIVE DROITE / B19 Internal postal address: SX.BES.15 Phone Incident - Level 3: 22 94 39 Phone Incident - Level 4: 22 92 40
Office: +33 (0)9 66 66 69 06 (27 69 06)
Mobile: +33 (0)6 87 72 47 31
___________________________________________________________________

This message may contain confidential information. If you are not the intended recipient, please advise the sender immediately and delete this message. For further information on confidentiality and the risks inherent in electronic communication see http://disclaimer.psa-peugeot-citroen.com.


> -----Message d'origine-----
> De : deepsea-users-bounces at lists.suse.com [mailto:deepsea-users- 
> bounces at lists.suse.com] De la part de Eric Jackson Envoyé : jeudi 19 
> janvier 2017 22:39 À : Discussions about the DeepSea management 
> framework for Ceph <deepsea- users at lists.suse.com> Objet : Re: 
> [Deepsea-users] WARNING message with DeepSea on dmidecode command
> 
> >>> Real sender address / Reelle adresse d expedition :
> >>> deepsea-users-bounces at lists.suse.com <<<
> 
> **********************************************************************
> Hi Loic,
>   Unfortunately, I'll call it "normal".  I have seen it as well but 
> only on real hardware IIRC.  When I checked into it, the message is 
> incorrect since the user could run dmidecode.
>   The real solution is to track this down and fix the check correctly 
> within Salt itself.  In the meantime, if you are trying DeepSea 
> repeatedly and the message has crossed the annoyance threshold, 
> running with logging set to info might be acceptable.  You would miss 
> out on the "All minions are ready"
> message, but that may not be an issue for your current situation.
>   Two ways to set the log level.  Either 
> /etc/salt/master.d/logging.conf (or /etc/salt/master itself) or 
> specify at the command line
> 
> salt-run -l info state.orch ceph.stage.prep
> 
>   I am hopeful that this has been addressed in Salt 2016.11, but I 
> have not checked yet.
> 
> Eric
> 
> On Thursday, January 19, 2017 02:42:32 PM LOIC DEVULDER wrote:
> > Hi all,
> >
> > I'm installing a fresh Ceph (SES4) cluster using DeepSea and I have 
> > a warning on the dmidecode command and I'm not sure if it's "normal" 
> > or
> not.
> > The WARNING message is not pretty to see :-)
> >
> > ylal8020:~ # salt-run state.orch ceph.stage.prep [WARNING ] Although 
> > 'dmidecode' was found in path, the current user cannot execute it.
> > Grains output might not be accurate. [WARNING ] Although 'dmidecode'
> > was found in path, the current user cannot execute it. Grains output 
> > might not be accurate. [WARNING ] Although 'dmidecode' was found in 
> > path, the current user cannot execute it. Grains output might not be
> > accurate. master_minion            : valid
> > ceph_version             : valid
> > [WARNING ] Although 'dmidecode' was found in path, the current user 
> > cannot execute it. Grains output might not be accurate. [WARNING ] 
> > Although 'dmidecode' was found in path, the current user cannot 
> > execute it. Grains output might not be accurate. [WARNING ] Although 
> > 'dmidecode' was found in path, the current user cannot execute it.
> > Grains output might not be accurate. [WARNING ] Although 'dmidecode'
> > was found in path, the current user cannot execute it. Grains output 
> > might not be accurate. [WARNING ] All minions are ready
> > ylal8020.inetpsa.com_master:
> >   Name: sync master - Function: salt.state - Result: Changed Started:
> > -
> > 15:17:53.184729 Duration: 661.644 ms Name: repo master - Function:
> > salt.state - Result: Clean Started: - 15:17:53.846636 Duration:
> > 437.289 ms
> > Name: prepare master - Function: salt.state - Result: Changed Started:
> > -
> > 15:17:54.284157 Duration: 2182.235 ms Name: filequeue.remove - Function:
> > salt.runner - Result: Clean Started: - 15:17:56.466615 Duration:
> > 1200.11 ms
> > Name: restart master - Function: salt.state - Result: Clean Started: 
> > -
> > 15:17:57.666954 Duration: 826.666 ms Name: filequeue.add - Function:
> > salt.runner - Result: Changed Started: - 15:17:58.493936 Duration:
> > 622.81 ms Name: minions.ready - Function: salt.runner - Result:
> > Changed Started: -
> > 15:17:59.117152 Duration: 866.052 ms Name: begin - Function:
> > salt.state -
> > Result: Changed Started: - 15:17:59.983454 Duration: 3357.955 ms Name:
> > sync
> > - Function: salt.state - Result: Changed Started: - 15:18:03.342006
> > Duration: 875.244 ms Name: mines - Function: salt.state - Result:
> > Changed
> > Started: - 15:18:04.217517 Duration: 1185.075 ms Name: repo - Function:
> > salt.state - Result: Clean Started: - 15:18:05.402991 Duration:
> > 15170.784 ms Name: common packages - Function: salt.state - Result:
> > Clean Started: -
> > 15:18:20.574028 Duration: 2494.467 ms Name: updates - Function:
> > salt.state
> > - Result: Changed Started: - 15:18:23.068804 Duration: 2659.983 ms Name:
> > restart - Function: salt.state - Result: Clean Started: -
> > 15:18:25.729027
> > Duration: 977.038 ms Name: complete - Function: salt.state - Result:
> > Changed Started: - 15:18:26.706312 Duration: 332.819 ms
> >
> > Summary for ylal8020.inetpsa.com_master
> > -------------
> > Succeeded: 15 (changed=9)
> > Failed:     0
> > -------------
> > Total states run:     15
> > Total run time:   33.850 s
> >
> >
> > Regards / Cordialement,
> > ___________________________________________________________________
> > PSA Groupe
> > Loïc Devulder (loic.devulder at mpsa.com) Senior Linux System Engineer 
> > / Linux HPC Specialist DF/DDCE/ISTA/DSEP/ULES - Linux Team 
> > BESSONCOURT / EXTENSION RIVE DROITE / B19 Internal postal address: 
> > SX.BES.15 Phone Incident - Level 3: 22 94 39 Phone Incident - Level 
> > 4: 22 92 40
> > Office: +33 (0)9 66 66 69 06 (27 69 06)
> > Mobile: +33 (0)6 87 72 47 31
> > ___________________________________________________________________
> >
> > This message may contain confidential information. If you are not 
> > the intended recipient, please advise the sender immediately and 
> > delete this message. For further information on confidentiality and 
> > the risks inherent in electronic communication see 
> > http://disclaimer.psa-peugeot-
> citroen.com.
> >
> > _______________________________________________
> > Deepsea-users mailing list
> > Deepsea-users at lists.suse.com
> > http://lists.suse.com/mailman/listinfo/deepsea-users


More information about the Deepsea-users mailing list