Skip to content

Commit f650258

Browse files
committed
also add release note changes
1 parent c69c7bf commit f650258

File tree

1 file changed

+55
-33
lines changed

1 file changed

+55
-33
lines changed

src/en/temp-release-notes.md

Lines changed: 55 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Juju 2.0-beta11
1+
# Juju 2.0-beta12
22

3-
A new development release of Juju, juju 2.0-beta11, is now available.
4-
This release replaces version 2.0-beta10.
3+
A new development release of Juju, juju 2.0-beta12, is now available.
4+
This release replaces version 2.0-beta11.
55

6-
## What's New in Beta11
6+
## What's New in Beta12
77

8-
* Config can now be associated with clouds in clouds.yaml
9-
* Consistent wire protocol for the Juju API. For more details, see:
10-
https://lists.ubuntu.com/archives/juju-dev/2016-June/005715.html
11-
* Initial support for:
12-
* Juju log forwarding
13-
* Audit logging
8+
* 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
1414

1515
## Notable Changes
1616

@@ -44,6 +44,8 @@ This release replaces version 2.0-beta10.
4444
* Config can be included in clouds.yaml
4545
* Juju log forwarding
4646
* Audit logging
47+
* Model permissions
48+
* New hook command: application-version-set
4749
* Known Issues
4850

4951

@@ -177,7 +179,7 @@ The main new commands of note are:
177179
juju grant
178180
Juju revoke
179181
juju list-shares
180-
juju use-model
182+
juju use-model
181183
juju list-users
182184
juju switch-user
183185

@@ -254,7 +256,7 @@ https://jujucharms.com/docs/devel/controllers
254256
https://jujucharms.com/docs/devel/models
255257

256258

257-
#### LXD, Manual, and MAAS Providers
259+
#### LXD, Manual, and MAAS Providers
258260

259261
To bootstrap models using the LXD, manual, and MAAS providers, see the special clouds section of: https://jujucharms.com/docs/devel/clouds
260262

@@ -342,7 +344,7 @@ key-id, manta-url
342344
### Native Support for Charm Bundles
343345

344346
The Juju 'deploy' command can now deploy a bundle. A bundle is a
345-
collection of charms that together create an entire system. The
347+
collection of charms that together create an entire system. The
346348
Juju Quickstart or Deployer plugins are no longer needed to deploy
347349
a bundle of charms. See: https://jujucharms.com/docs/devel/charms-bundles
348350

@@ -402,15 +404,15 @@ to utilize a cloud provider.
402404

403405
LXD has been made available in Trusty backports, but needs manual
404406
dependency resolution:
405-
407+
406408
sudo apt-get --target-release trusty-backports install lxd
407-
409+
408410
Before using a locally running LXD after installing it, either through
409411
Juju or the LXD CLI ("lxc"), you must either log out and back in or run
410412
this command:
411-
413+
412414
newgrp lxd
413-
415+
414416
See: https://linuxcontainers.org/lxd/getting-started-cli/
415417

416418

@@ -450,7 +452,7 @@ allocating more machines than there are public IP addresses.
450452

451453
A new provider has been added that supports hosting a Juju model in
452454
Rackspace Public Cloud. As Rackspace Cloud is based on OpenStack,
453-
most of the features and configuration options for those two
455+
most of the features and configuration options for those two
454456
providers are identical.
455457

456458

@@ -459,7 +461,7 @@ providers are identical.
459461
While bootstrapping, you can now specify constraints for the bootstrap
460462
machine independently of the application constraints:
461463

462-
juju bootstrap --constraints <application-constraints>
464+
juju bootstrap --constraints <application-constraints>
463465
--bootstrap-constraints <bootstrap-machine-constraints>
464466

465467
You can also specify the series of the bootstrap machine:
@@ -585,16 +587,15 @@ when deploying individual charms. The bundle YAML can include a section
585587
called "bindings", defining the map of endpoint names to space names.
586588

587589
Example bundle.yaml excerpt:
588-
589-
```yaml
590+
...
590591
mysql:
591592
charm: cs:trusty/mysql-53
592593
num_units: 1
593594
constraints: mem=4G
594595
bindings:
595596
server: database
596597
cluster: internal
597-
```
598+
...
598599

599600
Deploying a bundle including a section like in the example above, is
600601
equivalent to running:
@@ -614,7 +615,7 @@ address to use for a given unit.
614615
There is currently a mandatory '--primary-address' argument to 'network-
615616
get', which guarantees a single IP address to be returned.
616617

617-
Example (within a charm hook):
618+
Example (within a charm hook):
618619

619620
relation-ids cluster
620621
url:2
@@ -680,14 +681,14 @@ Three new commands have been introduced:
680681
1. juju list-resources
681682

682683
usage: juju list-resources [options] application-or-unit
683-
684+
684685
This command shows the resources required by and those in use by an
685686
existing application or unit in your model.
686687

687688
2. juju push-resource
688689

689690
usage: juju push-resource [options] application name=file
690-
691+
691692
This command uploads a file from your local disk to the juju
692693
controller to be used as a resource for a application.
693694

@@ -746,7 +747,7 @@ state of the machine as it transitions from allocating to deploying to
746747
deployed. For containers it also provides extra information about the
747748
container being created.
748749

749-
juju status --format=yaml
750+
juju status --format yaml
750751

751752
model: admin
752753
machines:
@@ -914,12 +915,10 @@ clouds:
914915

915916
### Juju Log Forwarding
916917

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:
918-
https://bugs.launchpad.net/juju-core/+bugs?field.tag=log-forwarding
918+
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.
919919

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.
921-
922-
$ juju bootstrap <controllername> <cloud> --config logconfig.yaml
920+
$ juju bootstrap <controllername> <cloud>
921+
--config logforward-enabled=true --config logconfig.yaml
923922

924923
The contents of the yaml file should currently be as follows:
925924

@@ -937,6 +936,8 @@ syslog-client-key: |
937936
<cert-contents>
938937
-----END PRIVATE KEY-----
939938

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+
940941
#### Wire Format
941942
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.
942943

@@ -972,6 +973,28 @@ In its initial implementation, audit logging is on by default. The audit log wi
972973

973974
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.
974975

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+
975998
### Known issues
976999

9771000
* 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
9841007
api port in controller security group
9851008
Lp 1598164
9861009
* 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
9881011
Storage")
9891012

9901013

991-
9921014
# Resolved issues
9931015

9941016
* Ha recovery fails in azure

0 commit comments

Comments
 (0)