DeepSea icon indicating copy to clipboard operation
DeepSea copied to clipboard

deepsea stage run ceph.stage.0 -SaltRenderError

Open Misanac opened this issue 6 years ago • 2 comments

salt:~ # deepsea stage run ceph.stage.0 ..... Rebooting to upgrade from kernel 4.4.132-53 to 4.4.138-59.1.x86_64.

salt:~ # deepsea stage run ceph.stage.0 Starting stage: ceph.stage.0 Parsing ceph.stage.0 steps... ❌

An error occurred when rendering one of the following states: - ceph.repo (/srv/salt/ceph/repo) - ceph.packages.common (/srv/salt/ceph/packages/common) - ceph.sync (/srv/salt/ceph/sync) - ceph.mines (/srv/salt/ceph/mines) - ceph.updates (/srv/salt/ceph/updates) - ceph.updates.restart (/srv/salt/ceph/updates/restart)

Error description: SaltRenderError: mapping values are not allowed here; line 9


[...]

warning: module.run: - name: advise.reboot - running: 4.4.138-59 - installed: rpm: -1: unknown option <====================== - unless: "echo rpm: -1: unknown option | grep -q 4.4.138-59"

reboot: cmd.run: - name: "shutdown -r now" [...]

salt:~ # /sbin/SuSEfirewall2 status <35>Jun 22 12:35:48 SuSEfirewall2[3841]: SuSEfirewall2 not active salt:~ # rpm -qa|grep -i kernel kernel-default-4.4.138-59.1.x86_64 kernel-default-4.4.132-53.1.x86_64 kernel-firmware-20170530-20.1.noarch

  • i meen this happend with new wersion 4.4.138-59 Because it work before 18.6.2018. Can somebody help me, to solve this?

Misanac avatar Jun 22 '18 10:06 Misanac

According to http://lists.suse.com/pipermail/deepsea-users/2017-November/000221.html this is salt version incompatibility.

noelmcloughlin avatar Jun 27 '18 09:06 noelmcloughlin

@Misanac What version of Salt are you using? And would this be on SLE? To help debug if the problem is related to a single state, would you try the following:

# salt 'minionX*' state.apply ceph.updates.restart

That command will reboot the minion if the latest kernel (i.e. 4.4.138) is not running. But if you get the same SaltRenderError as before, then at least we tracked down the problem.

If you get inconsistent behavior, try the Stage without the deepsea wrapper

# salt-run state.orch ceph.stage.0

While definitely not as verbose, it may let you continue until we understand the issue better.

swiftgist avatar Jun 28 '18 15:06 swiftgist