SUSE Support

Here When You Need Us

During the upgrade to SUSE Enterprise Storage 5 salt stage 3 returns an error for the master_role

This document (7022271) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Enterprise Storage 3
SUSE Enterprise Storage 4
SUSE Enterprise Storage 5

Situation

During the upgrade from SUSE Enterprise Storage (SES) 3 or 4 to SES 5 when running stage 3 as documented in the upgrade section of the online documentation with point 10. e. the following error is shown:

:~ # 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
time_server              : valid
master_role              : ['The master_minion does not match any minion assigned the master role']
[ERROR   ] No highstate or sls specified, no execution made
master-node01.lab.domain_master:
----------
          ID: validate failed
    Function: salt.state
        Name: just.exit
      Result: False
     Comment: No highstate or sls specified, no execution made
     Started: 11:42:02.125777
    Duration: 0.681 ms
     Changes:  

Summary for master-node01.lab.domain_master
------------
Succeeded: 0
Failed:    1
------------
Total states run:     1
Total run time:   0.681 ms

Resolution

Make sure the "role-master" is properly assigned in the "/srv/pillar/ceph/proposals/policy.cfg" file and set to the required master node. If it was needed to add / modify the "role-master" entry, it is required to first again run "salt-run state.orch ceph.stage.2" before running stage 3 again.

Cause

No or incorrect "role-master" entry in "/srv/pillar/ceph/proposals/policy.cfg".

Additional Information

If the master node is "master-node01.lab.domain" the below is an example entry needed in the policy.cfg file:

role-master/cluster/master-node01.lab.domain.sls


Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7022271
  • Creation Date: 03-Nov-2017
  • Modified Date:03-Mar-2020
    • SUSE Enterprise Storage

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.