Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat celery-region.log
- [2013-05-02 18:12:01,944: WARNING/MainProcess] celeryd: Warm shutdown (MainProcess)
- [2013-05-02 18:12:01,968: INFO/MainProcess] Celerybeat: Shutting down...
- [2013-05-02 18:12:32,950: WARNING/MainProcess] -------------- celery@maas v2.5.3
- ---- **** -----
- --- * *** * -- [Configuration]
- -- * - **** --- . broker: amqp://[email protected]:5672//maas_workers
- - ** ---------- . loader: celery.loaders.default.Loader
- - ** ---------- . logfile: /var/log/maas/celery-region.log@INFO
- - ** ---------- . concurrency: 1
- - ** ---------- . events: OFF
- - *** --- * --- . beat: ON
- -- ******* ----
- --- ***** ----- [Queues]
- -------------- . celery: exchange:celery (direct) binding:celery
- . master: exchange:master (direct) binding:master
- [Tasks]
- . provisioningserver.tasks.add_new_dhcp_host_map
- . provisioningserver.tasks.import_boot_images
- . provisioningserver.tasks.power_off
- . provisioningserver.tasks.power_on
- . provisioningserver.tasks.refresh_secrets
- . provisioningserver.tasks.remove_dhcp_host_map
- . provisioningserver.tasks.report_boot_images
- . provisioningserver.tasks.restart_dhcp_server
- . provisioningserver.tasks.rndc_command
- . provisioningserver.tasks.setup_rndc_configuration
- . provisioningserver.tasks.update_node_tags
- . provisioningserver.tasks.upload_dhcp_leases
- . provisioningserver.tasks.write_dhcp_config
- . provisioningserver.tasks.write_dns_config
- . provisioningserver.tasks.write_dns_zone_config
- . provisioningserver.tasks.write_full_dns_config
- [2013-05-02 18:12:33,038: INFO/PoolWorker-3] child process calling self.run()
- [2013-05-02 18:12:33,073: WARNING/MainProcess] celery@maas has started.
- [2013-05-02 18:12:33,086: INFO/Beat] child process calling self.run()
- [2013-05-02 18:12:33,096: INFO/Beat] Celerybeat: Starting...
- [2013-05-02 18:12:34,437: INFO/MainProcess] Got task from broker: provisioningserver.tasks.write_full_dns_config[dbafd5be-e5dd-4e90-a0b6-f56f4bd56dd3]
- [2013-05-02 18:12:34,574: INFO/MainProcess] Got task from broker: provisioningserver.tasks.rndc_command[c8ee1eed-cde0-475f-86a3-fcce60372586]
- [2013-05-02 18:12:34,575: INFO/MainProcess] Task provisioningserver.tasks.write_full_dns_config[dbafd5be-e5dd-4e90-a0b6-f56f4bd56dd3] succeeded in 0.0589258670807s: None
- [2013-05-02 18:12:34,650: INFO/MainProcess] Task provisioningserver.tasks.rndc_command[c8ee1eed-cde0-475f-86a3-fcce60372586] succeeded in 0.0444800853729s: None
- [2013-05-02 18:12:40,243: INFO/MainProcess] Got task from broker: provisioningserver.tasks.write_full_dns_config[1c7558b5-cc59-44b6-b4c4-3c8768ad5fc5]
- [2013-05-02 18:12:40,709: INFO/MainProcess] Got task from broker: provisioningserver.tasks.rndc_command[14361911-4dab-4ed2-9137-58639df533a9]
- [2013-05-02 18:12:40,710: INFO/MainProcess] Task provisioningserver.tasks.write_full_dns_config[1c7558b5-cc59-44b6-b4c4-3c8768ad5fc5] succeeded in 0.436821937561s: None
- [2013-05-02 18:12:40,780: INFO/MainProcess] Task provisioningserver.tasks.rndc_command[14361911-4dab-4ed2-9137-58639df533a9] succeeded in 0.0389008522034s: None
- [2013-05-02 18:26:27,356: INFO/MainProcess] Got task from broker: provisioningserver.tasks.write_full_dns_config[f26d27b5-7701-4af0-9eeb-e1e2424b45b6]
- [2013-05-02 18:26:27,444: INFO/MainProcess] Got task from broker: provisioningserver.tasks.rndc_command[cfa1a55d-dd47-4574-a051-22192326b27e]
- [2013-05-02 18:26:27,445: INFO/MainProcess] Task provisioningserver.tasks.write_full_dns_config[f26d27b5-7701-4af0-9eeb-e1e2424b45b6] succeeded in 0.0650169849396s: None
- [2013-05-02 18:26:27,503: INFO/MainProcess] Task provisioningserver.tasks.rndc_command[cfa1a55d-dd47-4574-a051-22192326b27e] succeeded in 0.054260969162s: None
- [2013-05-02 18:26:28,930: INFO/MainProcess] Got task from broker: provisioningserver.tasks.write_full_dns_config[32963c57-577c-4ffc-bf4b-f13aafae4601]
- [2013-05-02 18:26:29,606: INFO/MainProcess] Got task from broker: provisioningserver.tasks.rndc_command[9250f2c2-fc13-47b2-bd6f-c0fae2c929d3]
- [2013-05-02 18:26:29,610: INFO/MainProcess] Task provisioningserver.tasks.write_full_dns_config[32963c57-577c-4ffc-bf4b-f13aafae4601] succeeded in 0.644423961639s: None
- [2013-05-02 18:26:29,698: INFO/MainProcess] Task provisioningserver.tasks.rndc_command[9250f2c2-fc13-47b2-bd6f-c0fae2c929d3] succeeded in 0.0410041809082s: None
- [2013-05-02 18:28:55,242: WARNING/MainProcess] celeryd: Warm shutdown (MainProcess)
- [2013-05-02 18:28:55,242: INFO/MainProcess] Celerybeat: Shutting down...
- [2013-05-02 18:29:10,380: WARNING/MainProcess] -------------- celery@maas v2.5.3
- ---- **** -----
- --- * *** * -- [Configuration]
- -- * - **** --- . broker: amqp://[email protected]:5672//maas_workers
- - ** ---------- . loader: celery.loaders.default.Loader
- - ** ---------- . logfile: /var/log/maas/celery-region.log@INFO
- - ** ---------- . concurrency: 1
- - ** ---------- . events: OFF
- - *** --- * --- . beat: ON
- -- ******* ----
- --- ***** ----- [Queues]
- -------------- . celery: exchange:celery (direct) binding:celery
- . master: exchange:master (direct) binding:master
- [Tasks]
- . provisioningserver.tasks.add_new_dhcp_host_map
- . provisioningserver.tasks.import_boot_images
- . provisioningserver.tasks.power_off
- . provisioningserver.tasks.power_on
- . provisioningserver.tasks.refresh_secrets
- . provisioningserver.tasks.remove_dhcp_host_map
- . provisioningserver.tasks.report_boot_images
- . provisioningserver.tasks.restart_dhcp_server
- . provisioningserver.tasks.rndc_command
- . provisioningserver.tasks.setup_rndc_configuration
- . provisioningserver.tasks.update_node_tags
- . provisioningserver.tasks.upload_dhcp_leases
- . provisioningserver.tasks.write_dhcp_config
- . provisioningserver.tasks.write_dns_config
- . provisioningserver.tasks.write_dns_zone_config
- . provisioningserver.tasks.write_full_dns_config
- [2013-05-02 18:29:10,414: INFO/PoolWorker-3] child process calling self.run()
- [2013-05-02 18:29:10,438: WARNING/MainProcess] celery@maas has started.
- [2013-05-02 18:29:10,450: INFO/Beat] child process calling self.run()
- [2013-05-02 18:29:10,453: INFO/Beat] Celerybeat: Starting...
- [2013-05-02 18:29:10,762: INFO/MainProcess] Got task from broker: provisioningserver.tasks.write_full_dns_config[7a8e212b-1178-406d-a840-2eb539c708df]
- [2013-05-02 18:29:10,887: INFO/MainProcess] Got task from broker: provisioningserver.tasks.rndc_command[ad86bcb9-f25f-4c4c-9475-ce2fb8e5939a]
- [2013-05-02 18:29:10,889: INFO/MainProcess] Task provisioningserver.tasks.write_full_dns_config[7a8e212b-1178-406d-a840-2eb539c708df] succeeded in 0.0569138526917s: None
- [2013-05-02 18:29:10,965: INFO/MainProcess] Task provisioningserver.tasks.rndc_command[ad86bcb9-f25f-4c4c-9475-ce2fb8e5939a] succeeded in 0.0400741100311s: None
- [2013-05-02 18:29:11,110: INFO/MainProcess] Got task from broker: provisioningserver.tasks.write_full_dns_config[9b2034e7-7fea-4b8d-981f-9871ef7768dd]
- [2013-05-02 18:29:11,192: INFO/MainProcess] Got task from broker: provisioningserver.tasks.rndc_command[a9b454de-32ac-418b-b5b1-949399e707ac]
- [2013-05-02 18:29:11,193: INFO/MainProcess] Task provisioningserver.tasks.write_full_dns_config[9b2034e7-7fea-4b8d-981f-9871ef7768dd] succeeded in 0.0523149967194s: None
- [2013-05-02 18:29:11,245: INFO/MainProcess] Task provisioningserver.tasks.rndc_command[a9b454de-32ac-418b-b5b1-949399e707ac] succeeded in 0.0422830581665s: None
- cat txlongpoll.log
- 2013-05-02 18:12:32-0700 [-] Starting factory <txlongpoll.client.AMQFactory instance at 0x312dfc8>
- 2013-05-02 18:12:32-0700 [-] Starting factory <txlongpoll.client.AMQFactory instance at 0x312dfc8>
- 2013-05-02 18:12:32-0700 [AMQClientWithCallback,client] Async frontend connected to AMQP broker
- 2013-05-02 18:12:32-0700 [AMQClientWithCallback,client] Async frontend connected to AMQP broker
- 2013-05-02 18:29:00-0700 [-] Received SIGTERM, shutting down.
- 2013-05-02 18:29:00-0700 [-] Received SIGTERM, shutting down.
- 2013-05-02 18:29:10-0700 [-] Starting factory <txlongpoll.client.AMQFactory instance at 0x33dc098>
- 2013-05-02 18:29:10-0700 [-] Starting factory <txlongpoll.client.AMQFactory instance at 0x33dc098>
- 2013-05-02 18:29:10-0700 [AMQClientWithCallback,client] Async frontend connected to AMQP broker
- 2013-05-02 18:29:10-0700 [AMQClientWithCallback,client] Async frontend connected to AMQP broker
- did not see anything in maas.log or pserv.log
- cat /etc/maas/maas_local_settings.py
- # Debug/Production mode.
- DEBUG = True
- # Default URL specifying protocol, host, and (if necessary) port where
- # systems in this MAAS can find the MAAS server. Configuration can, and
- # probably should, override this.
- DEFAULT_MAAS_URL = "http://172.16.0.1/MAAS"
- # Absolute path to the directory static files should be collected to.
- STATIC_ROOT = '/usr/share/maas/web/static/'
- # Prefix to use for MAAS's urls.
- # If FORCE_SCRIPT_NAME is None (the default), all the urls will start with
- # '/'.
- FORCE_SCRIPT_NAME = '/MAAS'
- # Where to store the user uploaded files.
- MEDIA_ROOT = '/var/lib/maas/media/'
- # Use the (libjs-yui) package's files to serve YUI3.
- YUI_LOCATION = '/usr/share/javascript/yui3/'
- # Use the package's files to serve RaphaelJS.
- RAPHAELJS_LOCATION = '/usr/share/javascript/raphael/'
- # RabbitMQ settings.
- RABBITMQ_HOST = 'localhost'
- RABBITMQ_USERID = 'maas_longpoll'
- RABBITMQ_PASSWORD = 'QXnLGcfZudkcl5EShA5O'
- RABBITMQ_VIRTUAL_HOST = '/maas_longpoll'
- # See http://docs.djangoproject.com/en/dev/topics/logging for
- # more details on how to customize the logging configuration.
- LOGGING = {
- 'version': 1,
- 'disable_existing_loggers': False,
- 'formatters': {
- 'simple': {
- 'format': '%(levelname)s %(asctime)s %(name)s %(message)s'
- },
- },
- 'handlers': {
- 'log': {
- 'level': 'ERROR',
- 'class': 'logging.handlers.RotatingFileHandler',
- 'filename': '/var/log/maas/maas.log',
- 'formatter': 'simple',
- },
- },
- 'loggers': {
- 'maas': {
- 'handlers': ['log'],
- 'propagate': True,
- },
- 'django.request': {
- 'handlers': ['log'],
- 'propagate': True,
- },
- 'django.db.backends': {
- 'handlers': ['log'],
- 'propagate': True,
- },
- }
- }
- # Database access configuration.
- DATABASES = {
- 'default': {
- # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' etc.
- 'ENGINE': 'django.db.backends.postgresql_psycopg2',
- 'NAME': 'maasdb',
- 'USER': 'maas',
- 'PASSWORD': '1NZxSR5pkSBg',
- 'HOST': 'localhost',
- }
- }
- cat /etc/maas/maas_cluster.conf
- # This file is used by the cluster controller startup script:
- # `maas-provision start-cluster-controller`
- # to get the URL to the MAAS region controller's API. Normally, packaging
- # will update this file automatically but it may also be configured manually.
- MAAS_URL=172.16.0.1
- CLUSTER_UUID="c5b69f74-66d5-4d01-9b3c-0bb19b040f15"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement