ucberkeley / bce

Berkeley Common Environment provides a common Linux computational environment for classwork and research.
Apache License 2.0
13 stars 6 forks source link

some issues in the build scripts to address for fall-2015 #66

Closed paciorek closed 8 years ago

paciorek commented 8 years ago

These issues came up in creating summer-2015 EC2 image:

here are multiple issues in the packer log (attached) from the summer-2015 EC2 image build that we're going to need to address for fall-2015.

1) 30-bash relies on /home/oski but in EC2 oski user is only created in 50-oski

2) 70-r should probably be modified to always use https (@paciorek has some code for how to do this) because otherwise the 82-ipython-r-kernel fails. Basically we need to set download.file.method='wget' in the R options in /etc/R/Rprofile.site.

3) The issue with the Python pkgs is that they are installed in /home/oski/miniconda, but that's not accessible to other users, e.g. the default 'ubuntu' user. I think it would be cleaner, if possible, to have them installed somewhere accessible to any users. @paciorek's post-install scripts for parallelization are based on being run via sudo, so they are not compatible with having stuff installed in a user directory. So we should figure out a path forward so that the build and the post-install scripts are compatible.

4) there is a failure in 55-desktop-help in the last stanza -- seems to be a few 404s related to files that wget -mk thinks are there but then can't be downloaded.

We may also want to see if we can do anything with Packer so that oski is treated as the default user and so the EC2 puts the user's public key in the oski account rather (or in addition) to the 'ubuntu' user. I didn't see a way to do this, but perhaps it's possible.

paciorek commented 8 years ago

I think these are essentially all now resolved. There is no longer an oski user on BCE on EC2 - everything is set up for the ubuntu user.