Hi,

‘/tmp/payload/launch-params'  is the file where Stratos stores the payload
sent to the instance. Is this a instance created by Stratos?

On Fri, Feb 27, 2015 at 5:50 PM, Sajith Abeywardhana <saji...@wso2.com>
wrote:

> Hi All,
>
> I'm getting this ERROR while executing *puppet agent --test* command. I
> lunched an Ubuntu 14.04 cloud instance, which puppet agent installed, to
> run this command. I checked the /tmp/payload/ folder and it dose not have
> any thing.
>
> Info: Computing checksum on file
> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh
> Info: FileBucket got a duplicate file {md5}4efaa350c2db8d342e265535bf83175a
> Info:
> /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]:
> Filebucketed
> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh
> to puppet with sum 4efaa350c2db8d342e265535bf83175a
> Notice:
> /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/artifacts-updated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/artifacts-updated.sh]/content:
> content changed '{md5}4efaa350c2db8d342e265535bf83175a' to
> '{md5}9b2677c68a1f45738c64a242e01c66f4'
> Notice: /Stage[main]/Python_agent/Exec[copy launch-params to
> agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such
> file or directory
> Error: mkdir -p
> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp
> /tmp/payload/launch-params
> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
> returned 1 instead of one of [0]
> Error: /Stage[main]/Python_agent/Exec[copy launch-params to
> agent_home]/returns: change from notrun to 0 failed: mkdir -p
> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp
> /tmp/payload/launch-params
> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
> returned 1 instead of one of [0]
> Notice: /Stage[main]/Python_agent/Exec[copy launch-params to
> agent_home]/returns: cp: cannot stat ‘/tmp/payload/launch-params’: No such
> file or directory
> Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]:
> Failed to call refresh: mkdir -p
> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload; cp
> /tmp/payload/launch-params
> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
> returned 1 instead of one of [0]
> Error: /Stage[main]/Python_agent/Exec[copy launch-params to agent_home]:
> mkdir -p /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload;
> cp /tmp/payload/launch-params
> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/payload/launch-params
> returned 1 instead of one of [0]
> Notice:
> /Stage[main]/Python_agent/Python_agent::Push_templates[extensions/member-activated.sh]/File[/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh]/content:
> ---
> /mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/extensions/member-activated.sh
>  2015-02-17
> 21:11:06.000000000 +0530
> +++ /tmp/puppet-file20150227-24953-1rz6o7h 2015-02-27 17:30:26.067505000
> +0530
> @@ -24,20 +24,278 @@
>  # --------------------------------------------------------------
>  #
>
>
> *Sajith Abeywardhana* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka.
> Mobile: +94772260485
> Email: saji...@wso2.com <mahe...@wso2.com> | Web: www.wso2.com
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Reply via email to