<html><body><div style="color:#000; background-color:#fff; font-family:bookman old style, new york, times, serif;font-size:12pt">thank you very much sir, for the suggestion. It work.<br>i had successfully created the builder files.<br><br>now, I have to configure logging to a single local file<br>for this, according to book, I have to create a /etc/rsyslog.d/0-swift.conf with contents local0.* /var/log/swift/all.log<br><br>I run the following command:<br>root@arun-Aspire-5742:/etc/swift# sudo cat 'local0.*/var/log/swift/all.log' > /etc/rsyslog.d/0-swift.conf<br>cat: local0.*/var/log/swift/all.log: No such file or directory <br><br><div><span>but I got error</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: bookman old style,new york,times,serif;
 background-color: transparent; font-style: normal;"><span>Please help me in this regard</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;"><span>---</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style: normal;"><span>Thanks</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: bookman old style,new york,times,serif; background-color: transparent; font-style:
 normal;"><span>Pragya Jain<br> </span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: bookman old style, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial" size="2"> <b><span style="font-weight:bold;">From:</span></b> Amanda Plimpton <amanda@swiftstack.com><br> <b><span style="font-weight: bold;">To:</span></b> pragya jain <prag_2648@yahoo.co.in> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, 18 August 2013 5:16 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: problem in creating builder files in swift<br> </font> </div> <div class="y_msg_container"><br><div id="yiv3482194424"><div dir="ltr"><div>Dear Pragya Jain,<br><br></div>Joe may correct me or have additional insight
 but looking at the log you provided the last last line of "pkg_resources.<div class="yiv3482194424im">DistributionNotFound: dnspython>=1.10.0" is saying that the system was looking a dnspython version that was equal to or greater than 1.10.0. I also see that earlier in the log it showed "Setting up python-dnspython (1.9.4-0ubuntu3)". If you upgrade the 1.9.4 version to a 1.10.0 version that error should no longer occur.<br>
<br></div><div class="yiv3482194424im">Thank you,<br>Amanda<br></div></div><div class="yiv3482194424gmail_extra"><br><br><div class="yiv3482194424gmail_quote">On Sat, Aug 17, 2013 at 12:52 AM, pragya jain <span dir="ltr"><<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>></span> wrote:<br>
<blockquote class="yiv3482194424gmail_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;">hello, sir!<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<div class="yiv3482194424im"><br>please help me in this regard<br><br></div>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 rel="nofollow" target="_blank" href="http://us.archive.ubuntu.com/ubuntu/">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<div class="yiv3482194424im"><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></div>  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in <module><br>    parse_requirements(__requires__), Environment()<div class="yiv3482194424im">
<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><div><span><br></span></div></div><div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">
  <div style="font-family:bookman old style, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold;">From:</span></b> pragya jain <<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>><br>
 <b><span style="font-weight:bold;">To:</span></b> Joe Arnold <<a rel="nofollow" ymailto="mailto:joe@swiftstack.com" target="_blank" href="mailto:joe@swiftstack.com">joe@swiftstack.com</a>> <br><b><span style="font-weight:bold;">Cc:</span></b> "<a rel="nofollow" ymailto="mailto:contact@swiftstack.com" target="_blank" href="mailto:contact@swiftstack.com">contact@swiftstack.com</a>" <<a rel="nofollow" ymailto="mailto:contact@swiftstack.com" target="_blank" href="mailto:contact@swiftstack.com">contact@swiftstack.com</a>> <br>
 <b><span style="font-weight:bold;">Sent:</span></b> Saturday, 17 August 2013 12:30 AM<div><div class="yiv3482194424h5"><br> <b><span style="font-weight:bold;">Subject:</span></b> Re: problem in creating builder files in swift<br> </div>
</div></font> </div><div><div class="yiv3482194424h5"> <div><br><div><div><div style="font-size:12pt;font-family:bookman old style, new york, times, serif;">Thanks for the reply, Sir!<br>But, I don't know how to come over this problem<br>
and, what commands should I use to remove this error?<br><br>Please help me in this regard.<br><br>---<br>Pragya Jain<br><br><div><span><br></span></div><div><br><blockquote style="border-left:2px solid rgb(16,16,255);margin-left:5px;margin-top:5px;padding-left:5px;">
  <div style="font-family:bookman old style, new york, times, serif;font-size:12pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div dir="ltr"> <hr size="1">  <font face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Joe Arnold <<a rel="nofollow" ymailto="mailto:joe@swiftstack.com" target="_blank" href="mailto:joe@swiftstack.com">joe@swiftstack.com</a>><br>

 <b><span style="font-weight:bold;">To:</span></b> pragya jain <<a rel="nofollow" ymailto="mailto:prag_2648@yahoo.co.in" target="_blank" href="mailto:prag_2648@yahoo.co.in">prag_2648@yahoo.co.in</a>> <br><b><span style="font-weight:bold;">Cc:</span></b>
 "<a rel="nofollow" ymailto="mailto:contact@swiftstack.com" target="_blank" href="mailto:contact@swiftstack.com">contact@swiftstack.com</a>" <<a rel="nofollow" ymailto="mailto:contact@swiftstack.com" target="_blank" href="mailto:contact@swiftstack.com">contact@swiftstack.com</a>> <br> <b><span style="font-weight:bold;">Sent:</span></b> Friday, 16 August 2013 10:16 PM<br>
 <b><span style="font-weight:bold;">Subject:</span></b> Re: problem in creating builder files in swift<br> </font> </div> <div><br><div>Hi Pragya,<div>It appears that you are missing a python package based on the error message. Try digging into the error message around dnspython not found. We're always moving the code base ahead, so that may be something new (or gasp!) something that was overlooked in the book.</div>

<div><br></div><div>Thanks!</div><div>-Joe Arnold</div><div>--</div>CEO, SwiftStack Inc.<div>http:// SwiftStack.com<span></span><br><div><br>On Friday, August 16, 2013, pragya jain  wrote:<br><blockquote 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,</div><div><br></div><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 am doubtful that these results are not correct and there is some problem in creating builder
 files.</div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style, new york, times, serif;">Please help me in this regard how should I proceed further?</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;">Thanks</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;">Regards <br></div><div style="font-style:normal;font-size:16px;background-color:transparent;font-family:bookman old style, new york, times, serif;">

Pragya Jain<br></div></div></div></blockquote></div></div><br><br>-- <br>CEO, SwiftStack Inc.<br><a rel="nofollow" target="_blank" href="http://swiftstack.com/">http://swiftstack.com</a><br><a href="" rel="nofollow">+1-415-999-0282</a><br>
</div><br><br></div> </div> </div> </blockquote></div>   </div></div></div><br><br></div> </div></div></div> </div> </blockquote></div>   </div></div></blockquote></div><br></div></div><br><br></div> </div> </div> </blockquote></div>   </div></body></html>