Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2017
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.01 KB | None | 0 0
  1. [root@controller3 gnocchi]# gnocchi resource list --type image
  2. Unable to establish connection to http://localhost:8041/v1/resource/image?: HTTPConnectionPool(host='localhost', port=8041): Max retries exceeded with url: /v1/resource/image (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x2ff4950>: Failed to establish a new connection: [Errno 111] Connection refused',))
  3.  
  4. 2017-08-03 21:40:09,020 [6098] DEBUG gnocchi.service: ********************************************************************************
  5. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: Configuration options gathered from:
  6. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: command line args: []
  7. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: config files: ['/etc/gnocchi/gnocchi.conf']
  8. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: ================================================================================
  9. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: config_dir = []
  10. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: config_file = ['/etc/gnocchi/gnocchi.conf']
  11. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: debug = True
  12. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: log_dir = /var/log/gnocchi
  13. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: log_file = None
  14. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: syslog_log_facility = user
  15. 2017-08-03 21:40:09,021 [6098] DEBUG gnocchi.service: use_journal = False
  16. 2017-08-03 21:40:09,022 [6098] DEBUG gnocchi.service: use_syslog = False
  17. 2017-08-03 21:40:09,022 [6098] DEBUG gnocchi.service: verbose = True
  18. 2017-08-03 21:40:09,022 [6098] DEBUG gnocchi.service: statsd.archive_policy_name = low
  19. 2017-08-03 21:40:09,022 [6098] DEBUG gnocchi.service: statsd.creator = :
  20. 2017-08-03 21:40:09,022 [6098] DEBUG gnocchi.service: statsd.flush_delay = 10.0
  21. 2017-08-03 21:40:09,023 [6098] DEBUG gnocchi.service: statsd.host = controller3
  22. 2017-08-03 21:40:09,023 [6098] DEBUG gnocchi.service: statsd.port = 8125
  23. 2017-08-03 21:40:09,023 [6098] DEBUG gnocchi.service: statsd.project_id = None
  24. 2017-08-03 21:40:09,023 [6098] DEBUG gnocchi.service: statsd.resource_id = 83746b69-87e8-4ee2-b9af-39769cc32b75
  25. 2017-08-03 21:40:09,023 [6098] DEBUG gnocchi.service: statsd.user_id = None
  26. 2017-08-03 21:40:09,023 [6098] DEBUG gnocchi.service: incoming.ceph_conffile = /etc/ceph/ceph.conf
  27. 2017-08-03 21:40:09,023 [6098] DEBUG gnocchi.service: incoming.ceph_keyring =
  28. 2017-08-03 21:40:09,024 [6098] DEBUG gnocchi.service: incoming.ceph_pool = gnocchi
  29. 2017-08-03 21:40:09,024 [6098] DEBUG gnocchi.service: incoming.ceph_secret = ****
  30. 2017-08-03 21:40:09,024 [6098] DEBUG gnocchi.service: incoming.ceph_timeout = 30
  31. 2017-08-03 21:40:09,024 [6098] DEBUG gnocchi.service: incoming.ceph_username =
  32. 2017-08-03 21:40:09,024 [6098] DEBUG gnocchi.service: incoming.driver = file
  33. 2017-08-03 21:40:09,024 [6098] DEBUG gnocchi.service: incoming.file_basepath = /var/lib/gnocchi
  34. 2017-08-03 21:40:09,025 [6098] DEBUG gnocchi.service: incoming.redis_url = redis://localhost:6379/
  35. 2017-08-03 21:40:09,025 [6098] DEBUG gnocchi.service: incoming.s3_access_key_id =
  36. 2017-08-03 21:40:09,025 [6098] DEBUG gnocchi.service: incoming.s3_bucket_prefix = gnocchi
  37. 2017-08-03 21:40:09,025 [6098] DEBUG gnocchi.service: incoming.s3_check_consistency_timeout = 60.0
  38. 2017-08-03 21:40:09,025 [6098] DEBUG gnocchi.service: incoming.s3_endpoint_url =
  39. 2017-08-03 21:40:09,025 [6098] DEBUG gnocchi.service: incoming.s3_region_name =
  40. 2017-08-03 21:40:09,026 [6098] DEBUG gnocchi.service: incoming.s3_secret_access_key =
  41. 2017-08-03 21:40:09,026 [6098] DEBUG gnocchi.service: incoming.swift_auth_version = 1
  42. 2017-08-03 21:40:09,026 [6098] DEBUG gnocchi.service: incoming.swift_authurl = http://localhost:8080/auth/v1.0
  43. 2017-08-03 21:40:09,026 [6098] DEBUG gnocchi.service: incoming.swift_container_prefix = gnocchi
  44. 2017-08-03 21:40:09,026 [6098] DEBUG gnocchi.service: incoming.swift_endpoint_type = publicURL
  45. 2017-08-03 21:40:09,027 [6098] DEBUG gnocchi.service: incoming.swift_key = ****
  46. 2017-08-03 21:40:09,027 [6098] DEBUG gnocchi.service: incoming.swift_preauthtoken = ****
  47. 2017-08-03 21:40:09,027 [6098] DEBUG gnocchi.service: incoming.swift_preauthurl =
  48. 2017-08-03 21:40:09,027 [6098] DEBUG gnocchi.service: incoming.swift_project_domain_name = Default
  49. 2017-08-03 21:40:09,027 [6098] DEBUG gnocchi.service: incoming.swift_project_name =
  50. 2017-08-03 21:40:09,027 [6098] DEBUG gnocchi.service: incoming.swift_timeout = 300
  51. 2017-08-03 21:40:09,028 [6098] DEBUG gnocchi.service: incoming.swift_user = admin:admin
  52. 2017-08-03 21:40:09,028 [6098] DEBUG gnocchi.service: incoming.swift_user_domain_name = Default
  53. 2017-08-03 21:40:09,028 [6098] DEBUG gnocchi.service: metricd.metric_cleanup_delay = 300
  54. 2017-08-03 21:40:09,028 [6098] DEBUG gnocchi.service: metricd.metric_processing_delay = 60
  55. 2017-08-03 21:40:09,028 [6098] DEBUG gnocchi.service: metricd.metric_reporting_delay = 120
  56. 2017-08-03 21:40:09,028 [6098] DEBUG gnocchi.service: metricd.processing_replicas = 3
  57. 2017-08-03 21:40:09,028 [6098] DEBUG gnocchi.service: metricd.worker_sync_rate = 30
  58. 2017-08-03 21:40:09,028 [6098] DEBUG gnocchi.service: metricd.workers = 4
  59. 2017-08-03 21:40:09,028 [6098] DEBUG gnocchi.service: database.backend = sqlalchemy
  60. 2017-08-03 21:40:09,028 [6098] DEBUG gnocchi.service: database.connection = ****
  61. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.connection_debug = 0
  62. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.connection_trace = False
  63. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.db_inc_retry_interval = True
  64. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.db_max_retries = 20
  65. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.db_max_retry_interval = 10
  66. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.db_retry_interval = 1
  67. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.idle_timeout = 3600
  68. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.max_overflow = 50
  69. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.max_pool_size = 5
  70. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.max_retries = 10
  71. 2017-08-03 21:40:09,029 [6098] DEBUG gnocchi.service: database.min_pool_size = 1
  72. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: database.mysql_sql_mode = TRADITIONAL
  73. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: database.pool_timeout = None
  74. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: database.retry_interval = 10
  75. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: database.slave_connection = ****
  76. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: database.sqlite_db = oslo.sqlite
  77. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: database.sqlite_synchronous = True
  78. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: database.use_db_reconnect = False
  79. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: storage.aggregation_workers_number = 1
  80. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: storage.ceph_conffile = /etc/ceph/ceph.conf
  81. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: storage.ceph_keyring = None
  82. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: storage.ceph_pool = gnocchi
  83. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: storage.ceph_secret = ****
  84. 2017-08-03 21:40:09,030 [6098] DEBUG gnocchi.service: storage.ceph_timeout = 30
  85. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.ceph_username = None
  86. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.coordination_url = ****
  87. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.driver = file
  88. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.file_basepath = /var/lib/gnocchi
  89. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.redis_url = redis://localhost:6379/
  90. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.s3_access_key_id = None
  91. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.s3_bucket_prefix = gnocchi
  92. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.s3_check_consistency_timeout = 60.0
  93. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.s3_endpoint_url = None
  94. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.s3_region_name = None
  95. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.s3_secret_access_key = None
  96. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.swift_auth_version = 1
  97. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.swift_authurl = http://localhost:8080/auth/v1.0
  98. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.swift_container_prefix = gnocchi
  99. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.swift_endpoint_type = publicURL
  100. 2017-08-03 21:40:09,031 [6098] DEBUG gnocchi.service: storage.swift_key = ****
  101. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: storage.swift_preauthtoken = ****
  102. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: storage.swift_preauthurl = None
  103. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: storage.swift_project_domain_name = Default
  104. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: storage.swift_project_name = None
  105. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: storage.swift_timeout = 300
  106. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: storage.swift_user = admin:admin
  107. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: storage.swift_user_domain_name = Default
  108. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: indexer.url = ****
  109. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: api.auth_mode = keystone
  110. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: api.max_limit = 1000
  111. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: api.paste_config = /usr/lib/python2.7/site-packages/gnocchi/rest/api-paste.ini
  112. 2017-08-03 21:40:09,032 [6098] DEBUG gnocchi.service: api.refresh_timeout = 10
  113. 2017-08-03 21:40:09,033 [6098] DEBUG gnocchi.service: archive_policy.default_aggregation_methods = ['mean', 'min', 'max', 'sum', 'std', 'count']
  114. 2017-08-03 21:40:09,033 [6098] DEBUG gnocchi.service: oslo_policy.policy_default_rule = default
  115. 2017-08-03 21:40:09,033 [6098] DEBUG gnocchi.service: oslo_policy.policy_dirs = ['policy.d']
  116. 2017-08-03 21:40:09,033 [6098] DEBUG gnocchi.service: oslo_policy.policy_file = /usr/lib/python2.7/site-packages/gnocchi/rest/policy.json
  117. 2017-08-03 21:40:09,033 [6098] DEBUG gnocchi.service: ********************************************************************************
  118. 2017-08-03 21:40:10,538 [6098] INFO gnocchi.rest.app: WSGI config used: /usr/lib/python2.7/site-packages/gnocchi/rest/api-paste.ini
  119. 2017-08-03 21:40:11,441 [6098] WARNING keystonemiddleware.auth_token: AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but deprecated behaviour. Please set this to True.
  120. 2017-08-03 21:40:11,474 [6098] WARNING keystonemiddleware.auth_token: Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint
  121. 2017-08-03 21:40:11,514 [6098] CRITICAL root: Traceback (most recent call last):
  122. File "/usr/bin/gnocchi-api", line 34, in <module>
  123. server = wss.make_server('', args.port, build_wsgi_app())
  124. File "/usr/lib64/python2.7/wsgiref/simple_server.py", line 144, in make_server
  125. server = server_class((host, port), handler_class)
  126. File "/usr/lib64/python2.7/SocketServer.py", line 419, in __init__
  127. self.server_bind()
  128. File "/usr/lib64/python2.7/wsgiref/simple_server.py", line 48, in server_bind
  129. HTTPServer.server_bind(self)
  130. File "/usr/lib64/python2.7/BaseHTTPServer.py", line 108, in server_bind
  131. SocketServer.TCPServer.server_bind(self)
  132. File "/usr/lib64/python2.7/SocketServer.py", line 430, in server_bind
  133. self.socket.bind(self.server_address)
  134. File "/usr/lib64/python2.7/socket.py", line 224, in meth
  135. return getattr(self._sock,name)(*args)
  136. error: [Errno 98] Address already in use
  137.  
  138. [DEFAULT]
  139. debug = true
  140. verbose = true
  141. log_dir = /var/log/gnocchi
  142.  
  143. [api]
  144. workers = 4
  145. auth_mode = keystone
  146. paste_config = /usr/lib/python2.7/site-packages/gnocchi/rest/api-paste.ini
  147.  
  148. [indexer]
  149. url = mysql+pymysql://gnocchi:pass123456@controller3/gnocchi?charset=utf8
  150.  
  151. [keystone_authtoken]
  152. auth_type = password
  153. auth_url = http://controller3:5000/v3
  154. project_domain_name = Default
  155. user_domain_name = Default
  156. project_name = service
  157. username = gnocchi
  158. password = pass123456
  159. interface = internalURL
  160. region_name = RegionOne
  161.  
  162. [DEFAULT]
  163. meter_dispatchers=gnocchi
  164. event_dispatchers=gnocchi
  165. transport_url = rabbit://openstack:pass123456@controller3
  166.  
  167. [dispatcher_gnocchi]
  168. filter_service_activity = False
  169. archive_policy = low
  170.  
  171. [service_credentials]
  172. auth_type = password
  173. auth_url = http://controller3:5000/v3
  174. project_domain_name = default
  175. user_domain_name = default
  176. project_name = service
  177. username = ceilometer
  178. password = pass123456
  179. interface = internalURL
  180. region_name = RegionOne
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement