Hello Daniele, 5.3.2 (Open Source Edition)
fa7c962 (Thu, 18 Jun 2015 22:36:35 +0300) i just followed the install instructions from here: https://scalr-wiki.atlassian.net/wiki/display/docs/RECOMMENDED+-+Installing+with+Packages the only difference is that afterwards i moved the databases to our mysql cluster and adjusted that. /etc/scalr-server/scalr-server.rb (i have no scalr-server-local.rb) routing[:endpoint_host] = "scalr.mydomain.com" # Point the app to the Scalr main DB server. app[:mysql_scalr_host] = 'x.x.x.x' # Change this to the hostname / IP of your Scalr main DB server. app[:mysql_scalr_port] = 3306 # Make sure this matches the MySQL bind port. # Point the app to the Scalr Cost Analytics DB server. app[:mysql_analytics_host] = 'x.x.x.x' # Change this to the hostname / IP of your Scalr main DB server. app[:mysql_analytics_port] = 3306 # Make sure this matches the MySQL bind port. Scalarizer Log right after provisioning shows this (strange that it is terminated) cat /var/log/scalarizr.log 2015-06-27 06:53:55,797+00:00 - INFO - scalarizr.app - [pid: 3873] Starting scalarizr 3.7.13 2015-06-27 06:53:55,798+00:00 - INFO - scalarizr.app - Configuring Scalarizr. This can take a few minutes... 2015-06-27 06:54:15,331+00:00 - INFO - scalarizr.messaging.p2p.consumer - Building message consumer server on 0.0.0.0:8013 2015-06-27 06:54:15,331+00:00 - INFO - scalarizr.app - Starting API server on http://0.0.0.0:8010 2015-06-27 06:54:15,340+00:00 - INFO - scalarizr.handlers.lifecycle - Server will be imported into Scalr 2015-06-27 06:54:16,531+00:00 - INFO - scalarizr.handlers - Detecting supported behaviors... 2015-06-27 06:54:16,547+00:00 - INFO - scalarizr.handlers - Scalr built-in automation: checking for supported software. If installed software isn't detected, review the Scalr Wiki: https://scalr-wiki.atlassian.net/wiki/x/IoB1 2015-06-27 06:54:16,563+00:00 - INFO - scalarizr.handlers - app: Unavailable. Not installed. 2015-06-27 06:54:17,745+00:00 - INFO - scalarizr.handlers - chef: Available. Installed version: 11.18.0 2015-06-27 06:54:17,777+00:00 - INFO - scalarizr.handlers - haproxy: Unavailable. Not installed. 2015-06-27 06:54:17,813+00:00 - INFO - scalarizr.handlers - mariadb: Unavailable. Not installed. 2015-06-27 06:54:17,814+00:00 - INFO - scalarizr.handlers - memcached: Unavailable. Not installed. 2015-06-27 06:54:17,814+00:00 - INFO - scalarizr.handlers - mysql: Unavailable. Not installed. 2015-06-27 06:54:17,815+00:00 - INFO - scalarizr.handlers - mysql2: Unavailable. Not installed. 2015-06-27 06:54:17,816+00:00 - INFO - scalarizr.handlers - percona: Unavailable. Not installed. 2015-06-27 06:54:17,830+00:00 - INFO - scalarizr.handlers - postgresql: Unavailable. Not installed. 2015-06-27 06:54:17,833+00:00 - INFO - scalarizr.handlers - rabbitmq: Unavailable. Not installed. 2015-06-27 06:54:17,846+00:00 - INFO - scalarizr.handlers - redis: Unavailable. Not installed. 2015-06-27 06:54:17,858+00:00 - INFO - scalarizr.handlers - tomcat: Unavailable. Not installed. 2015-06-27 06:54:17,859+00:00 - INFO - scalarizr.handlers - www: Unavailable. Not installed. 2015-06-27 06:54:35,139+00:00 - INFO - scalarizr.scripts.reboot - Starting reboot script... 2015-06-27 06:54:35,157+00:00 - INFO - scalarizr.app - [pid: 3873] Stopping scalarizr 3.7.13 2015-06-27 06:54:36,381+00:00 - INFO - scalarizr.app - [pid: 3873] Scalarizr terminated 2015-06-27 07:03:03,566+00:00 - INFO - scalarizr.scripts.udev - Starting udev script... 2015-06-27 07:03:03,568+00:00 - INFO - scalarizr.scripts.udev - Starting udev script... 2015-06-27 07:03:08,116+00:00 - INFO - scalarizr.scripts.udev - Starting udev script... Debug log: http://clavain.com/scalarizr_debug.log However i think that logfile is stil from the template creation. If i restart scalarizer on the server all i get is this: http://clavain.com/scalarizr_debug_after_restart.log seems to be stuck at 2015-06-27 08:18:50,364+00:00 - DEBUG - scalarizr.app - Fetching UpdateClient status... To note this is all on an FRESHLY created image which was attached to a role and farm. If i restart scalr-update service and then scalarizer it seems to work and the machine gets to show up as running. So something is wrong with image creation? (i replaced the domain in the logs by scalr.mydomain.com) On Saturday, June 27, 2015 at 7:48:23 AM UTC+2, Daniele Testa wrote: > > Hi! > > Please tell me the steps you took when you installed Scalr. > > What version of Scalarizer is installed on the server? > > Also, could you provide the following files: > > /etc/scalr-server/scalr-server.rb > /etc/scalr-server/scalr-server-local.rb > /var/log/scalarizr_debug.log > /var/log/scalarizr_update.log > > Regards, > Daniele > > > On Saturday, June 27, 2015 at 2:34:48 AM UTC+8, Enrico Kern wrote: >> >> Hello, >> >> i just deployed the latest Scalr Open Source and try to launch an image. >> >> I created a fresh Ubuntu 14.04 image (also tested with centos) using add >> image, added it to a farm and role and deployed it. The server is always >> tuck as "Boot OS" and pending. However i can ssh into the server, so >> provisioning works. >> >> I found out that scalarizer is not listenning on port 8013 and 8014 and >> the update service constantly returns this error: >> >> 2015-06-26 18:28:59,948 - DEBUG - >> requests.packages.urllib3.connectionpool - Starting new HTTP connection >> (1): $hostname >> 2015-06-26 18:29:00,061 - WARNING - scalarizr.queryenv - QueryEnv failed: >> 403 Client Error: Forbidden >> 2015-06-26 18:29:00,061 - WARNING - scalarizr.queryenv - Sleep 30 seconds >> before next attempt... >> >> (i replaced $hostname) >> >> In the web logs on the scalr server i see: >> >> ==> web.proxy.access.log <== >> xx.xxx.xxx.xx (for "-") - - [26/Jun/2015:18:32:31 +0000] "GET >> /query-env/2012-07-01/get-latest-version?operation=get-latest-version&version=2012-07-01 >> >> HTTP/1.1" 403 23 "-" "python-requests/2.5.3 CPython/2.7.8 >> Linux/2.6.32-358.2.1.el6.x86_64" >> >> >> no errors nothing. What i find strange is also that if i try to curl >> that /message url i get this: >> >> curl http://xxx/messaging >> >> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> >> <html><head> >> <title>301 Moved Permanently</title> >> </head><body> >> <h1>Moved Permanently</h1> >> <p>The document has moved <a href="http://127.0.0.1:6270/messaging/ >> ">here</a>.</p> >> </body></html> >> >> >> I really have no idea anymore and its just a standard setup. Maybe >> someone can shed some light. Any help is appreciated. >> >> -- You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
