RSpec install from tarball failed

9 views
Skip to first unread message

Asep Noor Mukhdari Sutrisna

unread,
Apr 29, 2015, 7:51:58 PM4/29/15
to geni-...@googlegroups.com, cloudla...@googlegroups.com
Hi all,

I’ve been trying to install and run a script from a URL using geni-lib generated RSpec like this:
<services>
      <install url="http://apt085.apt.emulab.net/geni/prepare_tomato_node.tar.gz" install_path="/local"/>
      <execute shell="sh" command="sudo /local/prepare_tomato_node.sh”/>
</services>

However I can’t find the script installed in /local.

Could anyone have a look at the error?

Here’s the slice's URL:
I’ve also tried using /tmp as install_path, but still have no script installed
https://www.apt.emulab.net/showslicepub.php?publicid=7857d1f7d617cb189bd9f65f44889c91

Regards,
Asep

Leigh Stoller

unread,
Apr 30, 2015, 8:24:25 AM4/30/15
to Asep Noor Mukhdari Sutrisna, geni-...@googlegroups.com, cloudla...@googlegroups.com
> However I can’t find the script installed in /local.

Hi. A good place to look for help are the logs in /var/emulab/logs.
Take a look a bootsetup.debug and others in that directory. See
anything that might indicate what went wrong?

Leigh





Asep Noor Mukhdari Sutrisna

unread,
Apr 30, 2015, 8:38:31 AM4/30/15
to Leigh Stoller, geni-...@googlegroups.com, cloudla...@googlegroups.com

> Hi. A good place to look for help are the logs in /var/emulab/logs.
> Take a look a bootsetup.debug and others in that directory. See
> anything that might indicate what went wrong?

Hi Leigh,

Thanks for the pointer, I found this error in bootsetup.debug:

Checking Testbed Tarball configuration ...
boss.apt.emulab.net:/proj/ToMaTo-KL-PG0/exp/SLC-x3Xsn/7a31ef97b9483f7f5fa0efb1e05cd053.tar.gz: Installing tarball in /local
*** /usr/local/bin/install-tarfile:
Could not retrieve /proj/ToMaTo-KL-PG0/exp/SLC-x3Xsn/7a31ef97b9483f7f5fa0efb1e05cd053.tar.gz from boss.apt.emulab.net
boss.apt.emulab.net:/proj/ToMaTo-KL-PG0/exp/SLC-x3Xsn/7a31ef97b9483f7f5fa0efb1e05cd053.tar.gz: finished in 1 seconds

I find that the file exists, even I can manually do this:
sudo install-tarfile /local /proj/ToMaTo-KL-PG0/exp/SLC-x3Xsn/7a31ef97b9483f7f5fa0efb1e05cd053.tar.gz

So, I have no idea what went wrong..

regards,

Asep

Leigh Stoller

unread,
Apr 30, 2015, 8:45:11 AM4/30/15
to Asep Noor Mukhdari Sutrisna, geni-...@googlegroups.com, cloudla...@googlegroups.com
> So, I have no idea what went wrong..

Okay, let me take a look and see. Can you send me the url
of the experiment status page please.

Leigh





Asep Noor Mukhdari Sutrisna

unread,
Apr 30, 2015, 9:00:55 AM4/30/15
to Leigh Stoller, geni-...@googlegroups.com, cloudla...@googlegroups.com

Okay, let me take a look and see. Can you send me the url
of the experiment status page please.


and Manifest:

    <node client_id="THM-kAtpf" component_id="urn:publicid:IDN+apt.emulab.net+node+apt099" component_manager_id="urn:publicid:IDN+apt.emulab.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+apt.emulab.net+sliver+18276">
        <sliver_type name="raw-pc">
        </sliver_type>
        <services>
            <install install_path="/local" url="http://apt085.apt.emulab.net/geni/prepare_tomato_node.tar.gz"/>
            <execute command="sudo /local/prepare_tomato_node.sh" shell="sh"/>
          <login authentication="ssh-keys" hostname="apt099.apt.emulab.net" port="22" username="sutrisna"/>      <rs:console xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" server="boss.apt.emulab.net"/>    </services>
        <ns0:blockstore xmlns:ns0="http://www.protogeni.net/resources/rspec/ext/emulab/1" class="local" mountpoint="/tomato" name="b1" size="300GB"/>
      <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="apt099"/>    <host name="THM-kAtpf.SLC-x3Xsn.ToMaTo-KL-PG0.apt.emulab.net"/>  </node>
    <node client_id="THM-uj4tG" component_id="urn:publicid:IDN+apt.emulab.net+node+apt094" component_manager_id="urn:publicid:IDN+apt.emulab.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+apt.emulab.net+sliver+18277">
        <sliver_type name="raw-pc">
        </sliver_type>
        <services>
            <install install_path="/local" url="http://apt085.apt.emulab.net/geni/prepare_tomato_node.tar.gz"/>
            <execute command="sudo /local/prepare_tomato_node.sh" shell="sh"/>
          <login authentication="ssh-keys" hostname="apt094.apt.emulab.net" port="22" username="sutrisna"/>      <rs:console xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" server="boss.apt.emulab.net"/>    </services>
        <ns1:blockstore xmlns:ns1="http://www.protogeni.net/resources/rspec/ext/emulab/1" class="local" mountpoint="/tomato" name="b1" size="300GB"/>
      <rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="apt094"/>    <host name="THM-uj4tG.SLC-x3Xsn.ToMaTo-KL-PG0.apt.emulab.net"/>  </node>
  <rs:site_info xmlns:rs="http://www.protogeni.net/resources/rspec/ext/site-info/1">    <rs:location country="US" latitude="40.750714" longitude="-111.893288"/>  </rs:site_info></rspec>

