I want to understand what magic can OpenContrail do as Software Defined Networking and I am new to this OpenContrail Concept and VMs, etc. To understand this, I just want to install OpenContrail on my Ubuntu VM. I tried to follow this Official quick Start Guide. But. It looks It installs OpenStack Components also when I invoke fabric Scripts.
Is it mandatory to use OpenStack to understand the magic of OpenContrail.? If Yes, Why is it so.?
Thanks,
Ganesh
You can try to use a simpler set of instructions and use docker containers:
http://www.opencontrail.org/docker-with-opencontrail/
There is also work going on in order to be able to provision opencontrail with kubernetes as a cluster management system. Reach out in the #opencontrail channel on freenode.net if you want to try one of these options.
Related
I have installed devstack in my server as per this steps and I was looking for some updated instructions to install kubernates cluster in it. Even though my question is on kubernetes I would like to clarify few points.
Is Openstack opensource ? or the opensource version is called devstack. Because I was trying to install a production ready environment but everywhere I see examples to install devstack or the one is few years old.
How to Install Openstack not Devstack
And finally can someone please help me with instruction to install kubernetes on devstack as thats the one I could install now and I guess the instructions would be almost similar.
I know there are posts but almost all of them are few years old so a help would be greatly appreciated.
Hoping that it is allowed to reference my own work: I wrote a short series of articles about Kubernetes on Devstack, both Kubernetes from scratch and using OpenStack Magnum.
The document that you used to install OpenStack describes not Devstack, but Microstack.
OpenStack is 100% open-source, yes. See https://www.openstack.org/.
Devstack is one of the many ways to deploy an OpenStack cloud. Its original purpose is to set up a test environment for OpenStack developers, and not so much to be user-friendly, but it is often used for training or proof-of-concept.
There are many other deployment methods: Microstack (easy but not very flexible), Packstack (requires RHEL or Centos), Tripleo (also requires RHEL or Centos and a bit more powerful hardware), Kolla-Ansible, and the best method for learners in my opinion: Manual setup. This list is far from complete.
All:
I want to install OpenStack Mitaka + OVS Bridge + DVR for CentOS-7 and i don't want to use any automatic tools but RDO. However i can't find any installation guides for my purpose, which confuse me very much!
Can anyone give me some help here? Thanks advance!
I know you don't want to use automated tools, but, I have automated installers constructed in basic shell language (sh), which includes both Centos 7 using RDO repos, and Ubuntuses using ubuntu-cloud-archive.
The reason I'm using simple shell instead of puppet or ansible, is due the fact I also use them for teach people how to "manually install" OpenStack. You can see my installers on my site at github, and specifically the one you need for Mitaka (I'll publish the Newton-based in about two weeks):
https://github.com/tigerlinux/openstack-mitaka-installer-centos7
Note that due the fact my installer is completely modular, and each module takes care of a single component, it can be easier to you to self-teach yourself how to manually install OpenStack.
Also, I have some I.T. recipes in the following link, with a section with tips-and-tricks for OpenStack:
http://tigerlinux.github.io/
It's not much, but I hope it helps you !.
I want to use gitLab-CI for a Qt-project, but i can't figure out, what I need to do so. I understand, that the whole pipeline process takes place on the CI-Server, but how do I setup the needed requirements like the qt-environment?
Solution:
Ok now I got it! You just use the Runner for it, if you do not have a Server, you can use a VM.
For GitLab.com
The runners are already set up (shared runners).
You need to use a Qt SDK Docker image or install it yourself:
Use image: <image-name> for .gitlab-ci.yml
Use apt or some other package manager (not recommended)
Once you got a Qt SDK environment set up inside .gitlab-ci.yml, make sure to add a command to build/compile/run/test it.
For non-GitLab.com
The runners may or may not be set up, but you do not need to do any specific changes (other than using faster machines with bigger memory, etc for building in necessary).
You need to use a Qt SDK Docker image or install it yourself:
Use image: <image-name> for .gitlab-ci.yml
Use apt or some other package manager (not recommended)
Once you got a Qt SDK environment set up inside .gitlab-ci.yml, make sure to add a command to build/compile/run/test it.
Other Helpful Comments
This is from Josh Peak's comment:
Ok that answers my question. I'm going to have to preconfigure a VM image and/or a Docker image with the QT SDK that the rest of my dev team can leverage. Thanks for the quick response.
This answer is from ManuelP.'s question:
Ok now I got it! You just use the Runner for it, if you do not have a Server, you can use a VM.
Is there any way to install OpenStack without using virtual box in a single machine?
You can install all openstack services(controller, compute, network) in a single node. But it's not recommended.
If you don't want to install virtualbox you can try VMware
You may also try LXC or XEN if you are using linux. Then create 3 virtual machines and install openstack 3 node configuration.
Yes, of course. Just make sure you have enough resources on the system (single machine) to bare OpenStack. You may use packstack do the All-in-One
deployment. Check out RDO.
There is a possibility of installing openstack(both 2 and 3 node architectures) in a single system. But, things are to be considered. Like the performance of the system used, the primary memory associated with it, the secondary memory that is available, e.t.c
If you're talking about development environment, sure! You don't need a VM at all, and can just install it on your laptop directly! Note that this is not a desirable configuration :)
Other ways are to use a different virtualization tool than VirtualBox, like KVM, or VMware stuff.
Virtual machine is nothing but a system with shared resources. Whatever we do on a VM can be replicated to an individual system.
Make sure you have VT enabled on the hardware , else you may have issues in creating instance on the Compute node.
Regards,
Amit Manel
Whatever you can install in single virtual machine , can also be installed on your machine directly.
After all your machine is much more powerful and stable than your virtual machine.
We use virtual machine just to leave our system intact in case something goes wrong. Just compare the time it would take you to delete and create another virtual machine with time and effort for formatting your entire laptop.
Also, we sometimes use virtual machine if we need to make a network of 2-3 computers for some functionality and we have got only one hardware.
I created with kvm virtual machünes on Ubuntu 14.04
If you create the virtual machines and the virtual networks you can use it.
For the easiest way if you use an orchestration/deployment tool e.g. Mirantis Fuel
Surprising no body talked about Dockers. You can run openstack in a docker container.
According to my experience, always try to install openstack on a fresh system( either on a freshly created VM or on a newly installed OS). I have installed openstack many times, and trust me no error will come just follow this link on a newly setup machine. For old system, I was stuck for 3 days, and only GOD knows where from the hell those errors were showing up.
PS: I have always tried ubuntu system.
Does devstack completely install openstack? I read somewhere that devStack is not and has never been intended to be a general OpenStack installer. So what does devstack actually install? Is there any other scripted method available to completely install openstack(grizzly release) or I need to follow the manual installation steps given on openstack website?
devstack does completely install from git openstack.
for lesser values of completely anyways. devstack is the version of openstack used in jenkins gate testing by developers committing code to the openstack project.
devstack as the name suggests is specifically for developing for openstack. as such it's existence is ephemeral. in short, after running stack.sh the resulting ( probably ) functioning openstack is setup... but upon reboot it will not come back up. there are no upstart or systemd or init.d scripts for restarting services. there is no high availability, no backups, no configuration management. And following the latest git releases in the development branch of openstack can be a great way to discover just how unstable openstack is before a feature freeze.
there are several vagrant recipes in the world for deploying openstack, and openstack-puppet is a puppet recipe for deploying openstack. chef also maintains an openstack recipe as well.
Grizzly is a bit old now. Havana is the current stable release.
https://github.com/stackforge/puppet-openstack
http://docs.opscode.com/openstack.html
http://cloudarchitectmusings.com/2013/12/01/deploy-openstack-havana-on-your-laptop-using-vagrant-and-chef/
and ubuntu even maintains a system called maas and juju for deploying openstack super quickly on their OS.
https://help.ubuntu.com/community/UbuntuCloudInfrastructure
http://www.youtube.com/watch?v=mspwQfoYQks
so lots of ways to install openstack.
however most folks pushing a production cloud use some form of configuration management system. that way they can deploy compute nodes automatically. and recover systems quickly.
also check out openstack on openstack.
https://wiki.openstack.org/wiki/TripleO
I think the code should be same, but at least the configuration is not same, for example, devstack will by default use nova network. In a manual installation, you can choose neutron. so:
if you are starting to learn openstack, devstack is a good starting point. with it, you can quickly have a development env.
if you are deploying openstack env, devstack is not a choice, and
instead you need install it following the installation guide.
If you would like another scripted option for deployment, you can try Packstack. This will work only on Fedora and RHEL.
https://wiki.openstack.org/wiki/Packstack
https://www.rdoproject.org/install/quickstart/
In this, you can choose which services you would like to install. For example you may choose to install Neutron for networking purposes, instead of using nova.
Also, it lets you deploy multiple instances of compute nodes by just providing it's IP !!
Yes. Devstack is a tool which help you build all in one for Openstack environment in quickly (Just take a coffee cup and wait until complete). Normally they were using for developer to develop new features and/ or test code quickest. For operator, we need to setup by manual step by step for each services.
To build via devstack repo then you need pull newest source-code from http://git.openstack.org/openstack-dev/devstack. then create new local.conf in devstack folder. And run ./stack.sh.
For example local.conf: https://github.com/pshchelo/stackdev/blob/master/conf/local.conf.sample
Yes, Devstack install all the components of Openstack. But when you use basic configuration then it will install core components of openstack which are the base of openstack cloud platform to run some basic things.
And in Advance configuration of openstack you should configure your local.conf file for what type of services and components you want to install or use in your cloud.
https://github.com/openstack/tacker/blob/master/devstack/local.conf.example