Project

General

Profile

Task #1911

Update top.sls on SALT master

Added by Jan Iversen over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Urgent
Category:
Virtualization
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Tags:
URL:

Description

Please add hosts.vm174 to the vm174 entry in top.sls

This has to be done (for some reason) locally on SALT master to take effect, according to Werner.

salt-call_vm174.lst (6.48 KB) salt-call_vm174.lst Jan Iversen, 2016-06-08 05:48
salt-call_top.lst (216 KB) salt-call_top.lst Jan Iversen, 2016-06-08 05:48

History

#1 Updated by Alexander Werner over 1 year ago

  • Status changed from New to Closed

#2 Updated by Jan Iversen over 1 year ago

Something is missing.

When I do "sudo salt-call state.apply > ~/jix 2>&1"
There are no checks for e.g. esc-mentoring.py

When I do "sudo salt-call state.apply hosts.vm174 > ~/jix 2>&1"
I can see it checks for e.g. esc-mentoring.py

Does the vm need to updated somehow ??

I will try again tomorrow.

#3 Updated by Florian Effenberger over 1 year ago

  • Status changed from Closed to In Progress

#4 Updated by Jan Iversen over 1 year ago

Hi

Just tried again this morning. the changes you have made to top.sls does not go through to vm174.

Please have a look at the 2 outputs.

jani@vm174:~$ sudo salt-call state.apply > ~/salt-call_top.lst 2>&1
jani@vm174:~$ sudo salt-call state.apply hosts.vm174 > ~/salt-call_vm174.lst 2>&1

You can see in the first output, that it never runs hosts.vm174

#5 Updated by Alexander Werner over 1 year ago

Looking at the top.sls on floyd, it currently is in sync with the master branch, so contains these lines:

  'vm174.documentfoundation.org':
    - templates.core
    - hosts.vm174

Could you please try this for me on vm174: salt-call state.apply saltenv=master?

#6 Updated by Jan Iversen over 1 year ago

Done no change...hosts.vm174 is not called, I am utterly confused.

sudo salt-call state.apply saltenv=master > ~/jix2 2>&1

#7 Updated by Alexander Werner over 1 year ago

  • Status changed from In Progress to Closed

Only one top file in the whole salt tree should exist.

Also available in: Atom PDF