Comments (4)
@almahmoud I just forked the repository. How do you advise I begin?
from cloudman.
If you look at the old commit: 75cfd31 could give you an idea of what was added before (essentially a name is created based on a template from the project name, and it fetches the secret with the KubeClient).
In terms of what to do for this specific issue, it's a matter of adding a retry on the try part of the the try/except here:
cloudman/cloudman/projman/api.py
Line 194 in 87b3aaa
You can use the tenacity library, (here is a quick blog about tenacity: https://julien.danjou.info/python-tenacity/ )
Down the line we can make it a bit smarter, like checking for the chart that is being installed, but this would be a good start!
from cloudman.
Alrighty... Let me get that working locally
from cloudman.
Hi @almahmoud, I was able to come up with
retryer = tenacity.Retrying(
stop=tenacity.stop_after_attempt(3),
retry=tenacity.retry_if_exception_type(),
wait=tenacity.wait_fixed(5))
retryer.call()
Question I have is do I need the try/except
block after using tenacity?
from cloudman.
Related Issues (20)
- Worker node names and elastic IPs HOT 1
- Workers should get private ips unless controller nodes
- Cloudman admin page not displaying HOT 5
- CloudMan 16.01 and 16.04 fail to start HOT 13
- FAILURE Task failed: Parameter validation failed: Missing required parameter in input: "ImageId" HOT 1
- Update Galaxy to 18.05 HOT 1
- Select last tool not found in GVL 4.4.0 instance HOT 2
- Please add "Unique" tools to CloudMan instances HOT 4
- Unclear where to report an error on a GVL instance. HOT 3
- Install Tools not showing results in Admin view and/or is astonishingly slow. HOT 3
- Unable to install tools from Tool Shed HOT 3
- Custom Galaxy conf templates are not preserved across system shutdowns. HOT 1
- Adding additional worker nodes causes job failure, collections don't error out HOT 2
- Jobs aren't evenly distributed across workers. HOT 1
- Set worker instance name HOT 1
- CloudManV2 - runtime/cgo: pthread_create failed: Resource temporarily unavailable HOT 1
- Not able to set admin users HOT 1
- cloudman should show an error state when listing apps that have failed
- Explore backup/restore options for cluster
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 cloudman.