Configuration parameters updated
This commit updates the default values of some parameters defined in synergy_scheduler.conf Change-Id: I2673fc4e45b3f2c1278a61eea0ce483ef364bff3 Sem-Ver: bugfix
This commit is contained in:
parent
e4d9840645
commit
16dd2b906e
@ -86,8 +86,8 @@ clock_skew = 60
|
|||||||
# set the AMQP exchange (default: keystone)
|
# set the AMQP exchange (default: keystone)
|
||||||
amqp_exchange = keystone
|
amqp_exchange = keystone
|
||||||
|
|
||||||
# set the AMQP notification topic (default: notification)
|
# set the AMQP notification topic (default: keystone_notification)
|
||||||
amqp_topic = notification
|
amqp_topic = keystone_notification
|
||||||
|
|
||||||
|
|
||||||
[NovaManager]
|
[NovaManager]
|
||||||
@ -99,6 +99,9 @@ rate = 5
|
|||||||
#set the http connection timeout (default: 60)
|
#set the http connection timeout (default: 60)
|
||||||
timeout = 60
|
timeout = 60
|
||||||
|
|
||||||
|
# the amqp transport url
|
||||||
|
# amqp_url =
|
||||||
|
|
||||||
# set the AMQP backend type (e.g. rabbit, qpid)
|
# set the AMQP backend type (e.g. rabbit, qpid)
|
||||||
#amqp_backend =
|
#amqp_backend =
|
||||||
|
|
||||||
@ -133,13 +136,10 @@ conductor_topic = conductor
|
|||||||
compute_topic = compute
|
compute_topic = compute
|
||||||
|
|
||||||
# set the Nova scheduler topic (default: scheduler)
|
# set the Nova scheduler topic (default: scheduler)
|
||||||
|
|
||||||
scheduler_topic = scheduler
|
scheduler_topic = scheduler
|
||||||
# set the notification topic used by Nova for informing listeners about the state
|
|
||||||
# changes of the VMs. In case some other service (e.g. Ceilometer) is listening
|
# set the Nova notification topic (default: nova_notification)
|
||||||
# on the default Nova topic (i.e. "notifications"), please define a new topic
|
notification_topic = nova_notification
|
||||||
specific for Synergy (e.g. notification_topics = notifications,synergy_notifications)
|
|
||||||
notification_topic = notification
|
|
||||||
|
|
||||||
# set the Nova database connection
|
# set the Nova database connection
|
||||||
db_connection=DIALECT+DRIVER://USER:PASSWORD@DB_HOST/nova
|
db_connection=DIALECT+DRIVER://USER:PASSWORD@DB_HOST/nova
|
||||||
@ -151,7 +151,7 @@ cpu_allocation_ratio = 16
|
|||||||
ram_allocation_ratio = 1.5
|
ram_allocation_ratio = 1.5
|
||||||
|
|
||||||
# set the Nova metadata_proxy_shared_secret
|
# set the Nova metadata_proxy_shared_secret
|
||||||
metadata_proxy_shared_secret =
|
metadata_proxy_shared_secret = METADATA_SECRET
|
||||||
|
|
||||||
# set the PEM encoded Certificate Authority to use when verifying HTTPs connections
|
# set the PEM encoded Certificate Authority to use when verifying HTTPs connections
|
||||||
#ssl_ca_file =
|
#ssl_ca_file =
|
||||||
|
@ -73,10 +73,6 @@ class KeystoneManager(Manager):
|
|||||||
help="set the http connection timeout",
|
help="set the http connection timeout",
|
||||||
default=60,
|
default=60,
|
||||||
required=False),
|
required=False),
|
||||||
cfg.IntOpt("trust_expiration",
|
|
||||||
help="set the trust expiration",
|
|
||||||
default=24,
|
|
||||||
required=False),
|
|
||||||
cfg.IntOpt("clock_skew",
|
cfg.IntOpt("clock_skew",
|
||||||
help="set the clock skew (seconds)",
|
help="set the clock skew (seconds)",
|
||||||
default=60,
|
default=60,
|
||||||
@ -100,7 +96,7 @@ class KeystoneManager(Manager):
|
|||||||
required=False),
|
required=False),
|
||||||
cfg.StrOpt("amqp_topic",
|
cfg.StrOpt("amqp_topic",
|
||||||
help="the notification topic",
|
help="the notification topic",
|
||||||
default="notification",
|
default="keystone_notification",
|
||||||
required=False)
|
required=False)
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -117,7 +113,6 @@ class KeystoneManager(Manager):
|
|||||||
self.project_domain_name = CONF.KeystoneManager.project_domain_name
|
self.project_domain_name = CONF.KeystoneManager.project_domain_name
|
||||||
self.project_id = CONF.KeystoneManager.project_id
|
self.project_id = CONF.KeystoneManager.project_id
|
||||||
self.timeout = CONF.KeystoneManager.timeout
|
self.timeout = CONF.KeystoneManager.timeout
|
||||||
self.trust_expiration = CONF.KeystoneManager.trust_expiration
|
|
||||||
self.clock_skew = CONF.KeystoneManager.clock_skew
|
self.clock_skew = CONF.KeystoneManager.clock_skew
|
||||||
|
|
||||||
self.authenticate()
|
self.authenticate()
|
||||||
|
@ -255,7 +255,7 @@ class NovaManager(Manager):
|
|||||||
help="the amqp password",
|
help="the amqp password",
|
||||||
default=None,
|
default=None,
|
||||||
required=False),
|
required=False),
|
||||||
cfg.StrOpt("amqp_virt_host",
|
cfg.StrOpt("amqp_virtual_host",
|
||||||
help="the amqp virtual host",
|
help="the amqp virtual host",
|
||||||
default="/",
|
default="/",
|
||||||
required=False),
|
required=False),
|
||||||
@ -265,7 +265,7 @@ class NovaManager(Manager):
|
|||||||
required=False),
|
required=False),
|
||||||
cfg.StrOpt("notification_topic",
|
cfg.StrOpt("notification_topic",
|
||||||
help="the notifiction topic",
|
help="the notifiction topic",
|
||||||
default="notifications",
|
default="nova_notification",
|
||||||
required=False),
|
required=False),
|
||||||
cfg.StrOpt("conductor_topic",
|
cfg.StrOpt("conductor_topic",
|
||||||
help="the conductor topic",
|
help="the conductor topic",
|
||||||
@ -281,7 +281,7 @@ class NovaManager(Manager):
|
|||||||
required=False),
|
required=False),
|
||||||
cfg.StrOpt("metadata_proxy_shared_secret",
|
cfg.StrOpt("metadata_proxy_shared_secret",
|
||||||
help="the metadata proxy shared secret",
|
help="the metadata proxy shared secret",
|
||||||
default=None,
|
default="METADATA_SECRET",
|
||||||
required=True),
|
required=True),
|
||||||
cfg.FloatOpt("cpu_allocation_ratio",
|
cfg.FloatOpt("cpu_allocation_ratio",
|
||||||
help="the cpu allocation ratio",
|
help="the cpu allocation ratio",
|
||||||
@ -343,7 +343,7 @@ class NovaManager(Manager):
|
|||||||
|
|
||||||
amqp_password = self.getParameter("amqp_password")
|
amqp_password = self.getParameter("amqp_password")
|
||||||
|
|
||||||
amqp_virt_host = self.getParameter("amqp_virt_host")
|
amqp_virtual_host = self.getParameter("amqp_virtual_host")
|
||||||
|
|
||||||
amqp_exchange = self.getParameter("amqp_exchange")
|
amqp_exchange = self.getParameter("amqp_exchange")
|
||||||
|
|
||||||
@ -368,8 +368,10 @@ class NovaManager(Manager):
|
|||||||
self.db_engine = create_engine(db_connection, pool_recycle=30)
|
self.db_engine = create_engine(db_connection, pool_recycle=30)
|
||||||
|
|
||||||
self.messaging = AMQP(url=amqp_url, backend=amqp_backend,
|
self.messaging = AMQP(url=amqp_url, backend=amqp_backend,
|
||||||
username=amqp_user, password=amqp_password,
|
username=amqp_user,
|
||||||
hosts=amqp_hosts, virt_host=amqp_virt_host,
|
password=amqp_password,
|
||||||
|
hosts=amqp_hosts,
|
||||||
|
virt_host=amqp_virtual_host,
|
||||||
exchange=amqp_exchange)
|
exchange=amqp_exchange)
|
||||||
|
|
||||||
self.novaConductorComputeAPI = NovaConductorComputeAPI(
|
self.novaConductorComputeAPI = NovaConductorComputeAPI(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user