saltstack-formulas / mongodb-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
31 stars 121 forks source link

[BUG] Failed to start mongos.service: Unit mongos.service not found. #81

Closed myii closed 4 years ago

myii commented 4 years ago

CC: @noelmcloughlin. Note that we have 3000.3 images now so you may need to pull the latest changes first locally.


Your setup

Formula commit hash / release tag

1cd3b2c

Versions reports (master & minion)

N/a.

Pillar / config used

As provided in kitchen.yml.


Bug details

Describe the bug

All instances failing after the merge of #79:

                 ID: mongodb server mongos service running
           Function: service.running
               Name: mongos
             Result: False
            Comment: Failed to start mongos.service: Unit mongos.service not found.
            Started: 14:25:41.181355
           Duration: 133.196 ms
            Changes: 

Steps to reproduce the bug

Run Travis for that commit or even latest.

Expected behaviour

All should be passing, as they were before:

                 ID: mongodb server mongos service running
           Function: service.running
               Name: mongos
             Result: True
            Comment: Service mongos has been enabled, and is running
            Started: 20:11:57.614548
           Duration: 455.365 ms
            Changes:   
              ----------
              mongos:
                  True

Attempts to fix the bug

Additional context

noelmcloughlin commented 4 years ago

83