metadata_agent.ini

metadata agent 的配置信息,包括访问 Neutron API 的用户信息等。

  1. [DEFAULT]
  2. # Show debugging output in log (sets DEBUG log level output)
  3. # debug = True
  4. # The Neutron user information for accessing the Neutron API.
  5. auth_url = http://localhost:5000/v2.0
  6. auth_region = RegionOne
  7. # Turn off verification of the certificate for ssl
  8. # auth_insecure = False
  9. # Certificate Authority public key (CA cert) file for ssl
  10. # auth_ca_cert =
  11. admin_tenant_name = %SERVICE_TENANT_NAME%
  12. admin_user = %SERVICE_USER%
  13. admin_password = %SERVICE_PASSWORD%
  14. # Network service endpoint type to pull from the keystone catalog
  15. # endpoint_type = adminURL
  16. # IP address used by Nova metadata server
  17. # nova_metadata_ip = 127.0.0.1
  18. # TCP Port used by Nova metadata server
  19. # nova_metadata_port = 8775
  20. # Which protocol to use for requests to Nova metadata server, http or https
  21. # nova_metadata_protocol = http
  22. # Whether insecure SSL connection should be accepted for Nova metadata server
  23. # requests
  24. # nova_metadata_insecure = False
  25. # Client certificate for nova api, needed when nova api requires client
  26. # certificates
  27. # nova_client_cert =
  28. # Private key for nova client certificate
  29. # nova_client_priv_key =
  30. # When proxying metadata requests, Neutron signs the Instance-ID header with a
  31. # shared secret to prevent spoofing. You may select any string for a secret,
  32. # but it must match here and in the configuration used by the Nova Metadata
  33. # Server. NOTE: Nova uses a different key: neutron_metadata_proxy_shared_secret
  34. # metadata_proxy_shared_secret =
  35. # Location of Metadata Proxy UNIX domain socket
  36. # metadata_proxy_socket = $state_path/metadata_proxy
  37. # Number of separate worker processes for metadata server. Defaults to
  38. # half the number of CPU cores
  39. # metadata_workers =
  40. # Number of backlog requests to configure the metadata server socket with
  41. # metadata_backlog = 4096
  42. # URL to connect to the cache backend.
  43. # default_ttl=0 parameter will cause cache entries to never expire.
  44. # Otherwise default_ttl specifies time in seconds a cache entry is valid for.
  45. # No cache is used in case no value is passed.
  46. # cache_url = memory://?default_ttl=5