vagrant and ubuntu

Vagrant was in my TODO for over one year, its good i finally played with it. I will explain what/how i installed it so whoever wants to play with it can easily deploy & use it. I tested in on ubuntu 10.04 (yeah my old box)  but i would/will guarantee it will work on all newer releases. :D

Things/packages needed to run Vagrant

1. Virtualbox

To install virtualbox simply visit virtualbox official site and follow this install instruction just choose the ubuntu version you are running it. For me i used the repo for lucid & it will be different for you. Also a word of advice kindly install older version of Virtualbox as we have a known issue of NS_ERROR_CALL_FAILED in its latest version. I installed 4.1 in my case.

After successful installation of virtualbox this is how it looks.

     $ VBoxManage --version
       4.1.26r84997

2. Vagrant

I installed vagrant by downloading latest binary from the their website Once i had it installed. It was 3 simple step to get Vagrant up & running.

$ vagrant init precise32 http://files.vagrantup.com/precise32.box
$ vagrant up
$ vagrant ssh

What this two command does is it gets you the base image which subsequently used for next time bringing up the instance. As you can see it takes precise(12.04) image.  Once you have the instance up. You can simply log into the machine via SSH.

The Catch 

By default the instance a bought up with NAT networking mode & you are easily able to access it from your system. In most cases we need Bridge network enabled so the machine/VM can acquire the network IP & additional interface. You need to add the same in the config file of vagrant which is in your home directory.

$ cat Vagrantfile

The old document of vagrant tells you the way how to do it but this will not work in our case. In order to get in working one has to add below mentioned lines inside the “Vagrantfile” as am using my wireless network.

config.vm.network :public_network, :public_network => "wlan0"

After changing this configuration once you will run the commands

$ vagrant up
$ vagrant ssh

You will be able to see additional interface at “eth1″ mapped to the bridge network. You can check other simple vagrant commands as well needed to destroy/suspend

$ vagrant --help
Usage: vagrant [-v] [-h] command []

    -v, --version                    Print the version and exit.
    -h, --help                       Print this help.

Available subcommands:
     box
     destroy
     halt
     init
     package
     plugin
     provision
     reload
     resume
     ssh
     ssh-config
     status
     suspend
     up

For help on any individual command run `vagrant COMMAND -h`

What will i do with Vagrant?

Well am going to use it from now on to test all my custom scripts besides i also need to test Kevins OpenStack cookbook which extensively uses vagrant.

Lastly i can say night well spent credit goes to Kev!! :)

Installing it on Ubuntu 12.04

I just got a precise box & deploying Vagrant is very simple, it will bring Virtualbox as well as dependency. :)

$ sudo apt-get install vagrant
$ vagrant up
$ Vagrant ssh

Hope it helps.

Ubuntu MIR & Rolling release.

Almost everyone from community has written in great length & depth about how recent rolling release and MIR announcement has been Canonical`s decision.

I am not writing this blog to prove anyone wrong or taking side with anyone. What Canonical has done for community & spreading word of Linux has been incredible. They are an Enterprise and they have every right to take decision on Ubuntu. But at same time they have to make sure that community who has always been behind them(Am one of them) remains with them.

I would hope things will settle down soon & all the questions will be addressed or has already been by Jono(Community Manager) :)

 

 

Event report: FOSS meetup in Hyderabad!!

Am too late to blog on the same.  Pavi along with Praveen organized nice meetup in Hyderabad. The refreshing part about the meetup was presence of 30+ folks :)

We had folks from Ubuntu/Wikipedia/Mozilla/Puppet/Openstack were present. Detailed blog post about the event can be found at :–

http://telugulinux.blogspot.in/  (In Telegu/use translate software)

http://look-pavi.blogspot.in/2012/06/ubuntu-release-event-foss-team-hangout.html  (English)

Photos: https://plus.google.com/photos/110580559131773472480/albums/5757213753439087057

Also met folks from 4 different companies working on Openstack and was nice meeting them all.

Lastly, Cake was sponsored by Canonical and so was dinner :)

 

Ubuntu Developer Summit and Me

Attending UDS has been one of the biggest thing happened to me in year 2012 i would say so far. :)

Its really great to finally meet people face to face with whom you have been interacting all this while on IRC.

I attended/participated most of the talks on server/cloud/juju during week long conference. I also attended Ubuntu Cloud Summit and was great interacting folks from big cloud based enterprises and to know about there big plans on cloud.

Spent good time with  marcoceppi in the juju room to learn tricks and pieces of juju, i have few more charms in my shoulder. It will be pushed soon to launchpad. :D

I also met Obino and Hspencer from Eucalypus and folks from Cloudstack and Mysql apart from many others. It was great interacting with them all.

I have been telling this all this while Cloud is big and there is room for everyone, the one innovates faster and gets community/support along with gains the most. :)

And last night was total fun, honestly its first time i participated in Karaoke and i did well. :)

I have uploaded photographs i took during the summit at Google+  

Last not the least thanks to Canoanical for sponsoring me to UDS and giving me opportunity to be part of such awesome ecosystem.

 

 

Essex/Precise beginners guide released.

Although am too late to blog about it still its better than not doing it.

We at csscorp been working on the various release of Openstack for over a year. In continuation with our effort we have recently released Precise/Essex (12.04 ubuntu) version of our book.

I am happy to be part of such awesome team and its been great learning experience.

Change notes and book can be found for download here

http://cssoss.wordpress.com/2012/05/07/openstack-beginners-guide-v3-0-for-essex-on-ubuntu-12-04-precise-pangolin/

Apart from that the same content can be found at official openstack documentation repository here http://docs.openstack.org/essex/openstack-compute/starter/content/

I also did a small screen cast for Dashboard walk through which can be found here http://www.youtube.com/watch?v=Uu3TNAlX7vs&feature=plcp

Event Report: Gnunify.in, Pune, India

Gnunify.in is one of the oldest FOSS event in India, this year it was scheduled on 10th and 11th Feb 2012 .

And yes this time i attended it as speaker after failing to qualify last year. :)

I spoke on Juju, Ubuntu Cloud Orchestration framework , presentation slides are available here

Few take away for me personally after attending the event :-

1. Moving out of the distro fanaticism.

2. Getting to know more about Mozilla and Wikipedia folks.

3. Socializing with Fedora folks.

4. Finally meeting Arky after 9 yrs. :D

FOSS events are good way to meet old folks, chat/socialize and exchange ideas.

I met many old timers like mbuf, ramky, runa, karunakar, nager, shariq and greenmang0 , others apart from spending most of my time with Deependra the Eucalyptus magician.

Lastly big thanks to the volunteers and organizers, sponsors(Eucalyptus) for making this event a grand success.

Lastly thanks again to Deeprendra for getting me this shiny beer opener, i  badly needed this. :D

 

2 minutes guide to getting started with Launchpad/Bazaar via Lucid Ubuntu 10.04

I just added some contents from allready existing 5 minutes guide to make it 2 mins and work on Lucid. :)

Before i start you need to have 2 things allready done,
1. $ apt-get install bzr
2. A launchpad account.
3. Your public key submitted at launchpad.
It means create a key is you don`t have allready
$ ssh-keygen -t rsa

