Fedora Activity Day(FAD) 2014, Pune

Last Saturday i.e. on 23rd August, 2014, i had participated in FAD

                    >>> https://fedoraproject.org/wiki/FAD_Pune_Aug_2014

at Red Hat, Pune (India) office. The day started with testing of Fedora 21 workstation alpha iso image (it contains GNOME as a default desktop). I had installed F21 alpha image in my vm. During installation, while adding a user step, my screen started flickering. Here is the attached video of screen flickering in a known bug in anaconda (Thanks to siddhesh for pointing out that bug.). I have learnt to use recordmydesktop app from Amit Shah.

Later on i also got another bug, in Date and Time screen, when we on or off the Network Time button, the Date and Time Button or applets were disabled always. Here is the bug link for Date and time buttons are disabled while doing on and off the network time.

After the lunch, i have learned about creating virtual machine snapshot using virsh snapshot. Here is the list of commands to create VM snapshot . Creating a snapshot of virtual machine saves our development work and if anythings went wrong while testing and deployment, we can revert back to previous snapshot. virt-builder is a great tool for creating virtual machines.

pjp taught us how to configure and test the local DNSSEC resolver configuration on fedora 21 and also learned how to review packags and give karma to that and earn badges using Bodhi web interface or by fedora_easy_karma tool. I have reviewed the package and gave karma to the package python-gevent through a FAS2 login.

Finally, it ended and i learned lots of things. Hope to see another FAD soon :).

Advertisements

The day when I hunted down 14 bugs myself on #openstack-Doc Bug’s Day.

The Documentation of any project is the best place to learn about their components especially its working and hacking on it.On 20th Dec, 2013 The OpenStack Documentation team had organized the OpenStack-Doc Bug’s Day. The OpenStack Documenatation consists of OpenStack Manuals and API-site Bugs (more than 450 in number). The day started as usual just like any other day. But the motive was different today. We had to achieve a Goal. The goal was to hunt down 100 bugs at least. I had a target for myself to solve 10 bugs in 24 hours. My first bug hunting started at 11:00 A:M (IST). Solving a bug is not so easy, it requires information gathering and searching for appropriate contents to fix the bug and finally test and verify on the system while submitting. The bug squashing already had started by Anne Gentle, Tom Fifield, Lana, Matt and Nermina. As the day passed, with every successful hunting process the bug numbers went on decreasing. Due to this tough bug hunting, I have learnt a lot of things related to Installation and Configuration of OVS Plug in, neutron, Keystone and Nova. I have also learnt how to write documentation from reviews and updates in the particular components and plug ins configuration like KVS. I have also learnt how to display questions and answers in doc book from Anne. After lunch, Andreas started reviewing the patch. By the evening I have had solved 7 bugs and was still in search to solve more. After that I started reviewing the reviews submitted by others. I also got the help of Tim Bell, Scott Radvan, Deepti Navale, Brucer, Diane Fleming during bug solving. Just before the first light of Dec 21, I was able to solve 14 bugs out of which 9 of them are now merged and 5 are still in progress. During that day, I also made a small contribution to keystone, Thanks to Tom Fifield and Morgan Fainberg for this. And Finally, the toll was 100 squashed Bugs. The day was totally awesome for me and we achieved the Goal. Congratulations to all of them for making this happen. It was a great day for me while hunting bugs in a virtual battle through learning and getting lots of strategic approaches from great OpenStack Doc leaders (Tom, Anne and Andreas). After this day, now I have 50 commits for Icehouse release in OpenStack under my name.
My OpenStack Review-board and Stackalytics report is here. Bug’s Day status is here.

Thanks for reading.

RDO-havana on Fedora 19.

This week, i was trying to solve a bug in openstack-manuals related to heat component of Openstack. It propels me to try heat on RDO. RDO is an OpenStack distribution for deployment on RHEL and related linux distro. For that, I have created a VM of Fedora 19 with 2GB RAM, 2 CPUs and 50GB hard disk space. Below are the following steps that i have documented during my successful installation of RDO-Havana on Fedora 19.

  • Set the Hostname to openstack : – $ sudo hostname openstack
  • Install the latest RDO Havana Repo: – $ sudo yum install -y http://rdo.fedorapeople.org/openstack-havana/rdo-release-havana.rpm
  • Do a system Update on Fedora 19: – $ sudo yum -y update
  • Install the packstack installer: – $ sudo yum install -y openstack-packstack
  • For a single node OpenStack deployment of RDO using packstack: – $ packstack –allinone 

