VIDA-NYU / reprozip-examples

Examples and demos for ReproZip
https://examples.reprozip.org/
16 stars 6 forks source link

Vagrantfile for setting up a machine with pre-configured examples #6

Closed fchirigati closed 8 years ago

fchirigati commented 8 years ago

This provides updates to the Vagrantfile and to the installation script. It also updates the README files with instructions on how to run the examples in the machine.

All the examples were tested and work. Packing with ReproZip has not been tested yet, but ReproZip is installed in the machine.

fchirigati commented 8 years ago

@remram44 Could you try the machine? Also, feel free to make any modifications.

remram44 commented 8 years ago

Rewrote the Vagrant stuff, PostgreSQL is annoying. In particular in the Ubuntu box, systemd needs to be replaced by something else (upstart) which requires a reboot (troubleshooting#systemd).

fchirigati commented 8 years ago

Any reasons for removing ReproZip from the machine? Isn't the main idea to try out the different examples with ReproZip? Also, how come PostgreSQL 9.1 was working fine before (on my previous version and on the sdp_curricula repository)? Is this a matter of version (difference between 9.1 and 9.5)? Or perhaps they were doing something different in the original repository?

remram44 commented 8 years ago

After hours of investigation, I finally found the component that does the resizing: VBoxClient, started through /etc/xdg/autostart. I'm going to rebuild Vagrant machines for the demo and for vagrant with gui (reprozip#191).

Another issue we have with the example VM is that it is too recent and therefore has PostgreSQL 9.5 while only 9.1 imports the stacked-up dump without warning (but it seems it runs fine anyway afterwards).