How do I install a self-contained devstack onto a laptop that won't require external network connection?

asked 2017-12-16 19:15:33 -0500

talltrees gravatar image

I've installed Openstack/Devstack onto Ubuntu 16.04, VirtualBox on a Windows 10 laptop, and it runs fine with a Bridged Mode network setting in VirtualBox. But there are no connections when I unplug the cable from the back of the laptop.

I have to be able to use this laptop at work, where I can't connect to the corporate network. I am fine when I work at home, but that is not all the time.

I've tried defining a second network port in Ubuntu as Host-Only, and I can see that at the Command Prompt in Windows, it's sitting there big as day, "Virtual Box Host Only Network". Yet when Ubuntu boots up, it refuses to grab that IP. It did get the Bridged IP, when that was available. When I disabled that, and rebooted, Ubuntu does not even boot up now, but rather is cycling through resetting an adapter. Basically, it does not boot.

The devstack documentation makes reference to re-running "./stack.sh" with the OFFLINE flag set, but that didn't work in an earlier attempt. It bailed out just a few minutes into it, saying it couldn't find something it thought it needed. This is after a 100% run of ./stack.sh the first time through, with internet connection. I then ran unstack.sh, turned off the Bridged port, disconnected the ethernet cable, turned on the flag for OFFLINE, and it hasn't worked since.

What is the procedure that I'm missing here?

edit retag flag offensive close merge delete