SUSE / DeepSea

A collection of Salt files for deploying, managing and automating Ceph.
GNU General Public License v3.0
160 stars 75 forks source link

deepsea stage run ceph.stage.0 -SaltRenderError #1192

Open Misanac opened 6 years ago

Misanac commented 6 years ago

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:

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


[...]

warning: module.run:

reboot: cmd.run:

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?
noelmcloughlin commented 6 years ago

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

swiftgist commented 6 years ago

@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.