[Deepsea-users] Stage 2 error on Azure

Kevin Ayres kevin.ayres at suse.com
Fri Sep 21 12:18:06 MDT 2018


I redeployed this SES 5 cluster and ripped off all of the Azure naming junk and moved a local DNS server on the Adm node. So, DNS, NTP, resolv.conf and hosts and .ssh/ files appear to be correct throughout. Stages 0, 1 complete. Stage 2 fails.

I’m troubleshooting this stage 2 error. Something to do with keyring caching and possibly the manager role running on admin node? I’ve restarted services, node, etc.  It seems to be minion issue on the salt master (adm) node. Any guidance is appreciated. Googling madly..


    salt:

        Data failed to compile:

    ----------

        Rendering SLS 'base:ceph.mgr.key.default' failed: Conflicting ID '/srv/salt/ceph/mgr/cache/localhost.keyring'

salt:~ # ls -a /srv/salt/ceph/mgr/cache/
.  ..
No such folder..

salt:~ # cat /srv/pillar/ceph/proposals/policy.cfg
...
role-mgr/cluster/mon*.sls

salt:~ # cat /srv/pillar/ceph/proposals/role-mgr/cluster/salt.sls
roles:
- mgr

Thank you!
~ Kevin

Complete sage 2 output:

        salt:~ # salt-run state.orch ceph.stage.configure
        deepsea_minions          : valid
        yaml_syntax              : valid
        profiles_populated       : valid
        public network           : 172.19.20.0/24
        cluster network          : 172.19.20.0/24
        [ERROR   ] Run failed on minions: salt
        Failures:
            salt:
                Data failed to compile:
            ----------
                Rendering SLS 'base:ceph.mgr.key.default' failed: Conflicting ID '/srv/salt/ceph/mgr/cache/localhost.keyring'

        salt_master:
          Name: push.proposal - Function: salt.runner - Result: Changed Started: - 17:04:46.183848 Duration: 1392.712 ms
          Name: refresh_pillar1 - Function: salt.state - Result: Changed Started: - 17:04:47.576691 Duration: 784.477 ms
          Name: advise.networks - Function: salt.runner - Result: Clean Started: - 17:04:48.361300 Duration: 1766.973 ms
          Name: admin key - Function: salt.state - Result: Clean Started: - 17:04:50.128391 Duration: 404.333 ms
          Name: mon key - Function: salt.state - Result: Changed Started: - 17:04:50.532926 Duration: 563.858 ms
        ----------
                  ID: mgr key
            Function: salt.state
              Result: False
             Comment: Run failed on minions: salt
                      Failures:
                          salt:
                              Data failed to compile:
                          ----------
                              Rendering SLS 'base:ceph.mgr.key.default' failed: Conflicting ID '/srv/salt/ceph/mgr/cache/localhost.keyring'
             Started: 17:04:51.096948
            Duration: 2690.64 ms
             Changes:

        Summary for salt_master
        ------------
        Succeeded: 5 (changed=3)
        Failed:    1
        ------------
        Total states run:     6
        Total run time:   7.603 s

        salt:~ # service salt-minion status
        * salt-minion.service - The Salt Minion
           Loaded: loaded (/usr/lib/systemd/system/salt-minion.service; enabled; vendor preset: disabled)
           Active: active (running) since Thu 2018-09-20 23:53:42 UTC; 17h ago
         Main PID: 13456 (salt-minion)
            Tasks: 6 (limit: 512)
           CGroup: /system.slice/salt-minion.service
                   |-13456 /usr/bin/python /usr/bin/salt-minion
                   |-13462 /usr/bin/python /usr/bin/salt-minion
                   `-13465 /usr/bin/python /usr/bin/salt-minion

        Sep 21 13:03:37 salt salt-minion[13456]: [ERROR   ] Exception occurred while handling stream: [Errno 0] Success
        Sep 21 13:05:57 salt salt-minion[13456]: [ERROR   ] Exception occurred while handling stream: [Errno 0] Success
        Sep 21 13:50:19 salt salt-minion[13456]: [ERROR   ] Exception occurred while handling stream: [Errno 0] Success
        Sep 21 13:53:44 salt salt-minion[13456]: [ERROR   ] Function cephimages.list in mine_functions failed to execute
        Sep 21 14:47:32 salt salt-minion[13456]: [ERROR   ] Exception occurred while handling stream: [Errno 0] Success
        Sep 21 14:53:44 salt salt-minion[13456]: [ERROR   ] Function cephimages.list in mine_functions failed to execute
        Sep 21 15:05:03 salt salt-minion[13456]: [ERROR   ] Exception occurred while handling stream: [Errno 0] Success
        Sep 21 15:53:44 salt salt-minion[13456]: [ERROR   ] Function cephimages.list in mine_functions failed to execute
        Sep 21 16:53:44 salt salt-minion[13456]: [ERROR   ] Function cephimages.list in mine_functions failed to execute
        Sep 21 17:04:53 salt salt-minion[13456]: [CRITICAL] Rendering SLS 'base:ceph.mgr.key.default' failed: Conflicting ID '/srv/salt/ceph/mgr/cache/localhost.keyring'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/pipermail/deepsea-users/attachments/20180921/fd1131ed/attachment.htm>


More information about the Deepsea-users mailing list