regards,

Asep

Leigh Stoller

unread,
Apr 30, 2015, 11:09:31 AM4/30/15
to Asep Noor Mukhdari Sutrisna, geni-...@googlegroups.com, cloudla...@googlegroups.com
>> So, I have no idea what went wrong..
>>
> Okay, let me take a look and see. Can you send me the url
> of the experiment status page please.

Okay, the problem should be fixed. You will need to restart your
experiment to take advantage of the fix.

Leigh





Asep Noor Mukhdari Sutrisna

unread,
Apr 30, 2015, 3:37:14 PM4/30/15
to Leigh Stoller, geni-...@googlegroups.com, cloudla...@googlegroups.com

> Okay, the problem should be fixed. You will need to restart your
> experiment to take advantage of the fix.

Thanks Leigh, it works! :)

regards,

Asep

Asep Noor Mukhdari Sutrisna

unread,
May 4, 2015, 9:20:32 PM5/4/15
to Leigh Stoller, geni-...@googlegroups.com, cloudla...@googlegroups.com

> On Apr 30, 2015, at 9:37 PM, Asep Noor Mukhdari Sutrisna <asep...@gmail.com> wrote:
>
>
>> Okay, the problem should be fixed. You will need to restart your
>> experiment to take advantage of the fix.
>
> Thanks Leigh, it works! :)


Hi, Leigh, sorry, it seems the fix doesn’t work with new snapshot that I created.
I’ve checked /var/emulab/logs and found the same error message.

Here’s my manifest:

<rspec xmlns="http://www.geni.net/resources/rspec/3" xmlns:client="http://www.protogeni.net/resources/rspec/ext/client/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" expires="2015-05-12T00:53:50Z" type="manifest" xsi:schemaLocation="http://www.geni.net/resources/rspec/3 http://www.geni.net/resources/rspec/3/manifest.xsd">
<node client_id="THM-X3Lk9" component_id="urn:publicid:IDN+apt.emulab.net+node+apt148" component_manager_id="urn:publicid:IDN+apt.emulab.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+apt.emulab.net+sliver+19068">
<sliver_type name="raw-pc">
<disk_image name="https://www.apt.emulab.net/image_metadata.php?uuid=ed0d9690-a71d-11e4-9439-db9edc46fe2c"/>
</sliver_type>
<services>
<install install_path="/local" url="http://apt085.apt.emulab.net/geni/prepare_tomato_node.tar.gz"/>
<execute command="sudo /local/prepare_tomato_node.sh" shell="sh"/>
<login authentication="ssh-keys" hostname="apt148.apt.emulab.net" port="22" username="sutrisna"/> <rs:console xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" server="boss.apt.emulab.net"/> </services>
<ns0:blockstore xmlns:ns0="http://www.protogeni.net/resources/rspec/ext/emulab/1" class="local" mountpoint="/tomato" name="b1" size="300GB"/>
<rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="apt148"/> <host name="THM-X3Lk9.SLC-Piv1d.ToMaTo-KL-PG0.apt.emulab.net"/> </node>
<node client_id="THM-8nsqu" component_id="urn:publicid:IDN+apt.emulab.net+node+apt182" component_manager_id="urn:publicid:IDN+apt.emulab.net+authority+cm" exclusive="true" sliver_id="urn:publicid:IDN+apt.emulab.net+sliver+19069">
<sliver_type name="raw-pc">
<disk_image name="https://www.apt.emulab.net/image_metadata.php?uuid=ed0d9690-a71d-11e4-9439-db9edc46fe2c"/>
</sliver_type>
<services>
<install install_path="/local" url="http://apt085.apt.emulab.net/geni/prepare_tomato_node.tar.gz"/>
<execute command="sudo /local/prepare_tomato_node.sh" shell="sh"/>
<login authentication="ssh-keys" hostname="apt182.apt.emulab.net" port="22" username="sutrisna"/> <rs:console xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" server="boss.apt.emulab.net"/> </services>
<ns1:blockstore xmlns:ns1="http://www.protogeni.net/resources/rspec/ext/emulab/1" class="local" mountpoint="/tomato" name="b1" size="300GB"/>
<rs:vnode xmlns:rs="http://www.protogeni.net/resources/rspec/ext/emulab/1" name="apt182"/> <host name="THM-8nsqu.SLC-Piv1d.ToMaTo-KL-PG0.apt.emulab.net"/> </node>

Leigh Stoller

unread,
May 5, 2015, 8:44:50 AM5/5/15
to Asep Noor Mukhdari Sutrisna, geni-...@googlegroups.com, cloudla...@googlegroups.com
> Hi, Leigh, sorry, it seems the fix doesn’t work with new snapshot that I
> created.
> I’ve checked /var/emulab/logs and found the same error message.

Hi. Well, I can't seem to reproduce the problem. Why don't you try
recreating this experiment and see what happens.

Thanks
Leigh

Asep Noor Mukhdari Sutrisna

unread,
May 5, 2015, 4:43:55 PM5/5/15
to Leigh Stoller, geni-...@googlegroups.com, cloudla...@googlegroups.com
>
> Hi. Well, I can't seem to reproduce the problem. Why don't you try
> recreating this experiment and see what happens.

Hi,
Don’t know why the previous slice doesn’t work.
Anyway, it works when I started another experiment.

Thanks,

Asep
Reply all
Reply to author
Forward
0 new messages