Comments (4)
To expand, d.unit
should also have a storage_add
and storage_remove
primitives which Juju has. I completely agree this needs to be added, especially since storage exists in Juju today.
As for the deployer bits, this is in a weird phase change since Juju 2.0 adds native support for bundles, and storage I believe is a part of that primitive, we may need to add storage to deployer as part of this. We can also work around this by transparently supporting it where .add
takes a storage parameter, executes a bundle, then invokes the storage add bits via the API after the bundle completes (or in parallel).
@tvansteenburgh opinions on the best approach for this?
@Yrrsinn we'll schedule this in for something we try to tackle very soon to unblock you and others writing charms with storage.
from amulet.
@axw added support to native bundle deploy with storage a bit ago and it's in 2.0. https://github.com/juju/bundlechanges/blob/2618de2ad622b29a396a826628d4a81b8562d6b2/changes_test.go#L1106
I understand that the deployer doesn't but I wonder if it can pass those settings on without interpreting. That one will have to be a different look/chunk of work.
from amulet.
This is a blocker for me also on the gluster charm.
from amulet.
I just created PR #169 which address this.
from amulet.
Related Issues (20)
- Amulet functions such as file_stat do not work on 16.04 xenial systems
- remove-service in not available on Juju 2.0
- Remove deprecated warning from path.py
- sentry.wait is ineffective when clock skew exists between local machine and remote Juju units
- Surface Amulet failures differently than test failures
- SentryError object has no attribute 'message' HOT 4
- Does configure wait? HOT 1
- relation() helper is backwards HOT 1
- GCE: SSH connection timeout on upload_scripts HOT 19
- Upgrade charm if newer version?
- python3-libcharmstore missing on trusty (Amulet fails to install)
- Adding charm X while cwd is X is tricky
- Please release to pypi with storage support HOT 1
- Action should raise TimeoutError when status is pending
- error: flag provided but not defined: -e (testing actions) HOT 2
- amulet run hangs HOT 4
- get_messages raises UnsupportedError when removing a unit
- Amulet travis CI jobs are failing at master HOT 1
- Missing functionality to deploy charms from different channels in charm store
- Installation instructions suggest PPA for ubuntu, but bionic not supported
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 amulet.