Update swarm discovery url

The swarm discovery url has been updated in upstream https://github.
com/docker/swarm/commit/6678a167fe873a320d00aa99be09945ac5f9ca96.
Magnum needs to be in sync. And the magnum.conf.sample needs to be
re-generated.

Change-Id: I922af4e784a1a533c92e9dd0665e5b06199b4786
Closes-Bug: #1493553
This commit is contained in:
mathspanda 2015-09-09 17:03:12 +08:00
parent 25ae7c7044
commit 89153303b7
2 changed files with 21 additions and 14 deletions

View File

@ -13,7 +13,7 @@
# Directory where the magnum python module is installed. (string
# value)
#pybasedir = /home/test/magnum/magnum
#pybasedir = /opt/stack/magnum/magnum
# Directory where magnum binaries are installed. (string value)
#bindir = $pybasedir/bin
@ -35,7 +35,7 @@
# (integer value)
#periodic_interval_max = 60
# Name of this node. This can be an opaque identifier. It is not
# Name of this node. This can be an opaque identifier. It is not
# necessarily a hostname, FQDN, or IP address. However, the node name
# must be valid within an AMQP key, and if using ZeroMQ, a valid
# hostname, FQDN, or IP address. (string value)
@ -46,7 +46,7 @@
#
# Print debugging output (set logging level to DEBUG instead of
# default WARNING level). (boolean value)
# default INFO level). (boolean value)
#debug = false
# If set to false, will disable INFO logging level, making WARNING the
@ -88,8 +88,9 @@
# (Optional) Enables or disables syslog rfc5424 format for logging. If
# enabled, prefixes the MSG part of the syslog message with APP-NAME
# (RFC5424). The format without the APP-NAME is deprecated in K, and
# will be removed in M, along with this option. (boolean value)
# (RFC5424). The format without the APP-NAME is deprecated in Kilo,
# and will be removed in Mitaka, along with this option. (boolean
# value)
# This option is deprecated for removal.
# Its value may be silently ignored in the future.
#use_syslog_rfc_format = true
@ -115,7 +116,7 @@
#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
# List of logger=LEVEL pairs. (list value)
#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN
#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN
# Enables or disables publication of error events. (boolean value)
#publish_errors = false
@ -174,8 +175,9 @@
# Heartbeat time-to-live. (integer value)
#matchmaker_heartbeat_ttl = 600
# Size of RPC thread pool. (integer value)
#rpc_thread_pool_size = 64
# Size of executor thread pool. (integer value)
# Deprecated group/name - [DEFAULT]/rpc_thread_pool_size
#executor_thread_pool_size = 64
# The Drivers(s) to handle sending notifications. Possible values are
# messaging, messagingv2, routing, log, test, noop (multi valued)
@ -234,7 +236,7 @@
# From magnum
#
# The port for the Magnum API server. (integer value)
# The port for the Magnum API server. (port number)
# Minimum value: 1
# Maximum value: 65535
#port = 9511
@ -298,7 +300,7 @@
#public_swarm_discovery = true
# Url for swarm public discovery endpoint. (string value)
#public_swarm_discovery_url = https://discovery-stage.hub.docker.com/v1/clusters
#public_swarm_discovery_url = https://discovery.hub.docker.com/v1/clusters
# Location of template to build a Mesos cluster on Ubuntu. (string
# value)
@ -588,6 +590,9 @@
# Verify HTTPS connections. (boolean value)
#insecure = false
# The region in which the identity server can be found. (string value)
#region_name = <None>
# Directory used to cache files related to PKI tokens. (string value)
#signing_dir = <None>
@ -724,7 +729,7 @@
# value)
#k8s_protocol = http
# Default port of the k8s master endpoint. (integer value)
# Default port of the k8s master endpoint. (port number)
# Minimum value: 1
# Maximum value: 65535
#k8s_port = 8080
@ -865,7 +870,8 @@
# keep backward compatible at the same time. This option provides such
# compatibility - it defaults to False in Liberty and can be turned on
# for early adopters with a new installations or for testing. Please
# note, that this option will be removed in M release. (boolean value)
# note, that this option will be removed in the Mitaka release.
# (boolean value)
#send_single_reply = false
# Qpid broker hostname. (string value)
@ -940,7 +946,8 @@
# keep backward compatible at the same time. This option provides such
# compatibility - it defaults to False in Liberty and can be turned on
# for early adopters with a new installations or for testing. Please
# note, that this option will be removed in M release. (boolean value)
# note, that this option will be removed in the Mitaka release.
# (boolean value)
#send_single_reply = false
# SSL version to use (valid only if SSL enabled). Valid values are

View File

@ -65,7 +65,7 @@ template_def_opts = [
help=_('Indicates Swarm discovery should use public '
'endpoint.')),
cfg.StrOpt('public_swarm_discovery_url',
default='https://discovery-stage.hub.docker.com/v1/clusters',
default='https://discovery.hub.docker.com/v1/clusters',
help=_('Url for swarm public discovery endpoint.')),
cfg.StrOpt('mesos_ubuntu_template_path',
default=paths.basedir_def('templates/heat-mesos/'