Comments (7)
It seems command was executed inside the codenvy installation manager install directory. Please, try to execute it again outside codenvy directory.
If it doesn't help, review of
/var/log/puppet/puppet-agent.log and codenvy/cli/logs/cli.log would be useful.
from codenvy.
Also dymtro. Please change the error message from "has been failed" to "failed". Better English.
from codenvy.
@tolusha can you verify @dmytro-ndp's suggestion helps?
from codenvy.
I didn't help. Installation manager log:
Caused by: com.codenvy.im.agent.AgentException: Can't execute command 'COUNTER=0
while true; do
sudo puppet cert list --all | grep '"codenvy"' &>/dev/null
hasCertificate=$?
if [[ $hasCertificate == 0 ]]; then
sudo systemctl restart puppetmaster
break
fi
sleep 10
let COUNTER=COUNTER+1
if [[ $COUNTER -eq 30 ]]; then
echo 'Puppet agent error' >&2
exit 1
fi
done
'. Output: ; Error: Puppet agent error.
<------>at com.codenvy.im.agent.AgentException.create(AgentException.java:34)
<------>at com.codenvy.im.agent.LocalAgent.executeWithoutPassword(LocalAgent.java:97)
<------>at com.codenvy.im.agent.LocalAgent.execute(LocalAgent.java:54)
<------>at com.codenvy.im.commands.SimpleCommand.execute(SimpleCommand.java:104)
<------>... 27 more
Caused by: java.lang.Exception: Output: ; Error: Puppet agent error.
<------>at com.codenvy.im.agent.AbstractAgent.processOutput(AbstractAgent.java:53)
<------>at com.codenvy.im.agent.LocalAgent.executeWithoutPassword(LocalAgent.java:94)
<------>... 29 more
.
2016-07-20 14:56:05 +0100 [SEVERE] com.codenvy.im.console.Console printErrorAndExit {
"message" : "Command execution fail. Error: Can't execute command 'COUNTER=0\n while true; do\n sudo puppet cert list --all | grep '"codenvy"' &>/dev/null\n hasCertificate=$?\n if [[ $hasCertificate == 0
"status" : "ERROR"
}..
from codenvy.
Puppet agent log:
2016-07-20 14:40:55 +0100 Puppet (notice): Finished catalog run in 4.62 seconds
2016-07-20 14:43:44 +0100 Puppet (notice): Caught TERM; exiting
2016-07-20 14:50:09 +0100 Puppet (err): Could not request certificate: Connection timed out - connect(2)
2016-07-20 14:50:30 +0100 Puppet (err): Could not run: SIGTERM
2016-07-20 14:56:53 +0100 Puppet (err): Could not request certificate: Connection timed out - connect(2)
from codenvy.
Removing blocker status because this does not require changes to code so can be released at any time.
from codenvy.
I reproduced this issue locally in case when IP of 'apptium' host is unavailable.
Fixup: add next record into /etc/hosts file on Master Server:
127.0.0.1 apptium
Actually, there is dedicated issue #464 to do such kind of fixup automatically.
from codenvy.
Related Issues (20)
- I need to change the stack from Dot Notation to Ubuntu
- Versions of Components dont match selected Versions in Stack definition
- Having a problem with signing up HOT 8
- I can't log in to codenvy.io HOT 1
- Centos 8 - unable to install following admin guide/installation HOT 1
- Get the Public URL from a Springboot Controller
- Docker Connection Issue
- Request URL: http://localhost/api/workspace?namespace=admin&attribute=stackId:php-default
- How can we create a factory?
- Android Stack HOT 4
- Debugger failing for stack Java Gradle Project HOT 1
- Android stack not found HOT 2
- Disable popup every time build complete
- Android stack not found HOT 1
- Can I Create A Website?
- Came back to my hello world project that i was using to check out the software w/ being gone
- Unable to install pipenv or Virtualenv in Codeenvy Django Starter template
- Are the docs still relevant? HOT 1
- Does snapshotting work with this last version? HOT 2
- com.codenvy.onpremises:onpremises-assembly-parent:5.23.0-SNAPSHOT is missing.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codenvy.