Trying to install a single node Contrail 3.0 setup.
- Ubuntu 14.04.4: ubuntu-14.04.4-server-amd64.iso
- Contrail 3.0.0 Ubuntu (OpenStack Kilo): contrail-install-packages_18.104.22.168-2725-ubuntu-14-04kilo_all.deb
Procedure is pretty straightforward:
1. Copy package to host:
cp ~/Downloads/contrail-install-packages_22.214.171.124-2725-ubuntu-14-04kilo_all.deb firstname.lastname@example.org:/root
2. Unpack and setup
dpkg -i /root/contrail-install-packages_126.96.36.199-2725-ubuntu-14-04kilo_all.debcd /opt/contrail/contrail_packages/ ; ./setup.sh
3. Edit testbed.py
cp testbed_singlebox_example.py testbed.py
4. Install Contrail
Eventually, this fails:
2016-04-13 07:45:29:058197: [email@example.com] out: The following packages have unmet dependencies:2016-04-13 07:45:29:058288: [firstname.lastname@example.org] out: contrail-openstack : Depends: keystone but it is not going to be installed2016-04-13 07:45:29:058408: [email@example.com] out: Depends: nova-novncproxy but it is not going to be installed2016-04-13 07:45:29:058505: [firstname.lastname@example.org] out: E: Unable to correct problems, you have held broken packages.
I've done a bunch of messing around with trying to manually install packages with no luck. In the Contrail 2.20 days I was able to eventually figure out what magic combination of packages installed before Contrail installation is attempted, and also during Contrail installation would produce a working system where the fab install_contrail command would actually succeed. I've not been so lucky in the Contrail 3.0 attempt so far. Has anyone seen this and been able to fix it?
Also, why does Juniper keep distributing broken Contrail packages? I really shouldn't need to do all this.
When I was doing that the magic combination was to just install a bare minimal Ubuntu, with OpenSSH as an only optional package. That was not Contrail 3.0 however.
Yup, same here. Absolute base Ubuntu install with OpenSSH being the only thing selected. I did a lot of manual package installations before and eventually got it working. Not having any luck doing that with Contrail 3.0 yet.
So apparently the solution is "use the recommended version of Ubuntu".
I was using Ubuntu 14.04.4, but recommended is 14.04.2. When I switched to .2, Contrail 3.0 installed without having to use ANY manual dependency adds. That's actually the first time since I started using Contrail (1.05) where I've had no issues. I'm shocked.
Thanks all for the help.
Good to know you've solved it. Actually when I read you are using 14.04.4 I just thought that one is now recommended.