stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manula Chathurika Thantriwatte <manu...@wso2.com>
Subject Git repository didn't clone to the instance
Date Tue, 06 Jan 2015 09:21:46 GMT
Hi All,

I have faced $subject. Following is the agent log. Is anyone get this issue.

'{"clusterId":"mytomcat.tomcat.domain","repoURL":"
https://github.com/manulachathurika/Apache_Stratos_Tomcat_Applications.git
","tenantId":"-1234","commitEnabled":false}'
2015-01-06 14:29:02,565:DEBUG:Executing handler for event
'ArtifactUpdatedEvent'
2015-01-06 14:29:02,565:INFO:Artifact update event received: [tenant]
u'-1234' [cluster] u'mytomcat.tomcat.domain' [status] None
2015-01-06 14:29:02,566:INFO:Executing git checkout
2015-01-06 14:29:02,566:DEBUG:Executing git clone: [tenant-id] -1234
[repo-url]
https://github.com/manulachathurika/Apache_Stratos_Tomcat_Applications.git
2015-01-06 14:29:02,566:DEBUG:Repo path returned : ''
2015-01-06 14:29:02,589:ERROR:Permission denied for repository path for
tenant u'-1234'
Traceback (most recent call last):
  File
"/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
line 230, in clone
    repo = Repo.clone_from(repo_context.repo_url,
repo_context.local_repo_path)
  File "/usr/local/lib/python2.7/dist-packages/git/repo/base.py", line 727,
in clone_from
    return cls._clone(Git(os.getcwd()), url, to_path, GitCmdObjectDB,
**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/git/repo/base.py", line 682,
in _clone
    git.clone(url, path, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 219, in
<lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 430, in
_call_process
    return self.execute(call, **_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/git/cmd.py", line 309, in
execute
    **subprocess_kwargs
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
2015-01-06 14:29:02,591:DEBUG:Git clone executed: [tenant-id] -1234
[repo-url]
https://github.com/manulachathurika/Apache_Stratos_Tomcat_Applications.git
2015-01-06 14:29:02,592:DEBUG:Executing artifacts updated extension
2015-01-06 14:29:02,592:DEBUG:Reading property: extension.artifacts.updated
= artifacts-updated.sh

Thanks !

-- 
Regards,
Manula Chathurika Thantriwatte
Software Engineer
WSO2 Inc. : http://wso2.com
lean . enterprise . middleware

email : manulac@wso2.com / manula@apache.org
phone : +94 772492511
blog : http://manulachathurika.blogspot.com/

Mime
View raw message