It will install all the components of Openstack in 15 Minutes and generates an answer file packstack –answer-file packstack-answers-20131114-143042.txt (it is different for others.) in that current directory. During installation i have got two errors, which is finally resolved.

  • ERROR : Error appeared during Puppet run: 10.65.193.182_nova.pp
    Error: /usr/sbin/tuned-adm profile virtual-host returned 2 instead of one of [0]  

The Following error is solved by running the following command and again running the answer file.

  1. $ sudo systemctl restart tuned
  2. Re-run the answer file: – $ packstack –answer-file packstack-answers-20131114-143042.txt
  • ERROR : Error appeared during Puppet run: 10.65.193.182_neutron.pp
    Error: Could not start Service[openvswitch]: Execution of ‘/sbin/service openvswitch start’ returned 1:  

The reason behind this error is: Openvswitch service is dead. To fix it, run the following command and re-run the answer file.

  1. $ sudo mkdir /var/lock/subsys
  2. Re-run the answer file: – $ packstack –answer-file packstack-answers-20131114-143042.txt

And finally, openstack is installed successfully after fixing these errors. After that i checked the status of different openstack component using the command. $ openstack-status and found that openstack-dashboard is showing 500 and my dashbaord in the browser is showing “Something went wrong!. An unexpected error has occured.”. To fix this problem, i have runned the following commands:

  • Edit /etc/openstack-dashboard/local_settings and add one of the following in the end: – ALLOWED_HOSTS = [‘*’]
  • # systemctl disable firewalld
  • # systemctl enable iptables
  • # systemctl restart iptables
  • # service httpd restart

Finally i am logged in to the openstack-dashboard by using username and password. Here the OpenStack fun begins. Thanks to Praveenkumar, KushalDas, Mrunge, Sankarshan, xqueralt, red_trela and SteveBaker for helping me in successful installation.

 

 

Localization Hackathon @wfs-india 20th May, 2013

WFS-india is a volunteered organization created by some intelligent and innovative minds like: Satabdi Das (A OPW- Gnome intern and FOSS enthusiast) few months ago. The main motto of this organization is to create awareness among women towards free and open source software in India  For this , they have started conducting meetings on #wfs-india channel on freenode server in order to plan an event for increasing participation of women in free and open source software movement. In a short span of time, finally they decided to organize an event named “Localization Hackathon” on the eve of cultural freedom day on 20th may, 2013 from 08:00 p:m to 09:30 p:m at wfs-india channel on freenode server.

The whole event is supported by Mozilla, Fedora and Videolan (The creater of VLC Media Player). This event provides two reasons to join it and hack while learning. First is “Want to see your name the next time anybody installs fedora, Mozilla and VLC Media Player?” and the second one is “Want to add some special skills to your resume?”. The whole session of Localization Hackathon is started by me and finally backened by Biraj karmakar and Runa Bhattacharjee. We have got seven participants across the globe <holingpoon, erry, sunu, Anupam, shweta, anexasajoop, sri_c>. The more details about the participants are given below in the chat list. The guest persons who are helping backend are Amani_glugcal, kaustavdm, Priyankanag. The whole event is coordinated by Satabdi Das.

