<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hmm… getting worse… I tried the index-url and time out and then just timeout, but it still is failing.  With the latest run, I see this:<div><br></div><div><div><font class="Apple-style-span" face="'Courier New'">err: /Stage[main]/Graphite/Package[graphite-web]/ensure: change from absent to present failed: Execution of '/usr/bin/pip install -q --index-url=<a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a> graphite-web' returned 1:   Cannot fetch index base URL <a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a></font></div><div><font class="Apple-style-span" face="'Courier New'">  Could not find any downloads that satisfy the requirement graphite-web</font></div><div><font class="Apple-style-span" face="'Courier New'">No distributions at all found for graphite-web</font></div><div><font class="Apple-style-span" face="'Courier New'">Storing complete log in /root/.pip/pip.log</font></div><div><font class="Apple-style-span" face="'Courier New'"><br></font></div><div><font class="Apple-style-span" face="'Courier New'">debug: Puppet::Type::Package::ProviderPip: Executing '/usr/bin/pip freeze'</font></div><div><font class="Apple-style-span" face="'Courier New'">debug: Puppet::Type::Package::ProviderPip: Executing '/usr/bin/pip install -q --index-url=<a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a> collectd '</font></div><div><font class="Apple-style-span" face="'Courier New'">err: /Stage[main]/Collectd/Package[collectd ]/ensure: change from absent to present failed: Execution of '/usr/bin/pip install -q --index-url=<a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a> collectd ' returned 1:   Cannot fetch index base URL <a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a></font></div><div><font class="Apple-style-span" face="'Courier New'">  Could not find any downloads that satisfy the requirement collectd</font></div><div><font class="Apple-style-span" face="'Courier New'">No distributions at all found for collectd</font></div><div><font class="Apple-style-span" face="'Courier New'">Storing complete log in /root/.pip/pip.log</font></div><div><font class="Apple-style-span" face="'Courier New'"><br></font></div><div><font class="Apple-style-span" face="'Courier New'">notice: /Stage[main]/Graphite/File[/etc/apache2/sites-available/graphite]: Dependency Package[graphite-web] has failures: true</font></div><div><font class="Apple-style-span" face="'Courier New'">warning: /Stage[main]/Graphite/File[/etc/apache2/sites-available/graphite]: Skipping because of failed dependencies</font></div><div><font class="Apple-style-span" face="'Courier New'">notice: /Stage[main]/Graphite/File[/etc/apache2/sites-enabled/graphite]: Dependency Package[graphite-web] has failures: true</font></div><div><font class="Apple-style-span" face="'Courier New'">warning: /Stage[main]/Graphite/File[/etc/apache2/sites-enabled/graphite]: Skipping because of failed dependencies</font></div><div><font class="Apple-style-span" face="'Courier New'">notice: /Stage[main]/Graphite/File[/opt/graphite/webapp/graphite/local_settings.py]: Dependency Package[graphite-web] has failures: true</font></div><div><font class="Apple-style-span" face="'Courier New'">warning: /Stage[main]/Graphite/File[/opt/graphite/webapp/graphite/local_settings.py]: Skipping because of failed dependencies</font></div><div><font class="Apple-style-span" face="'Courier New'">notice: /Stage[main]/Graphite/Exec[graphite-syncdb]: Dependency Package[graphite-web] has failures: true</font></div><div><font class="Apple-style-span" face="'Courier New'">warning: /Stage[main]/Graphite/Exec[graphite-syncdb]: Skipping because of failed dependencies</font></div><div><font class="Apple-style-span" face="'Courier New'">debug: Puppet::Type::Package::ProviderPip: Executing '/usr/bin/pip freeze'</font></div><div><font class="Apple-style-span" face="'Courier New'">debug: Puppet::Type::Package::ProviderPip: Executing '/usr/bin/pip install -q --index-url=<a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a> carbon'</font></div><div><font class="Apple-style-span" face="'Courier New'">err: /Stage[main]/Graphite/Package[carbon]/ensure: change from absent to present failed: Execution of '/usr/bin/pip install -q --index-url=<a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a> carbon' returned 1:   Cannot fetch index base URL <a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a></font></div><div><font class="Apple-style-span" face="'Courier New'">  Could not find any downloads that satisfy the requirement carbon</font></div><div><font class="Apple-style-span" face="'Courier New'">No distributions at all found for carbon</font></div><div><font class="Apple-style-span" face="'Courier New'">Storing complete log in /root/.pip/pip.log</font></div><div><br></div><div>So, it looks like three packages are not installing. Odd thing is that it is not taking 180 seconds per try. It seems to come right back w/a failure. The pip.log says:</div><div><br></div><div><div><font class="Apple-style-span" face="'Courier New'">root@ucs-build-server:/etc/puppet/manifests# more ~/.pip/pip.log </font></div><div><font class="Apple-style-span" face="'Courier New'">------------------------------------------------------------</font></div><div><font class="Apple-style-span" face="'Courier New'">/usr/bin/pip run on Mon May 20 12:14:20 2013</font></div><div><font class="Apple-style-span" face="'Courier New'">Downloading/unpacking carbon</font></div><div><font class="Apple-style-span" face="'Courier New'">  Getting page <a href="http://ucs-build-server/packages/simple/carbon">http://ucs-build-server/packages/simple/carbon</a></font></div><div><font class="Apple-style-span" face="'Courier New'">  Could not fetch URL <a href="http://ucs-build-server/packages/simple/carbon:">http://ucs-build-server/packages/simple/carbon:</a> HTTP Error 502: Cannot Connect</font></div><div><font class="Apple-style-span" face="'Courier New'">  Will skip URL <a href="http://ucs-build-server/packages/simple/carbon">http://ucs-build-server/packages/simple/carbon</a> when looking for download links for carbon</font></div><div><font class="Apple-style-span" face="'Courier New'">  Getting page <a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a></font></div><div><font class="Apple-style-span" face="'Courier New'">  Could not fetch URL <a href="http://ucs-build-server/packages/simple/:">http://ucs-build-server/packages/simple/:</a> HTTP Error 502: Cannot Connect</font></div><div><font class="Apple-style-span" face="'Courier New'">  Will skip URL <a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a> when looking for download links for carbon</font></div><div><font class="Apple-style-span" face="'Courier New'">  Cannot fetch index base URL <a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a></font></div><div><font class="Apple-style-span" face="'Courier New'">  URLs to search for versions for carbon:</font></div><div><font class="Apple-style-span" face="'Courier New'">  * <a href="http://ucs-build-server/packages/simple/carbon/">http://ucs-build-server/packages/simple/carbon/</a></font></div><div><font class="Apple-style-span" face="'Courier New'">  Getting page <a href="http://ucs-build-server/packages/simple/carbon/">http://ucs-build-server/packages/simple/carbon/</a></font></div><div><font class="Apple-style-span" face="'Courier New'">  Could not fetch URL <a href="http://ucs-build-server/packages/simple/carbon/:">http://ucs-build-server/packages/simple/carbon/:</a> HTTP Error 502: Cannot Connect</font></div><div><font class="Apple-style-span" face="'Courier New'">  Will skip URL <a href="http://ucs-build-server/packages/simple/carbon/">http://ucs-build-server/packages/simple/carbon/</a> when looking for download links for carbon</font></div><div><font class="Apple-style-span" face="'Courier New'">  Could not find any downloads that satisfy the requirement carbon</font></div><div><font class="Apple-style-span" face="'Courier New'">No distributions at all found for carbon</font></div><div><font class="Apple-style-span" face="'Courier New'">Exception information:</font></div><div><font class="Apple-style-span" face="'Courier New'">Traceback (most recent call last):</font></div><div><font class="Apple-style-span" face="'Courier New'">  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 126, in main</font></div><div><font class="Apple-style-span" face="'Courier New'">    self.run(options, args)</font></div><div><font class="Apple-style-span" face="'Courier New'">  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 223, in run</font></div><div><font class="Apple-style-span" face="'Courier New'">    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)</font></div><div><font class="Apple-style-span" face="'Courier New'">  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 948, in prepare_files</font></div><div><font class="Apple-style-span" face="'Courier New'">    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)</font></div><div><font class="Apple-style-span" face="'Courier New'">  File "/usr/lib/python2.7/dist-packages/pip/index.py", line 152, in find_requirement</font></div><div><font class="Apple-style-span" face="'Courier New'">    raise DistributionNotFound('No distributions at all found for %s' % req)</font></div><div><font class="Apple-style-span" face="'Courier New'">DistributionNotFound: No distributions at all found for carbon</font></div></div><div><br></div><div>It seems like it is looking locally only? How do I get it to go back to trying the repos? I tried removing the .pip directory.</div><div><br></div><div>Regards,</div><div><br></div><div><br></div><div apple-content-edited="true">
PCM (Paul Michali)<br><br>Contact info for Cisco users <a href="http://twiki.cisco.com/Main/pcm">http://twiki.cisco.com/Main/pcm</a><br><br>
</div>
<br><div><div>On May 20, 2013, at 11:23 AM, Paul Michali wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>On May 20, 2013, at 11:00 AM, Mark T. Voelker wrote:<br><br><blockquote type="cite"><blockquote type="cite">*Q: Any idea as to what I'm doing wrong on the proxy setup here?*<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Is it happening consistently?  We've often seen Cisco's internal proxies<br></blockquote><blockquote type="cite">fail intermittently, so if you've only tried it once I wouldn't be<br></blockquote><blockquote type="cite">surprised if it worked again next time around.<br></blockquote><br>PCM: Yeah, and actually, "pip install collectd" failed too.  I just tried creating a pip.conf file, with a longer timeout and using a different index:<br><br>[global]<br>timeout = 180<br>index-url = <a href="http://g.pypi.python.org/simple">http://g.pypi.python.org/simple</a><br>download-cache = ~/.pip/cache<br><br>Now it says:<br><br>err: /Stage[main]/Collectd/Package[collectd ]/ensure: change from absent to present failed: Execution of '/usr/bin/pip install -q --index-url=<a href="http://ucs-build-server/packages/simple/">http://ucs-build-server/packages/simple/</a> collectd ' returned 1:   Could not find any downloads that satisfy the requirement collectd<br>No distributions at all found for collectd<br>Storing complete log in /root/.pip/pip.log<br><br>Maybe that repo is not good to use. I could retry with a different repo.<br><br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">Note that collectd is being installed via pip rather than apt, so the<br></blockquote><blockquote type="cite">$location actually doesn't come into play here.  That also means that<br></blockquote><blockquote type="cite">you need to be able to reach the public internet, of course.<br></blockquote><br>PCM: The other pip installs worked, so I have access in general.  I'll try w/just the timeout.  Any other ideas?<br><br><br><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">*Q: Will we run into an issue with the IP addresses for the management<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">interfaces given we'll have two build servers, each with DHCP servers<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">handling the PXE boots?*<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">It would be far simpler not to have multiple DHCP servers serving the<br></blockquote><blockquote type="cite">same network (consider segregating them on separate VLANs), but this can<br></blockquote><blockquote type="cite">work.  You mostly just have to make sure that each DHCP server only<br></blockquote><blockquote type="cite">responds to requests for the hosts it's "supposed to".  Still, it's<br></blockquote><blockquote type="cite">probably going to make life harder than it could be.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">*Q: Should we create subnets and partition up the space?*<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">That would probably make your life easier.<br></blockquote><br><br>PCM: So maybe use 14.1.0.10-.19 for the HP servers when we re-IP their management IP addresses?<br><br>The thought, BTW, was to use the lowest part of the host IP to indicate the system, so that power IP, management IP, and host name all relate (UCS using 10-19, Eclipse 20-29, and HP 30-39). We also will allocate a block of ten VLANs, going from # * 10 to # * 10 + 9, to each node for their data/private network, so that they have exclusive VLANs for use on the Nexus switch.<br><br>Regards,<br><br>PCM<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite">At Your Service,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Mark T. Voelker<br></blockquote><blockquote type="cite">Systems Development Unit<br></blockquote><blockquote type="cite">+1 919 392-4326<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On 05/20/2013 10:43 AM, Paul Michali wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Hi!<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">We're trying to setup multiple build servers (in VMs) in the lab, so<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">that we can automatically provision different types of hardware (have HP<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Pro Liant, Eclipse, and now UCS boxes). With the current setup we have<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">an operational build server that provisions the HP Pro Liants with<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">either COE or Devstack. Works well.  Here are the questions, related to<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">the second build server VM that we are setting up (and later will do a<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">third for the Eclipse boxes):<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">With this build server, I ran puppet apply and am getting this error:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">err: /Stage[main]//Node[master-node]/Exec[pip-cache]/returns: change<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">from notrun to 0 failed: /usr/bin/env<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">http_proxy=<a href="http://proxy-wsa.esl.cisco.com:80">http://proxy-wsa.esl.cisco.com:80</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">https_proxy=<a href="http://proxy-wsa.esl.cisco.com:80">http://proxy-wsa.esl.cisco.com:80</a> /usr/local/bin/pip2pi<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/var/www/packages collectd xenapi django-tagging graphite-web carbon<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">whisper returned 1 instead of one of [0] at<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">/etc/puppet/manifests/core.pp:421<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">It appears to be a proxy issue, but I'm not sure what is wrong as this<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">build server has the same thing as the other (working build server).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The site.pp has:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">$proxy                  = "<a href="http://proxy-wsa.esl.cisco.com:80">http://proxy-wsa.esl.cisco.com:80</a>"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">$location               = "<a href="http://128.107.252.163/openstack/cisco">http://128.107.252.163/openstack/cisco</a>"<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The /etc/apt/sources.list.d/cisco-openstack-mirror_folsom has:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"># cisco-openstack-mirror_folsom<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">deb <a href="http://128.107.252.163/openstack/cisco">http://128.107.252.163/openstack/cisco</a> folsom main<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">deb-src <a href="http://128.107.252.163/openstack/cisco">http://128.107.252.163/openstack/cisco</a> folsom main<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">This command fails with a timeout, when run manually as well.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*Q: Any idea as to what I'm doing wrong on the proxy setup here?*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The second question relates to idea that we want both of these build<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">server VMs running at the same time. The build servers are on the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">192.168.220.0/24 network. The UCS boxes will have power management IPs<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">on 13.0.0.0/16 and management IP will be on 14.0.0.0/16 network, using<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">host part of .30 to .39 for the ten systems.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Currently, the HP boxes power and management ports are on the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">192.168.220.0 network, but the intent is to move these to the 13.0.0.0<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">and 14.0.0.0 networks as well using host IP parts (.10 to .19). In the<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">future, we'll alter the Exclipe boxes too, to use .20 to .29 in these<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">same IP ranges (only we'll need to use a managed APS for these).<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">We've statically set the IPs for the power management ports and will<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">rely on the MAC addresses to assign the IPs via cobbler/puppet.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*Q: Will we run into an issue with the IP addresses for the management<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">interfaces given we'll have two build servers, each with DHCP servers<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">handling the PXE boots?*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*Q: Should we create subnets and partition up the space?*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*Q: Any other issues that you see with this plan?*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">*<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks in advance!<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">PCM (Paul Michali)<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Contact info for Cisco users <a href="http://twiki.cisco.com/Main/pcm">http://twiki.cisco.com/Main/pcm</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">OpenStack-dev mailing list<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">OpenStack-dev mailing list<br></blockquote><blockquote type="cite"><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br></blockquote><br></div></blockquote></div><br></div></body></html>