Been trying to go through the three tier web app tutorial against a farm on 
AWS. Tried on ubuntu 12/ centos 6.

With the app tier, I added some strategic prints to autodiscovery.py:

[root@ec2-54-193-98-131 scripts]# ./autodiscovery.py
Executing szradm with params: ['/usr/bin/szradm', '-q', 'list-roles']
Mysql Role ID: 9
Executing szradm with params: ['/usr/bin/szradm', '-q', 'list-roles']
Mysql Hosts: [{'status': 'Running', 'index': '1', 'internal-ip': 
'172.31.9.231', 'external-ip': '54.215.249.158', 'replication-master': '1', 
'cloud-location': 'us-west-1'}]
Executing szradm with params: ['/usr/bin/szradm', '-q', 
'list-farm-role-params', 'farm-role-id=9']
---
Hangs on:

# Retrieve MySQL configuration
    mysql_params = engine.get_farm_role_params(mysql_role_id)

---

Scalarizr.log is full of 

2014-07-09 17:11:07,002 - WARNING - scalarizr.queryenv - Sleep 30 seconds 
before next attempt...
2014-07-09 17:11:37,217 - WARNING - scalarizr.queryenv - QueryEnv failed. 
HTTP 500. Cannot retrieve environment by operation 'list-farm-role-params': 
'farm-role-id' required. Waiting 30 seconds before the next try
2014-07-09 17:11:37,218 - WARNING - scalarizr.queryenv - Sleep 30 seconds 
before next attempt...
2014-07-09 17:12:07,444 - WARNING - scalarizr.queryenv - QueryEnv failed. 
HTTP 500. Cannot retrieve environment by operation 'list-farm-role-params': 
'farm-role-id' required. Waiting 30 seconds before the next try
2014-07-09 17:12:07,444 - WARNING - scalarizr.queryenv - Sleep 30 seconds 
before next attempt...

---
In other news, on these instances with agent 2.9.4: 

Scalr agent
Scalarizr status is not available: Unable to perform request to update 
client: 400

-- 
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.

Reply via email to