Lothiraldan / saltpad

A gui and cli to manage saltstack deployments
Other
659 stars 146 forks source link

saltpad highstate #179

Open idokaplan opened 8 years ago

idokaplan commented 8 years ago

Hi,

I get this error when running highstate - "No return for this minion, minion is down or return is not yet available" ("show_top" on the same minion is working).

Is it means that I need to enable "Master Job Cache"?

Thanks! Ido

idokaplan commented 8 years ago

Hi,

Is there any update? Thanks Ido

idokaplan commented 8 years ago

state.highstate on SERVER started 3 hours ago by saltuser Copy job parameters Redo job with same parameters Minions: SERVER (pending) SERVER No return for this minion, minion is down or return is not yet available

/etc/salt/master.d/salt-api.conf rest_cherrypy:

rest_tornado:

port: 8000 disable_ssl: true debug: true

/etc/salt/master external_auth: pam: saltuser:

mysql.host: 'localhost' mysql.user: 'saltdb' mysql.pass: 'XXXX' mysql.db: 'salt' mysql.port: 3306 master_job_cache: mysql

/code/saltpad/static/settings.json { "API_URL": "SALT-MASTER-IP:8000", "SECURE_HTTP": false, "templates": { "basic": { "description": "Basic template", "matcher": "glob", "target": "*", "moduleFunction": "test.version", "arguments": {}

    },

    "version": {
        "description": "Basic version",
        "matcher": "glob",
        "target": "SERVER",
        "moduleFunction": "state.highstate",
        "arguments": {}
    }
},
"EAUTH": "pam",
"FLAVOUR": "rest_cherrypy",
"PATH_PREFIX": ""

}

salt-master-2016.3.3-1.el6.noarch

timwsuqld commented 7 years ago

I'm also curious about this.

$ salt --version
salt 2016.11.0 (Carbon)
{
    "API_URL": "localhost:8000",
    "SECURE_HTTP": false,
    "FLAVOUR": "rest_cherrypy",
}

I get the following javascript errors trying to reopen a highstate job.

warning.js:45 Warning: Failed propType: Required prop `params.job_id` was not specified in `SingleJobStoreHEC(JobResult)`. Check the render method of `t`.
s @ warning.js:45
i @ ReactElementValidator.js:189
l @ ReactElementValidator.js:208
createElement @ ReactElementValidator.js:242
t.createElement @ RoutingContext.js:55
(anonymous) @ RoutingContext.js:109
t.render @ RoutingContext.js:71
_renderValidatedComponentWithoutOwnerOrContext @ ReactCompositeComponent.js:587
_renderValidatedComponent @ ReactCompositeComponent.js:607
ReactCompositeComponent__renderValidatedComponent @ ReactPerf.js:66
_updateRenderedComponent @ ReactCompositeComponent.js:560
_performComponentUpdate @ ReactCompositeComponent.js:544
updateComponent @ ReactCompositeComponent.js:473
ReactCompositeComponent_updateComponent @ ReactPerf.js:66
receiveComponent @ ReactCompositeComponent.js:405
receiveComponent @ ReactReconciler.js:87
_updateRenderedComponent @ ReactCompositeComponent.js:562
_performComponentUpdate @ ReactCompositeComponent.js:544
updateComponent @ ReactCompositeComponent.js:473
ReactCompositeComponent_updateComponent @ ReactPerf.js:66
performUpdateIfNecessary @ ReactCompositeComponent.js:421
performUpdateIfNecessary @ ReactReconciler.js:102
i @ ReactUpdates.js:129
perform @ Transaction.js:136
perform @ Transaction.js:136
perform @ ReactUpdates.js:86
C @ ReactUpdates.js:147
ReactUpdates_flushBatchedUpdates @ ReactPerf.js:66
closeAll @ Transaction.js:202
perform @ Transaction.js:149
batchedUpdates @ ReactDefaultBatchingStrategy.js:62
a @ ReactUpdates.js:94
dispatchEvent @ ReactEventListener.js:204
utils.js:60 Uncaught TypeError: B.default.pairs is not a function
    at a (utils.js:60)
    at t.value (minion_list.jsx:14)
    at Q._renderValidatedComponentWithoutOwnerOrContext (ReactCompositeComponent.js:587)
    at Q._renderValidatedComponent (ReactCompositeComponent.js:607)
    at Q.o [as _renderValidatedComponent] (ReactPerf.js:66)
    at Q.mountComponent (ReactCompositeComponent.js:220)
    at Q.o [as mountComponent] (ReactPerf.js:66)
    at Object.mountComponent (ReactReconciler.js:37)
    at f.mountChildren (ReactMultiChild.js:241)
    at f._createContentMarkup (ReactDOMComponent.js:591)