The hackathon starts with a formal introduction of all the participants followed by a simple question “Why do you want to contribute to foss?”. The above question extends and arouse a new question, “if i donot know programming, how will i contribute?”. After that we explained the definition of localization followed by internationalization and related mother tongue with software localization. From there, we have taken the help of Transifex and mozilla pootle server to get started with localization of mozilla, Fedora and vlc media player. All the participants have created their account on pootle server and transifex also. Erry found his language 100% completed in mozilla so she switched to VLC and there she found that greek is not available for VLC, so he requested for the creation of new language. Sri_c has successfully joined on kannada language team on mozilla pootle server and for VLC on transifex. sunu has started for oriya localization, so he contacted the videolan language co-ordinator in order to get approved and he joined oriya localization team on transifex.Holingpoon is successfully registered on mozilla pootle server. But during loging she is getting 500 internal server error from mozilla pootle server. I request mozilla to please sort out this problem. Each one has got their tool to translate. from that people actually entered into the field from where they start translating. Biraj is helping the Bangla people to get into the translation.From there people understand what they have to do for software localization. Due to very short span of time and after facing lots of problem, this hackathon has ended by 09:30 p:m. Due to that we have chosen to take input from Google transliterate but found that i doesnot support some scripts of various languages like: oriya.
The output of the hackathon are as follows:

  1. in a short span of time, people get charged and comes forward to support wfs-india.
  2. People actually learnt what localization is and how to get started in any language by using transifex and pootle server.
  3.  On founding any problem during localization, they can contact to language co-rodinator through mailing lists.
  4. faces some problems during hackathon on pootle server needs to short out.
  5. more things on localization will be introduced in the upcoming event.

Following features needs to be added in the pootle server:

  1.  Test the working of mozilla locamotion on al different available browsers.
  2. Show language code against the language name.
  3. creation of help desk to solve problem quickly if any problem occurred during hackathon.
  4. Sometimes the pootle translation page does not responds- it needs to be fixed.
  5. porting all translations of mozilla projects to locamotion for easy translation.

And lastly , the event was successful to some extent as we have expected. I would like to thanks all people like: Sankarshan Mukhopadhyay and Rajesh Ranjan who have directly or indirectly supported us in successful completion of the hackathon. A special thanks to Mozilla Locamotion and Transifex Developers.

Some important links:

yum has broke in fedora 16 problem::solved

When i was updating my Fedora 16. In the last phase of update, during Cleanup of packages process, my laptop gets shutdown.When i restarted the laptop and started to install or uninstall any package after fedora update it given so many errors of yum. I have searched for google not get satisfactory result. The error is given below.

[root@chandankumar chandankumar]# yum reinstall lokalize

Loaded plugins: axelget, fastestmirror, langpacks, presto, refresh-packagekit

Repository google-chrome is listed more than once in the configuration

No metadata available for adobe-linux-i386

No metadata available for fedora

No metadata available for google-chrome

No metadata available for rpmfusion-free

repomd.xml | 3.3 kB 00:00

update rpmfusion-free-updates metadata sucessfully

No metadata available for rpmfusion-nonfree

repomd.xml | 3.3 kB 00:00

update rpmfusion-nonfree-updates metadata sucessfully

No metadata available for updates

Finish Download MetaData of Enabled Repo

Loading mirror speeds from cached hostfile

* fedora: mirror.cse.iitk.ac.in

* rpmfusion-free: mirror.cse.iitk.ac.in

* rpmfusion-free-updates: mirror.cse.iitk.ac.in

* rpmfusion-nonfree: mirror.cse.iitk.ac.in

* rpmfusion-nonfree-updates: mirror.cse.iitk.ac.in

* updates: mirror.cse.iitk.ac.in

Resolving Dependencies

–> Running transaction check

—> Package kdesdk-lokalize.i686 0:4.8.3-1.fc16 will be reinstalled

–> Finished Dependency Resolution

Dependencies Resolved

================================================================================

Package Arch Version Repository Size

================================================================================

Reinstalling:

kdesdk-lokalize i686 4.8.3-1.fc16 updates 721 k

Transaction Summary

================================================================================

Reinstall 1 Package

Total download size: 721 k

Installed size: 1.7 M

Is this ok [y/N]: y

Downloading Packages:

Traceback (most recent call last):

File “/usr/bin/yum”, line 29, in <module>

yummain.user_main(sys.argv[1:], exit_code=True)

File “/usr/share/yum-cli/yummain.py”, line 321, in user_main

errcode = main(args)

File “/usr/share/yum-cli/yummain.py”, line 229, in main

return_code = base.doTransaction()

File “/usr/share/yum-cli/cli.py”, line 547, in doTransaction

problems = self.downloadPkgs(downloadpkgs, callback_total=self.download_callback_total_cb)

File “/usr/lib/python2.7/site-packages/yum/__init__.py”, line 2180, in downloadPkgs

self.plugins.run(‘predownload’, pkglist=pkglist)

File “/usr/lib/python2.7/site-packages/yum/plugins.py”, line 187, in run

