<div dir="ltr">Looks like the ubuntu package for dnspython 1.9.4, and the Swift package you have is requiring dnspython 1.10.0<div><br></div><div>Try to install the newer dnspython with pip:</div><div><br></div><div>    pip install "dnspython==1.10.0"</div>
<div><br></div><div>-Clay</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Aug 17, 2013 at 3:10 AM, pragya jain <span dir="ltr"><<a href="mailto:prag_2648@yahoo.co.in" target="_blank">prag_2648@yahoo.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:bookman old style,new york,times,serif"><div>hello all!</div><div><br><span></span></div>
<br><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif">
I am installing and configuring swift using the commands given in the 
book "software defined storage with openstack swift" by Joe Arnold.<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif">
I am working on Ubuntu 12.04</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif">I had downloaded swift, install it, configure files, prepare the drives, mount and reboot</div>

<div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif">Then, I again give 'mount' command and following results are recieved.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif">

<br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif">arun@arun-Aspire-5742:~$ mount<br>/dev/sda4 on / type ext4 (rw,errors=remount-ro)<br>

proc on /proc type proc (rw,noexec,nosuid,nodev)<br>sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)<br>none on /sys/fs/fuse/connections type fusectl (rw)<br>none on /sys/kernel/debug type debugfs (rw)<br>none on /sys/kernel/security type securityfs (rw)<br>

udev on /dev type devtmpfs (rw,mode=0755)<br>devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)<br>tmpfs on /run type
 tmpfs (rw,noexec,nosuid,size=10%,mode=0755)<br>none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)<br>none on /run/shm type tmpfs (rw,nosuid,nodev)<br>gvfs-fuse-daemon on /home/arun/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=arun)<br>

</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif">

Then, I proceed further for creating the builder files</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif">

arun@arun-Aspire-5742:~$ cd /etc/swift<br>arun@arun-Aspire-5742:/etc/swift$ su -<br>Password: <br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif">

root@arun-Aspire-5742:~# cd /etc/swift<br>root@arun-Aspire-5742:/etc/swift# sudo swift-ring-builder account.builder create 18 3 24<br>Traceback (most recent call last):<br>  File "/usr/local/bin/swift-ring-builder", line 4, in <module><br>

    import pkg_resources<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module><br>    working_set.require(__requires__)<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require<br>

    needed = self.resolve(parse_requirements(requirements))<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in
 resolve<br>    raise DistributionNotFound(req)<br>pkg_resources.DistributionNotFound: dnspython>=1.10.0<br>root@arun-Aspire-5742:/etc/swift# sudo swift-ring-builder container.builder create 18 3 24<br>Traceback (most recent call last):<br>

  File "/usr/local/bin/swift-ring-builder", line 4, in <module><br>    import pkg_resources<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module><br>    working_set.require(__requires__)<br>

  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require<br>    needed = self.resolve(parse_requirements(requirements))<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve<br>

    raise DistributionNotFound(req)<br>pkg_resources.DistributionNotFound: dnspython>=1.10.0<br>root@arun-Aspire-5742:/etc/swift# sudo swift-ring-builder
 object.builder create 18 3 24<br>Traceback (most recent call last):<br>  File "/usr/local/bin/swift-ring-builder", line 4, in <module><br>    import pkg_resources<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module><br>

    working_set.require(__requires__)<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require<br>    needed = self.resolve(parse_requirements(requirements))<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve<br>

    raise DistributionNotFound(req)<br>pkg_resources.DistributionNotFound: dnspython>=1.10.0<br>root@arun-Aspire-5742:/etc/swift# <br>root@arun-Aspire-5742:/etc/swift# swift-ring-builder<br>Traceback (most recent call last):<br>

  File "/usr/local/bin/swift-ring-builder", line 4, in <module><br>    import
 pkg_resources<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module><br>    working_set.require(__requires__)<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require<br>

    needed = self.resolve(parse_requirements(requirements))<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve<br>    raise DistributionNotFound(req)<br>pkg_resources.DistributionNotFound: dnspython>=1.10.0<br>

</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif"><br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style,new york,times,serif">

I was doubtful that these results are not correct and there is some problem in creating builder
 files.<br><br>I install the python package dnspython using  'apt-get install' command<br>Then, I try to create builder file<br>But, again, I get the  same error<br><br>root@arun-Aspire-5742:~# cd /opt/swift/etc<br>
root@arun-Aspire-5742:/opt/swift/etc# sudo apt-get install python-dnspython<br>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>The following NEW packages will be installed:<br>
  python-dnspython<br>0 upgraded, 1 newly installed, 0 to remove and 590 not upgraded.<br>Need to get 99.2 kB of archives.<br>After this operation, 548 kB of additional disk space will be used.<br>Get:1 <a href="http://us.archive.ubuntu.com/ubuntu/" target="_blank">http://us.archive.ubuntu.com/ubuntu/</a> precise/main python-dnspython all 1.9.4-0ubuntu3 [99.2 kB]<br>
Fetched 99.2
 kB in 3s (30.7 kB/s)                      <br>Selecting previously unselected package python-dnspython.<br>(Reading database ... 150833 files and directories currently installed.)<br>Unpacking python-dnspython (from .../python-dnspython_1.9.4-0ubuntu3_all.deb) ...<br>
Setting up python-dnspython (1.9.4-0ubuntu3) ...<br><br>root@arun-Aspire-5742:/opt/swift/etc# cd /etc/swift<br>root@arun-Aspire-5742:/etc/swift# sudo swift-ring-builder account.builder create 18 3 24<br>Traceback (most recent call last):<br>
  File "/usr/local/bin/swift-ring-builder", line 4, in <module><br>    import pkg_resources<br>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in <module><br>    parse_requirements(__requires__), Environment()<br>
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py",
 line 584, in resolve<br>    raise DistributionNotFound(req)<br>pkg_resources.DistributionNotFound: dnspython>=1.10.0<br>root@arun-Aspire-5742:/etc/swift# <br><br>please help me in this regard<br><br>---<br><br>thanks<span class="HOEnZb"><font color="#888888"><br>
<br>Pragya Jain<br><br><br><br></font></span></div>
</div></div><br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>