[Deepsea-users] adventures with wip-salt2018 / SLE 15 / python3

Tim Serong tserong at suse.com
Mon Apr 9 01:06:48 MDT 2018


Hi All,

I have a problem.  I'm trying out the deepsea wip-salt2018 branch on the
latest(?) SLE 15 (salt 2018.1.99, python 3.6.4), and various runners
somewhat intermittently break.  Here's an example:

# salt-run state.orch ceph.stage.3
firewall                 : disabled
apparmor                 : disabled
fsid                     : valid
public_network           : valid
cluster_network          : valid
cluster_interface        : valid
monitors                 : valid
mgrs                     : valid
storage                  : valid
ganesha                  : valid
master_role              : valid
time_server              : valid
fqdn                     : valid
(...snip...)

Summary for admin.ceph_master
-------------
Succeeded: 50 (changed=32)
Failed:     0
-------------
Total states run:     50
Total run time:  220.284 s


OK, that worked fine.  Now I run it again:

# salt-run state.orch ceph.stage.3
firewall                 : disabled
apparmor                 : disabled
[ERROR   ] Rendering exception occurred
Traceback (most recent call last):
(...snip...)
KeyError: 'validate.pillar'


Huh?

If I try to run validate.pillar by hand, I get:

# salt-run validate.pillar cluster=ceph
'validate' __virtual__ returned False: No module named 'deepsea_minions'


If I then delete that runner's pyc file, everything works again

# rm /srv/modules/runners/__pycache__/validate.cpython-36.pyc

# salt-run validate.pillar cluster=ceph
fsid                     : valid
public_network           : valid
cluster_network          : valid
cluster_interface        : valid
monitors                 : valid
mgrs                     : valid
storage                  : valid
ganesha                  : valid
master_role              : valid
time_server              : valid
fqdn                     : valid
True


Likewise, stage 3 runs through fine again at this point.

Has anyone else seen this?  What the hell is going on here?

Thanks,

Tim
-- 
Tim Serong
Senior Clustering Engineer
SUSE
tserong at suse.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tserong.vcf
Type: text/x-vcard
Size: 4 bytes
Desc: not available
URL: <http://lists.suse.com/pipermail/deepsea-users/attachments/20180409/c4666e17/attachment.bin>


More information about the Deepsea-users mailing list