
For whatever reason, the source-repositories caching element is running in the very early extra-data phase of disk-image-builder. cache-devstack is instructing source-repositories to put the cached urls into /home/jenkins/cache/files (55-cache-devstack-repos makes up the list of images to download from devstack; the other two are just pre-configured URLS). This causes a problem when trying to add the jenkins user later in jenkins-slave/install.d/20-jenkins-slave. Since source repositories has already created /home/jenkins, useradd won't do it again and does not copy in any of the skeleton files. This moves the extra-data phase caching into /opt/cache, which is probably a more logical place for it anyway. To maintain the status quo, after we create the jenkins user, symlink ~jenkins/cache/files to this new location. This was probably going wrong with puppet too. I'm guessing it just ignored the existing homedir when creating the user. I have tested this by building trusty and stopping the build before and after the useradd calls in 20-jenkins-slave. "/home" was empty, the useradd creates the user, group & directory, the symlink is made correctly and /opt/cache/files appears populated as usual. Change-Id: Ibca6867f29b257a5110cb5522a5cca3a97fa9377
OpenStack Infra Config Files
This repo contains a set of config files that are consumed by the openstack-infra/system-config puppet modules in order to deploy and configure the OpenStack Infrastructure. You should edit these files to make configuration changes to the OpenStack Infrastructure.
accessbot
This dir contains the IRC access bot channel config. This config file is used to specify which channels are managed by the infra team and the permissions assigned to nicks in those channels.
gerrit
This dir contains the main project registry in projects.yaml along with all of the gerrit project ACLs in the acls subdir. You will need to edit these files to add new projects to Gerrit.
See the Creator's Guide in the Infra Manual for info on adding projects.
gerritbot
This dir contains the gerritbot channel config file. Edit this file to add the gerritbot to your IRC channels for gerrit event messages.
grafana
This dir contains dashboards to display at http://grafana.openstack.org/. Add new files to create additional dashboards or edit the existing ones to enhance the dashboards.
jenkins
This dir contains the Jenkins job definitions as supplied to Jenkins Job Builder as well as the scripts used in many of the jobs. Edit these files if you need to add/delete/modify Jenkins Jobs.
Jenkins Job Builder Documentation
nodepool
This dir contains the nodepool scripts and nodepool disk image builder elements that are used to build the images we boot slave nodes off of. Edit these files if you need to modify the base images that Jenkins jobs run on.
specs
This dir contains the index.html file for the http://specs.openstack.org site. Edit this file if you are adding and removing projects from that site.
Static Web Hosting Documentation
zuul
This dir contains the zuul layout.yaml file and its python functions file(s). These files determine what jobs are run on Gerrit events for each project. Edit these files if you need to change the jobs that your project runs or attributes of those jobs (voting, slave node type, etc).
dev
This dir contains config files for the development deployments of the above services.