func(conduitcls(self, self.base, conf, **kwargs))

File “/usr/lib/yum-plugins/axelget.py”, line 272, in predownload_hook

downloaded_drpm_pkgs = download_drpm(conduit)

File “/usr/lib/yum-plugins/axelget.py”, line 71, in download_drpm

presto_info[repo.id] = presto.PrestoParser(filename).getDeltas()

File “/usr/lib/yum-plugins/presto.py”, line 523, in __init__

for event, elem in iterparse(fo):

File “<string>”, line 91, in next

cElementTree.ParseError: mismatched tag: line 8722, column 6

[root@chandankumar chandankumar]#

When i shown this error on #fedora-channel they told that yum has broken.

The reason of breaking of yum is the plugins axelget.py that i have installed to increase yum downloading speed.

To overcome this error, i have tried the following commands related to you.

#yum clean all

#yum repolist enabled

#yum –disableplugin=presto makecache

# yum –disablerepo=\* –enablerepo=fedora makecache

#yum –disableplugin=axelget makecache

But nothing has happened.

i have queried for the repo’s list by using the command #rpm -qa, to see that my rpm list is working smoothly and yum is not working.

At last i have thought to remove that package from yum plugin. Go to /usr/lib/yum-plugins/ directory and list that package and remove that yum  plugin that causing yum to be broken by using rm command. After that everything is working fine.

