[Deepsea-users] NTP configuration

LOIC DEVULDER loic.devulder at mpsa.com
Mon Jan 23 01:13:38 MST 2017


Hi,

Thanks Eric, that's what I need!

Maybe could it be a good idea to add this wiki link at the beginning of the DeepSea installation method paragraph in the SES documentation, to avoid this kind of dumb question :-)


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é : vendredi 
> 20 janvier 2017 20:53 À : Discussions about the DeepSea management 
> framework for Ceph <deepsea- users at lists.suse.com> Objet : Re: 
> [Deepsea-users] NTP configuration
> 
> >>> Real sender address / Reelle adresse d expedition :
> >>> deepsea-users-bounces at lists.suse.com <<<
> 
> **********************************************************************
> Hi Loic,
>   The short answer is to tell DeepSea to do something else which 
> includes "do nothing".  Check the first example here 
> https://github.com/SUSE/DeepSea/wiki/customize.  I used ntp.
> 
>   Salt is not fond of absence or empty configurations.  As many 
> defaults as we tried to put in, state files need at least a no-op.  
> The strategy throughout DeepSea is everything can be overridden since 
> I cannot predict what would need to be customized at a site.
> 
> Eric
> 
> 
> On Friday, January 20, 2017 03:16:13 PM LOIC DEVULDER wrote:
> > Hi,
> >
> > During my tests with DeepSea I ran into a little problem: I can't be 
> > able to remove the NTP configuration.
> >
> > Ok I know: why should I want to do this? Simply because I already 
> > have NTP configured on my servers (we have a custom NTP config in my
> company).
> >
> > I try to remove these lines from the 
> > /srv/pillar/ceph/proposals/config/stack/default/global.yml file:
> > ylal8020:/srv/pillar # cat
> > ceph/proposals/config/stack/default/global.yml
> > time_server: '{{ pillar.get("master_minion") }}'
> > time_service: ntp
> >
> > But I ran into a weird issue while trying to execute the 
> > configuration
> > stage: ylal8020:/srv/pillar # salt-run 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. 
> > [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.
> > ylal8020.inetpsa.com_master:
> >   Name: push.proposal - Function: salt.runner - Result: Changed
> > Started: -
> > 15:53:58.352226 Duration: 563.82 ms Name: refresh_pillar1 - Function:
> > salt.state - Result: Changed Started: - 15:53:58.916733 Duration:
> > 589.218 ms Name: configure.cluster - Function: salt.runner - Result:
> > Changed
> > Started: - 15:53:59.506662 Duration: 1003.844 ms Name: 
> > refresh_pillar2
> > -
> > Function: salt.state - Result: Changed Started: - 15:54:00.511544
> Duration:
> > 662.566 ms Name: admin key - Function: salt.state - Result: Clean
> Started:
> > - 15:54:01.174305 Duration: 455.286 ms Name: mon key - Function:
> > salt.state
> > - Result: Clean Started: - 15:54:01.629844 Duration: 396.696 ms Name:
> > osd key - Function: salt.state - Result: Clean Started: -
> > 15:54:02.026768
> > Duration: 391.508 ms Name: igw key - Function: salt.state - Result:
> > Clean
> > Started: - 15:54:02.418500 Duration: 1192.624 ms Name: mds key -
> Function:
> > salt.state - Result: Clean Started: - 15:54:03.611366 Duration:
> > 1172.492 ms
> > Name: rgw key - Function: salt.state - Result: Clean Started: -
> > 15:54:04.784086 Duration: 1193.912 ms Name: openattic key - Function:
> > salt.state - Result: Clean Started: - 15:54:05.978226 Duration:
> > 393.879 ms
> > Name: igw config - Function: salt.state - Result: Clean Started: -
> > 15:54:06.372340 Duration: 1183.398 ms
> >
> > Summary for ylal8020.inetpsa.com_master
> > -------------
> > Succeeded: 12 (changed=4)
> > Failed:     0
> > -------------
> > Total states run:     12
> > Total run time:    9.199 s
> >
> > Ok I know there is no direct error but the pillar.items is not good, 
> > some items are missing: ylal8020:/srv/pillar # salt '*' pillar.items
> > ylal8300.inetpsa.com:
> >     ----------
> >     benchmark:
> >         ----------
> >         default-collection:
> >             simple.yml
> >         job-file-directory:
> >             /run/cephfs_bench_jobs
> >         log-file-directory:
> >             /var/log/cephfs_bench_logs
> >         work-directory:
> >             /run/cephfs_bench
> >     cluster:
> >         ceph
> >     master_minion:
> >         ylal8020.inetpsa.com
> >     mon_host:
> >     mon_initial_members:
> >         - ylal8290
> >         - ylal8030
> >         - ylal8300
> >     roles:
> >         - mon
> > ylal8030.inetpsa.com:
> >     ----------
> >     benchmark:
> >         ----------
> >         default-collection:
> >             simple.yml
> >         job-file-directory:
> >             /run/cephfs_bench_jobs
> >         log-file-directory:
> >             /var/log/cephfs_bench_logs
> >         work-directory:
> >             /run/cephfs_bench
> >     cluster:
> >         ceph
> >     master_minion:
> >         ylal8020.inetpsa.com
> >     mon_host:
> >     mon_initial_members:
> >         - ylal8290
> >         - ylal8030
> >         - ylal8300
> >     roles:
> >         - mon
> > ylal8020.inetpsa.com:
> >     ----------
> >     benchmark:
> >         ----------
> >         default-collection:
> >             simple.yml
> >         job-file-directory:
> >             /run/cephfs_bench_jobs
> >         log-file-directory:
> >             /var/log/cephfs_bench_logs
> >         work-directory:
> >             /run/cephfs_bench
> >     cluster:
> >         ceph
> >     master_minion:
> >         ylal8020.inetpsa.com
> >     mon_host:
> >     mon_initial_members:
> >         - ylal8290
> >         - ylal8030
> >         - ylal8300
> >     roles:
> >         - master
> >         - admin
> > ylxl0060.inetpsa.com:
> >     ----------
> >     benchmark:
> >         ----------
> >         default-collection:
> >             simple.yml
> >         job-file-directory:
> >             /run/cephfs_bench_jobs
> >         log-file-directory:
> >             /var/log/cephfs_bench_logs
> >         work-directory:
> >             /run/cephfs_bench
> >     cluster:
> >         ceph
> >     master_minion:
> >         ylal8020.inetpsa.com
> >     mon_host:
> >     mon_initial_members:
> >         - ylal8290
> >         - ylal8030
> >         - ylal8300
> >     roles:
> >         - storage
> > ylxl0050.inetpsa.com:
> >     ----------
> >     benchmark:
> >         ----------
> >         default-collection:
> >             simple.yml
> >         job-file-directory:
> >             /run/cephfs_bench_jobs
> >         log-file-directory:
> >             /var/log/cephfs_bench_logs
> >         work-directory:
> >             /run/cephfs_bench
> >     cluster:
> >         ceph
> >     master_minion:
> >         ylal8020.inetpsa.com
> >     mon_host:
> >     mon_initial_members:
> >         - ylal8290
> >         - ylal8030
> >         - ylal8300
> >     roles:
> >         - storage
> > ylal8290.inetpsa.com:
> >     ----------
> >     benchmark:
> >         ----------
> >         default-collection:
> >             simple.yml
> >         job-file-directory:
> >             /run/cephfs_bench_jobs
> >         log-file-directory:
> >             /var/log/cephfs_bench_logs
> >         work-directory:
> >             /run/cephfs_bench
> >     cluster:
> >         ceph
> >     master_minion:
> >         ylal8020.inetpsa.com
> >     mon_host:
> >     mon_initial_members:
> >         - ylal8290
> >         - ylal8030
> >         - ylal8300
> >     roles:
> >         - mon
> > ylxl0080.inetpsa.com:
> >     ----------
> >     benchmark:
> >         ----------
> >         default-collection:
> >             simple.yml
> >         job-file-directory:
> >             /run/cephfs_bench_jobs
> >         log-file-directory:
> >             /var/log/cephfs_bench_logs
> >         work-directory:
> >             /run/cephfs_bench
> >     cluster:
> >         ceph
> >     master_minion:
> >         ylal8020.inetpsa.com
> >     mon_host:
> >     mon_initial_members:
> >         - ylal8290
> >         - ylal8030
> >         - ylal8300
> >     roles:
> >         - storage
> > ylxl0070.inetpsa.com:
> >     ----------
> >     benchmark:
> >         ----------
> >         default-collection:
> >             simple.yml
> >         job-file-directory:
> >             /run/cephfs_bench_jobs
> >         log-file-directory:
> >             /var/log/cephfs_bench_logs
> >         work-directory:
> >             /run/cephfs_bench
> >     cluster:
> >         ceph
> >     master_minion:
> >         ylal8020.inetpsa.com
> >     mon_host:
> >     mon_initial_members:
> >         - ylal8290
> >         - ylal8030
> >         - ylal8300
> >     roles:
> >         - storage
> >
> > So my "simple" question is: how I can configure global.yml to not 
> > let DeepSea configure NTP?
> >
> > 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