Description of problem:
on app creation, I get a code 500 always even though the app is created.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. use rhc or web to try and create a type of any kind.
times out and returns 'execution expired'
Is this a problem that you are seeing with the Origin v4 VM, or did you install origin v4 another way?
this is from the pre-packaged image running on VirtualBox. The ip is 10.14.16.216. You can log into it using the libra.pem as root.
I've dug into this further. This is the result of a problem with VirtualBox networking. It only seems to manifest when the host machine is on the same subnet that VirtualBox is using for NAT. Unfortunately, Red Hat uses this subnet, which explains why I did not encounter the issue when I finished the VM while working remotely.
Here is an explanation of the workaround for people who encounter this problem. Please test it out. If it works for you I will update the VM guide with a section on this.
To work around this:
1. If the OpenShift Origin v4 VM is running, shut it down.
2. In the main VirtualBox app, go to File => Preferences (or VirtualBox => Preferences on OS X). The Preferences window will appear.
3. In the Preferences window, click on the Network tab, and once on the Network tab, choose the Host-only Networks subtab.
4. If no host-only networks are listed, create one by pressing the "+" icon. A new host-only network will appear with a name like "vboxnet0".
5. Now press OK to close the Preferences window. Then, in the VirtualBox Manager main window, select the OpenShift Origin v4 VM and press the Settings button. The VM settings will appear.
6. Click on the Network tab. The Adapter 1 tab should be selected. From the Attached to: pulldown, select Host-only Adapter. Below that pulldown, the Name pulldown should automatically populate with the name of the Host-only adapter that you created.
7. Now change to the Adapter 2 tab, and if the Enable Network Adapter checkbox is checked for Adapter 2, uncheck it. Finally, press OK to close the machine Settings window.
Now you should be able to launch the VM and work with it as described in the VM guide.
NOTE: An unfortunate limitation of this workaround is that you will not be able to launch community quickstarts. These depend on access to remote servers (primarily GitHub) that are not accessible to a VirtualBox VM that is using a Host-only adapter.
Thanks for the detailed workaround. FYI, my VM was using VirtualBox in the BridgeMode.
So if I were to use KVM, then this problem goes away?
Hopefully, yes. I have confirmed that the VM behaves normally as documented under the following conditions:
1. VirtualBox running somewhere other than our corporate network
2. VMWare anywhere
So please let me know how KVM works out. Also note that I am updating the VM shortly due to a mis configuration in the mDNS plugin.
Commit pushed to master at https://github.com/openshift/origin-server
Bug 1121883: Added documentation to work around a known VirtualBox issue
Closed per above; the docs should show up at openshift.github.io this evening.