You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*New charm hook command: a new command application-version-set allows charmers to set the version of their running workloads (See application-version-set for details)
9
+
*Model based ACLs: access is now more granular allowing read, write, and admin access (see ‘Model Permissions’ for details)
10
+
* 36 bug fixes including:
11
+
*Leveraging cached resources lp1598113
12
+
* mgo package update that retries upserts that fail with ‘duplicate key error’ lp1593828
13
+
* Prevent controller from being stuck in an infinite loop during teardown lp1591387
14
14
15
15
## Notable Changes
16
16
@@ -44,6 +44,8 @@ This release replaces version 2.0-beta10.
44
44
* Config can be included in clouds.yaml
45
45
* Juju log forwarding
46
46
* Audit logging
47
+
* Model permissions
48
+
* New hook command: application-version-set
47
49
* Known Issues
48
50
49
51
@@ -177,7 +179,7 @@ The main new commands of note are:
This command uploads a file from your local disk to the juju
692
693
controller to be used as a resource for a application.
693
694
@@ -746,7 +747,7 @@ state of the machine as it transitions from allocating to deploying to
746
747
deployed. For containers it also provides extra information about the
747
748
container being created.
748
749
749
-
juju status --format=yaml
750
+
juju status --formatyaml
750
751
751
752
model: admin
752
753
machines:
@@ -914,12 +915,10 @@ clouds:
914
915
915
916
### Juju Log Forwarding
916
917
917
-
Log forwarding is a bare bones implementation which is undergoing ongoing development work to improve the user experience. It should be considered only as a proof of concept. As it is an initial implementation, there are a few known issues:
When enabled, log messages for all hosted models in a controller are forwarded to a syslog server over a secure TLS connection. The easiest way to configure the feature is to provide a config.yaml file at bootstrap.
919
919
920
-
When enabled, log messages for all hosted models in a controller are forwarded to a syslog server. Currently, all required config to activate the feature needs to be provided at bootstrap via a config.yaml file.
The contents of the yaml file should currently be as follows:
925
924
@@ -937,6 +936,8 @@ syslog-client-key: |
937
936
<cert-contents>
938
937
-----END PRIVATE KEY-----
939
938
939
+
The feature can be toggled on or off by setting the logforward-enabled attribute. When enabled, a maximum of 100 previous log lines will be forwarded
940
+
940
941
#### Wire Format
941
942
Syslog messages will be sent using the RFC 5424 message format. We make use of the structured data facility defined in the more recent RFC.
942
943
@@ -972,6 +973,28 @@ In its initial implementation, audit logging is on by default. The audit log wi
972
973
973
974
Since users may interact with Juju from multiple sources (CLI, GUI, deployer, etc.), audit log entries record the API calls made, rather than only reporting CLI commands run. Only those API calls originating from authenticated users calling the external API are logged.
974
975
976
+
### Model permissions
977
+
978
+
Three level of permissions are now available for users on models.
979
+
A user can be given one of three level of permissions on each one of the models in a controller.
980
+
The permissions for a model are:
981
+
* Read: The user can login to the model and obtain status and information about it.
982
+
* Write: The user can deploy/delete services and add relations into a model.
983
+
* Admin: The user has full control over the model except for controller level actions such as deletion. Model owners can delete their own models.
984
+
985
+
### application-version-set
986
+
987
+
Charm authors may trigger this command from any hook to output what version of the application is running. This could be a package version, for instance postgres version 9.5. It could also be a build number or version control revision identifier, for instance git sha 6fb7ba68. The version details will then be displayed in "juju status" output with the application details.
988
+
989
+
Example (within a charm hook):
990
+
991
+
$ application-version-set 9.5.3
992
+
993
+
Then application status will show:
994
+
995
+
APP VERSION STATUS EXPOSED ORIGIN CHARM REV OS
996
+
postgresql 9.5.3 active false local postgresql 0 ubuntu
997
+
975
998
### Known issues
976
999
977
1000
* Juju 2.0 no longer supports KVM for local provider
@@ -984,11 +1007,10 @@ Since users may interact with Juju from multiple sources (CLI, GUI, deployer, et
984
1007
api port in controller security group
985
1008
Lp 1598164
986
1009
* Credentials files containing Joyent credentials must be updated to
987
-
work with beta3 and later (See "Joyent Provider No Longer Uses Manta
1010
+
work with beta3 and later (See "Joyent Provider No Longer Uses Manta
0 commit comments