Last modified: 2014-04-24 23:18:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66348, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64348 - Manual saltutil.sync_all needed to bootstrap deployment server
Manual saltutil.sync_all needed to bootstrap deployment server
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-24 02:43 UTC by Bryan Davis
Modified: 2014-04-24 23:18 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bryan Davis 2014-04-24 02:43:17 UTC
I setup a labs instance (logstash-deploy) to act as a combination puppet master, salt master and trebuchet deployment server for the logstash project. After several puppet runs to get everything to settle out (which was expected), there was a persistent failure from Deployment::Deployment_server/Exec[eventual_consistency_deploy
ment_server_init]. The failure was caused by `salt-call deploy.deployment_server_init` failing to execute. When run manually, salt reported "Function deploy.deployment_server_init is not available".

Ryan clued me into running `salt '*' saltutil.sync_all` manually to push the correct salt config from the salt master to itself. This resolved the problem and puppet completed successfully on the next run.

Comparing the deployment::deployment_server class to the deployment::target class makes me think that there is some missing bootstrapping for a node that only has the deployment::deployment_server class applied to it. I think we had this same problem when setting up deployment-bastion too but it was masked by other problems that we worked through there.
Comment 1 Gerrit Notification Bot 2014-04-24 03:00:45 UTC
Change 129368 had a related patch set uploaded by BryanDavis:
Exec saltutil.sync_all when adding deployment_server grain

https://gerrit.wikimedia.org/r/129368
Comment 2 Gerrit Notification Bot 2014-04-24 23:08:16 UTC
Change 129368 merged by Ori.livneh:
Exec saltutil.sync_all when adding deployment_server grain

https://gerrit.wikimedia.org/r/129368

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links