-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request juju#16588 from wallyworld/merge-3.4-20231116
juju#16588 Merge 3.4 Conflicts were due to adding a context to calls in main. juju#16552 [from barrettj12/minimal](juju@0ec38c2) juju#16551 [from barrettj12/bump-cmd](juju@6c4a15e) juju#16558 [from barrettj12/bootstrap-doc](juju@189de77) juju#16559 [from ycliuhw/fix-vault-setup](juju@737ad81) juju#16520 [from jack-w-shaw/JUJU-4732_use_charm_name_i…](juju@f835120) juju#16555 [from masnax/3.1](juju@bc48204) juju#16566 [from barrettj12/chrev](juju@e2c0e11) juju#16565 [from jack-w-shaw/write_caas_application_pro…](juju@27628d1) juju#16569 [from SimonRichardson/remove-lxd-retry-logic](juju@c17d277) ``` # Conflicts: # apiserver/facades/client/application/repository_mocks_test.go # apiserver/facades/client/charms/client.go # apiserver/facades/client/charms/client_test.go # apiserver/facades/client/charms/mocks/repository.go # cmd/jujud/agent/bootstrap_test.go # cmd/jujud/agent/controllercharm.go # core/charm/downloader/downloader.go # core/charm/downloader/downloader_test.go # core/charm/downloader/export_test.go # core/charm/downloader/mocks/charm_mocks.go # core/charm/repository.go # core/charm/repository/charmhub.go # core/charm/repository/charmhub_test.go # scripts/win-installer/setup.iss # snap/snapcraft.yaml # version/version.go ```
- Loading branch information
Showing
16 changed files
with
102 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ Used without arguments, bootstrap will step you through the process of | |
initializing a Juju cloud environment. Initialization consists of creating | ||
a 'controller' model and provisioning a machine to act as controller. | ||
We recommend you call your controller ‘username-region’ e.g. ‘fred-us-east-1’ | ||
We recommend you call your controller ‘username-region’ e.g. ‘fred-us-east-1’. | ||
See --clouds for a list of clouds and credentials. | ||
See --regions <cloud> for a list of available regions for a given cloud. | ||
|
@@ -103,23 +103,23 @@ used with the MAAS provider ('--to <host>.maas'). | |
You can change the default timeout and retry delays used during the | ||
bootstrap by changing the following settings in your configuration | ||
(all values represent number of seconds): | ||
# How long to wait for a connection to the controller | ||
bootstrap-timeout: 1200 # default: 20 minutes | ||
# How long to wait between connection attempts to a controller | ||
address. | ||
bootstrap-retry-delay: 5 # default: 5 seconds | ||
bootstrap-timeout: 1200 # default: 20 minutes | ||
# How long to wait between connection attempts to a controller address. | ||
bootstrap-retry-delay: 5 # default: 5 seconds | ||
# How often to refresh controller addresses from the API server. | ||
bootstrap-addresses-delay: 10 # default: 10 seconds | ||
bootstrap-addresses-delay: 10 # default: 10 seconds | ||
It is possible to override the base e.g. [email protected], Juju attempts | ||
to bootstrap on to, by supplying a base argument to '--bootstrap-base'. | ||
An error is emitted if the determined base is not supported. Using the | ||
'--force' option to override this check: | ||
juju bootstrap [email protected] --force | ||
juju bootstrap [email protected] --force | ||
The '--bootstrap-series' can be still used, but is deprecated in favour | ||
The '--bootstrap-series' flag can be still used, but is deprecated in favour | ||
of '--bootstrap-base'. | ||
Private clouds may need to specify their own custom image metadata and | ||
|
@@ -137,9 +137,9 @@ The agent version can be specified a simple numeric version, e.g. 2.2.4. | |
For example, at the time when 2.3.0, 2.3.1 and 2.3.2 are released and your | ||
agent stream is 'released' (default), then a 2.3.1 client can bootstrap: | ||
* 2.3.0 controller by running '... bootstrap --agent-version=2.3.0 ...'; | ||
* 2.3.1 controller by running '... bootstrap ...'; | ||
* 2.3.2 controller by running 'bootstrap --auto-upgrade'. | ||
* 2.3.0 controller by running '... bootstrap --agent-version=2.3.0 ...'; | ||
* 2.3.1 controller by running '... bootstrap ...'; | ||
* 2.3.2 controller by running 'bootstrap --auto-upgrade'. | ||
However, if this client has a copy of codebase, then a local copy of Juju | ||
will be built and bootstrapped - 2.3.1.1. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// Copyright 2023 Canonical Ltd. | ||
// Licensed under the AGPLv3, see LICENCE file for details. | ||
|
||
package all | ||
|
||
// This file is here so that you can compile Juju with no providers | ||
// (i.e. BUILD_TAGS='minimal'). Otherwise, Go will complain that the build | ||
// constraints exclude all Go files in this package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright 2023 Canonical Ltd. | ||
// Licensed under the AGPLv3, see LICENCE file for details. | ||
|
||
// Package caasapplicationprovisioner defines two types of worker: | ||
// - provisioner: Watches a Kubernetes model and starts a new worker | ||
// of the appWorker type whenever an application is created. | ||
// - appWorker: Drives the Kubernetes provider to create, manage, | ||
// and destroy Kubernetes resources to match a requested state. Also | ||
// writes the state of created resources (application/unit status, | ||
// application/unit IP addresses & ports, filesystem info, etc.) | ||
// back into the database. | ||
package caasapplicationprovisioner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright 2023 Canonical Ltd. | ||
// Licensed under the AGPLv3, see LICENCE file for details. | ||
|
||
// Package charmrevision defines the charm revision updater worker. This worker | ||
// is responsible for polling Charmhub every 24 hours to check if there are new | ||
// revisions available of any repository charm deployed in the model. If so, it | ||
// will put a document in the Juju database, so that the next time the user runs | ||
// `juju status`, they can see that there is an update available. This worker | ||
// also sends anonymised usage metrics to Charmhub when it polls. | ||
// | ||
// This worker doesn't contain much business logic - most of the work is | ||
// delegated to the facade call. | ||
package charmrevision |