Gatekeeper

[Debug] Vagrant vm setup – 2

Problem

The memory allocation failed during the vagrant up --provision

 

 

Approach

1. As we are using the cloud image from vagrant, the kernel contains the minimal dependencies, therefore, some modules required are missing. 

I will append the linux-generic to the provision.sh to ensure the modules uio and uio_pci_generic are corrected configured.

Result: The following two lines are removed from the error log this time

 

2. In order to deal with the virtual memory allocation, I would like to simply increase the memory assigned without setup for swap space

I will be increasing the memory allocated for the vagrant from vb.memory = 2048 to vb.memory = 4096

Result: The following two lines are removed from the error log this time

 

Conclusion

It is due to the missing modules in the cloud image and the insufficient memory allocated for the vagrant.