i have done the following things.

  1. [root@chandankumar yum-plugins]# ls
  2. axelget.py   fastestmirror.py   fastestmirror.pyo  langpacks.pyc  presto.py   presto.pyo             refresh-packagekit.pyc
  3. axelget.pyc  fastestmirror.pyc  langpacks.py       langpacks.pyo  presto.pyc  refresh-packagekit.py  refresh-packagekit.pyo
  4. [root@chandankumar yum-plugins]# rm axelget.py axelget.pyc
  5. rm: remove regular file `axelget.py’? yes
  6. rm: remove regular file `axelget.pyc’? yes
  7. [root@chandankumar yum-plugins]# ls
  8. fastestmirror.py   fastestmirror.pyo  langpacks.pyc  presto.py   presto.pyo             refresh-packagekit.pyc
  9. fastestmirror.pyc  langpacks.py       langpacks.pyo  presto.pyc  refresh-packagekit.py  refresh-packagekit.pyo
  10. [root@chandankumar yum-plugins]# cd —
  11. [root@chandankumar ~]# yum reinstall lokalize
  12. Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
  13. Repository google-chrome is listed more than once in the configuration
  14. Loading mirror speeds from cached hostfile
  15.  * fedora: mirror.cse.iitk.ac.in
  16.  * rpmfusion-free: mirror.cse.iitk.ac.in
  17.  * rpmfusion-free-updates: mirror.cse.iitk.ac.in
  18.  * rpmfusion-nonfree: mirror.cse.iitk.ac.in
  19.  * rpmfusion-nonfree-updates: mirror.cse.iitk.ac.in
  20.  * updates: mirror.cse.iitk.ac.in
  21. Resolving Dependencies
  22. –> Running transaction check
  23. —> Package kdesdk-lokalize.i686 0:4.8.3-1.fc16 will be reinstalled
  24. –> Finished Dependency Resolution
  25. Dependencies Resolved
  26. ======================================================================================================================================
  27.  Package                              Arch                      Version                            Repository                    Size
  28. ======================================================================================================================================
  29. Reinstalling:
  30.  kdesdk-lokalize                      i686                      4.8.3-1.fc16                       updates                      721 k
  31. Transaction Summary
  32. ======================================================================================================================================
  33. Reinstall  1 Package
  34. Total download size: 721 k
  35. Installed size: 1.7 M
  36. Is this ok [y/N]: y
  37. Downloading Packages:
  38. ^[[Bkdesdk-lokalize-4.8.3-1.fc16.i686.rpm                60% [=========================                 ]  16 kB/s | 437 kB     00:18 kdesdk-lokalize-4.8.3-1.fc16.i686.rpm                                                                          | 721 kB     00:42
  39. Running Transaction Check
  40. Running Transaction Test
  41. Transaction Test Succeeded
  42. Running Transaction
    After that yum is happy with me!!!
    Thanks to Khaytsus , fenrus02 and juanmabc on #fedora channel on freenode.

dgplug meeting at bcrec

For the first time, I sayan, gaurav, biraj and koustava all together organised the dgplug weekly meeting at college library in Dr.B.C.Roy Engineering College, Durgapur during evening at 5:30 p:m. We met 20 students for the first time after the python workshop taken by kushal in february. We had asked about the queries related to python and open source from them. We told them about the irc and #dgplug channel at freenode through X-chat and also showed them to talk on irc by talking with rtnpro and biraj . We have also told them to register their name at dgplug mailing lists. After that we have fixed the next meeting on monday to do fedora installation and face the issues related to fedora installation.

Finally the meeting ends with a happy smile. Thanks to all dgplug members at bcrec.

Hindi translation of libvirt project through lokalize done

A week ago, i got a new translation task on libvirt project from Rajesh Ranjan. When i saw it , was very big

translation.Actually libvirt is a toolkit to interact with the virtualization capabilities of recent versions of

Linux(and other OSes).But while doing translation i was not bored due to Lokalize the translating tool.

I have installed Lokalize in fedora 16 .

Install Lokalize  in fedora 16: $yum install lokalize.

 By using translation memory feature of  Lokalize , imported all the hindi translation files of KDE, GNOME

,Askbot, django and various other project translations of  Transifex. During translation i have found bugs

in the source language translation(English). I have filed it in RedHat bugzilla under libvirt component section.

The Links for these bugs are given below:

After 7 days of continuous  translation, Finally completed it.

Thanks to jassy, rajeshr and sayan for helping me.

my first hindi transaltion commit to fedora project

Few weeks ago, I met  kushaldas and rtnpro.They inspired us to do translation by using transifex.It is the best way of contribution to open source.

i have talked the irc with rajeshr on #fedora-india channel.i have joined the fedora-india hindi translation team.

He gaves me some suggestion and basic books for understnading guidelines. that are available on www.fuel.project.org.

Following are the small projects that i have translated under fedora project .

i have completed these projects during feburary 20-24,2012 with the help of rajesh, rtnpro, aavrag and sayan chowdhury .

Google also helped me at a lot.

 

 

open-source hindi translator through transifex

Who become Translators?

Any person expert in his native mother language can use it as a tool for converting software written in others language so that every one can learn from it.

But to make a translators it requires some platform for translations and some guidelines for translation.

Platform:: Transifex but why?

Transifex is an open-source platform for the localization of all types of projects.

It provides:

  • A rich web designed interface for submitting translations
  • Tools to manage and host your projects
  • Manage your project translation through various community
  • It is open-source
  • get translated in more than 273 languages.

Getting Started with transifex

  1. Register yourself by clicking here for sign-up.
  2. Send join language-team request for your native language
  3. Get accepted as a team member and start traslation

Some Basic Guidelines for Hindi Translations

Benefits

  • An easy step towards contribution to open source
  • get name for every word you translate. for example myself:click here

lets have a happy translations!!!

python workshop day-1 at bcrec

First time in my college life i along with sayan,gaurav kumar and biraj karamkarorganised the first python workshop in Dr.B.C.Roy Engineering College,Durgapur at albert einstein seminar hall under Durgapur linux user group.The key speaker was  KushalDas.

The Workshop started at 11:00 a.m.First and second year students of cse and it department attended the workshop.We are excited today that we have got our first fedora t-shirts.Kushaldas started the workshop by giving introduction to open source,linux followed by how different open source operating system come into existence Just like fedora.He also moved forward how to contribute to open source and how it helps us in our carrier in future.

After discussion we moved to next part for practical session in cse lab-03 to learn python from kushal das.He started the python programming with the introduction of functional programming i.e.scheme language.newbie learned how to write programs in python.they started it from hello world followed by calculator,condition checking,looking,string splitting,sorting of lists.They shows their interest in python through solving problems.Since python is meant for lazy people those who like to write less code.We helped the students in debugging python problems during practice session along with kushal das.

The Session ends with the distribution of fedora stickers among students.Thereafter we go for a photography with kushal at college in the evening.We are excepting that some of the contributors may come in future for open source.We are thinking of organising weekly meetings on fedora in our college.