Was able to get MAAS (Metal AS A Service) working Virsh by following this guide. Following are some of the important points to note about this setup is that Also it’s important to
- The router ip and the upstream DNS need to be set to the MAAS network gateway ip (e.g. 192.168.100.1)
- Set the default gateway field empty.
- In /etc/bind/named.conf.options set dnssec-validation no and remove any_ipv6
After struggling a bit, I finally got RDO packstack working with a RHEL7 qcow2 image. I was able to get it working with three nodes, one controller and two compute nodes. I was able to boot a VM on each of the compute nodes and was able to ping between them. This was achieved via a Vxlan tunnel created between the two nodes.
One important thing about RDO is that I found it quite stable once I could get it working.
I have been trying to get openstack working with packstack on RHEL7 and it has not being an easy. I thought that packstack on RHEL7 would just work but it doesn’t.
Make sure the controller node has at least 4GB of memory.
systemctl disable firewalld
systemctl stop NetworkManager.service
systemctl disable NetworkManager.service
systemctl enable network.service
systemctl start network.service
I am using RHEL7 qcow2 image on KVM and one of the annoying problems that bugged me that network.service use to always fail
systemctl start network.service
The reason for this failure was that my ethernet interface was ens3 on the VM but there no corresponding ifcfg file in /etc/sysconfig/network-scripts for it. Once I edit ifcfg-eth0 to ifcfg-ens3, I came over this issue.
Stale mysql database
Every time before you run the packstack command make sure that the mysql database has been cleaned up. This can be done with “rm -rf /var/lib/mysql”
perl -p -i -e "s/_PW=(\S)+/_PW=simple/g" answer.file
I use vim for writing most of my C and Python code. For python I tend to use vim-flake8 for automated PEP8 checking. However I always forget how to install vim-flake8 and hence am writing this post
First install pathogen
mkdir -p ~/.vim/autoload ~/.vim/bundle && \
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim
Then install the vim-flake8 plugin
git clone https://github.com/nvie/vim-flake8.git
Finally add the following lines to .vimrc
filetype plugin indent on
autocmd BufWritePost *.py call Flake8()
Found an awesome Youtube playlist that explains the concepts of Computer Networking.
Have been struggling to understand Gödel’s incompleteness theorem for a long time (a couple of years). I even tried reading Gödel’s proof but still could not completely grasp it. However I think I now finally understand the proof after reading a simple explanation about it.
Wrote a small python program to get the pisano period explained in the video above.
Last Friday was my last day at Extreme Networks and am bit nostalgic about the time I spent there. I worked with some great set of people especially my immediate team.
I joined Extreme as an Openstack developer and with zero background in networking. However I did a lots of reading and hands on networking this year and have become pretty comfortable with different aspects of it. One of the great books that helped me along the way was Illustrated Networks. Also having a plethora of opensource networking tools like wireshark, tcpdump, OpenVswitch really helped me in learning.
I was fortunate enough to work on SDN and contribute to the OVSDB Opendaylight project. Extreme has based it’s SDN controller on Opendaylight and I think it is a great choice. I hadn’t worked on Java for almost 10 years and got a chance to refresh my knowledge about it after such a long time. I really enjoyed learning about OSGi and using Karaf.
Technically the best part about my stay at Extreme was that we got Openstack integrated with Opendaylight for networking using vlans for implementing tenant networks rather than pre-packaged vxlan or gre-tunnels