Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mkcloud runs from Jenkins should include job details in Jenkins #708

Open
aspiers opened this issue Dec 9, 2015 · 3 comments
Open

mkcloud runs from Jenkins should include job details in Jenkins #708

aspiers opened this issue Dec 9, 2015 · 3 comments

Comments

@aspiers
Copy link
Contributor

aspiers commented Dec 9, 2015

We should make mkcloud write a /var/log/mkcloud.txt containing details of the mkcloud run (including Jenkins job number), and make the supportconfig plugin capture this. So then if you have a mystery supportconfig, you can tell where it came from and how mkcloud was configured.

@bmwiedemann
Copy link
Member

mkcloud already creates and copies a (bash-readable) mkcloud.config file with all relevant settings to the admin node. I guess we could expand on that one.

@aspiers
Copy link
Contributor Author

aspiers commented Dec 9, 2015

@bmwiedemann Yes:

  • capture the Jenkins job
  • distribute to all hosts not just admin
  • make supportconfig plugin capture it

@aspiers
Copy link
Contributor Author

aspiers commented Aug 30, 2016

SUSE-Cloud/automation#760 (mkcloud, qa_crowbarsetup: show info about jenkins job in /etc/motd) captured the Jenkins job info in /root/mkcloud.config, and SUSE-Cloud/supportutils-plugin-suse-openstack-cloud#55 (collect mkcloud files) ensured that it appears in supportconfigs of the admin node. So it only remains to copy the same file to the other nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants