UCLALibrary / packer-samvera

A build of Samvera/Hyrax using Packer and the 'ansible-samvera' roles
BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Make base box name specific to project being built #15

Closed ksclarke closed 6 years ago

ksclarke commented 6 years ago

[Edited to add context: Originally had thought a new commit had caused surfaced an issue with the Packer build. I referenced the commit and issue in the Packer build]

https://github.com/UCLALibrary/californica/commit/bbf1afb2e7103a6e795e87dbeec7a43bf4516517

The first among the errors: mkdir: cannot create directory ‘/opt/californica’: Permission denied

ksclarke commented 6 years ago

Or, I might be wrong about this and the packer-samvera build was using the wrong base image. Investigating.

ksclarke commented 6 years ago

Yes, changing ticket to solve the problem by changing the name of the base box that's used as a source for the hyrax specific part of the build.

ksclarke commented 6 years ago

Sigh. Turned out this was actually a configuration issue. I'm building on two machines and the one I'm setting up to be the nightly build must either not have received the latest configuration or I reverted it somehow. I think the associating of base build with hyrax build is an improvement, even if it's not the fix for this specific problem.