<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SPARK APIC lab - traceback on check_dcloud.py in DevNet Sandbox</title>
    <link>https://community.cisco.com/t5/devnet-sandbox/spark-apic-lab-traceback-on-check-dcloud-py/m-p/3571922#M2401</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ssimlo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we will get back to you with an answer ASAP. &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;eddie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Aug 2017 10:46:53 GMT</pubDate>
    <dc:creator>admin11111</dc:creator>
    <dc:date>2017-08-17T10:46:53Z</dc:date>
    <item>
      <title>SPARK APIC lab - traceback on check_dcloud.py</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/spark-apic-lab-traceback-on-check-dcloud-py/m-p/3571920#M2399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;I am working here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;&lt;A class="jive-link-external-small" href="https://learninglabs.cisco.com/tracks/devnet-express-dna/devnet-express-dna-explained/03-environment-03-mission/step/1" rel="nofollow" style="font-style: inherit; font-family: inherit; color: #0a63a7;" target="_blank"&gt;Cisco DevNet Learning Labs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;I can SSH into the UBUNTU machine in the DCLOUD Sandbox:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;SSIMLO-M-D00G:LM-4302 ssimlo$ ssh cisco@198.18.134.28&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;cisco@198.18.134.28's password: &lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 4.4.0-42-generic x86_64)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;* Documentation:&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://help.ubuntu.com/" rel="nofollow" style="font-style: inherit; font-family: inherit; color: #0a63a7;" target="_blank"&gt;https://help.ubuntu.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;206 packages can be updated.&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;148 updates are security updates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;Your Hardware Enablement Stack (HWE) is supported until April 2019.&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;Last login: Mon Jun 12 17:26:58 2017 from 10.16.51.148&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;Code-Samples were successfully updated.&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;Happy Coding!!!&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;(dna) cisco@ubuntu:~/CiscoDevNet/code/dna$&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;When I try to run the check_dcloud.py I get a traceback: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;(dna) cisco@ubuntu:~/CiscoDevNet/code/dna/LM-4302$ python3 check_dcloud.py&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&amp;nbsp; File "check_dcloud.py", line 9, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from hello_lab import APIC_EM_URL&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&amp;nbsp; File "/home/cisco/CiscoDevNet/code/dna/LM-4302/hello_lab.py", line 81, in &amp;lt;module&amp;gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; room_id = spark_get_room_id(SPARK_TOKN, SPARK_ROOM)&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&amp;nbsp; File "/home/cisco/CiscoDevNet/code/dna/LM-4302/myspark.py", line 42, in spark_get_room_id&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; r = requests.get(uri, params=query, headers=_headers(token))&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&amp;nbsp; File "/home/cisco/CiscoDevNet/code/dna/LM-4302/myspark.py", line 15, in _headers&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Authorization': 'Bearer ' + token}&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;TypeError: Can't convert 'NoneType' object to str implicitly&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;(dna) cisco@ubuntu:~/CiscoDevNet/code/dna/LM-4302$&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;I posted in the &lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&lt;A href="https://community.cisco.com/space/5028" target="_blank"&gt;DevNet Learning Labs&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;but got no reply&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;&lt;/P&gt;&lt;P style="font-size: 18px; font-family: Menlo; color: #000000;"&gt;I opened a case with dCloud and they pointed me back here&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2019 09:32:28 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/spark-apic-lab-traceback-on-check-dcloud-py/m-p/3571920#M2399</guid>
      <dc:creator>Steve Simlo</dc:creator>
      <dc:date>2019-06-04T09:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: SPARK APIC lab - traceback on check_dcloud.py</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/spark-apic-lab-traceback-on-check-dcloud-py/m-p/3571921#M2400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just span up another lab to see if the fault disappeared and it did not so it was not an issue specific to the instances I span up&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:21:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/spark-apic-lab-traceback-on-check-dcloud-py/m-p/3571921#M2400</guid>
      <dc:creator>Steve Simlo</dc:creator>
      <dc:date>2017-08-17T10:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: SPARK APIC lab - traceback on check_dcloud.py</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/spark-apic-lab-traceback-on-check-dcloud-py/m-p/3571922#M2401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ssimlo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we will get back to you with an answer ASAP. &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;eddie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 10:46:53 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/spark-apic-lab-traceback-on-check-dcloud-py/m-p/3571922#M2401</guid>
      <dc:creator>admin11111</dc:creator>
      <dc:date>2017-08-17T10:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: SPARK APIC lab - traceback on check_dcloud.py</title>
      <link>https://community.cisco.com/t5/devnet-sandbox/spark-apic-lab-traceback-on-check-dcloud-py/m-p/3571923#M2402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to successfully run the check_dcloud.py script fist you will need to populate SPARK_TOKN and SPARK_ROOM variables located in hello_lab.py file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Spark token can be obtained from &lt;A href="https://developer.ciscospark.com/" title="https://developer.ciscospark.com/"&gt;https://developer.ciscospark.com/&lt;/A&gt; page. After successful authentication, click on your avatar picture and access token will be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From Cisco Spark, pick a room where you would like to post a message and assign it to the SPARK_ROOM variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that run the script and you should see a message on your terminal confirming that dCloud pod is ready for the labs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS. I will update the script so it will notify the user that important variables need to be populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Armen M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 06:30:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/devnet-sandbox/spark-apic-lab-traceback-on-check-dcloud-py/m-p/3571923#M2402</guid>
      <dc:creator>armartir</dc:creator>
      <dc:date>2017-08-21T06:30:34Z</dc:date>
    </item>
  </channel>
</rss>