you will see in /home//.ssh/rsa.pub created paste its content there.

4. bzr lp-login john.doe  <replace it with your username>

Adding your own info

$ bzr whoami "John Doe <john.doe@gmail.com>"

You can check what identity is stored in Bazaar’s configuration:

$ bzr whoami
john.doe

Starting New project

bzr init-repo myproject
cd myproject
bzr init trunk
cd trunk

Adding Files

bzr add hello.txt

and then commit, which saves a snapshot of all versioned files:

bzr commit -m “Added first line of text”

Pushing your branch on Launchpad

Replace john doe with your username.

bzr push bzr+ssh://bazaar.launchpad.net/~john.doe/+junk/myproject
your done.
Pushing the changes in existing branch.
bzr push


Original post :- http://doc.bazaar.canonical.com/latest/en/mini-tutorial/
thanks @jelmet on #juju helping me.


					

Oneiric release party across India

So what i did is, asked for of my friends in Mumbai, Hydrabad and Delhi share there event related photos of Oneiric release party.

That is what i will be doing mentioning about them. :)

INMANTEC

 

 

Gaurav is assistant dean IT and a Open Source freak who is trying his best to turn his college into a FOSS friendly institute.   I was  there at a workshop and felt great. They have nice FOSS lab in place as well with students working on Ubuntu and web technology stuff. Recently they have applied for Loco team hope it will be approved soon. :)

 

 JMI-Lug

Jmi stands for Jamia milia islamia a university in Delhi. I met Sheel and the team in feb this year during workshop in there college. These guys are doing really great and am sure of getting upstream contribution from these folks.

VIT, Mumbai

Mehul my Fossy & Biker friend told me about them and i was introduced to Rigved and am happy to know about the event they had.Looking forward to meet the folks during my Mumbai trip sometime soon.

Oneiric Release Party was held in Mumbai on 19th October 2011 at Vidyalankar Institute of Technology (VIT).

The event was attended by students of VIT, an ex-student Rigved Rakshit and the Ubuntu Indian Loco contact Nitish Mistry. The event started around 1730 IST.

Rigved showed a demo of using a Ubuntu LiveCD. Then, he went on to show how to install Ubuntu in various (only-OS-on-the-system/dual-boot) configurations. Ubuntu 11.10 LiveCDs were handed out. Also, Rigved gave out two official Ubuntu 10.10 CDs and ISO images of Ubuntu 10.04 Desktop, Ubuntu 10.04 Server and K/L/Ubuntu 11.10 Desktop.

You can find complete event details here

 

 

Telegu Loco, Hydrabad

Pavi mailed in the mailing list of mukt.in announcing the event. It was very short notice and i missed it. I would have to to visit hydrabad and meet my old friends.

 

I will populate this place if i get details of other Oneiric release party around. :P

 

 

 

 

 

My first Ubuntu Cloud Days ..

Its been long time i blogged, this blog is about the amazing IRC session we had during 25-26 july.
Another thing i would like to tell is i participated as presenter as well as a student. Interesting session were taken by Ubuntu Cloud developers and from members of OpenStack Team. I took session on cloud-init, a Ubuntu cloud technology that enables a cloud instance to bootstrap itself and customize. It was one of the first experience for me thanks to for kicking me into this. I would say i need a lot of improvement before i present in next cloud days.

I loved all the sessions to start with kim0`sI have few bugs assigned under my belt which needs to be fixed.

I cannot say as which talk i liked most as all of them were equally awesome but i enjoyedthe most. I mean OpenStack project is so active, if you are out of it for a week or two get ready to be surprised. The whole OpenStack Dashboard is changed for example :)

I am looking forward to contribute to ensemble as i been following it for some time.

Other topics were Orchestra, UEC, eucalyptus.

Logs for complete session are available at http://cloud.ubuntu.com/2011/07/cloud-days-complete-logs-available/

Thanks again kim0 :D

Openstack Book released!!

Well its over month we at Csscorp , my current workplace released a complete beginners guide on the deployment of Openstack for Ubuntu natty.

All the information for the same can be found at http://www.cssoss.wordpress.com

Am lucky to be part of the team where i got my first hand into cloud computing and i can see Openstack a very promising entity, after all its backed by Rackspace and NASA beside over 100 other corporate houses.