latest scalarizr not working with scalr 2.2.0

311 views
Skip to first unread message

Pawel Kilian

unread,
May 30, 2012, 11:07:35 AM5/30/12
to scalr-discuss
2012-05-30 10:51:35,457 - ERROR - scalarizr.handlers - Request failed.
HTTP Error 500: Error. URL: https://scalr.nellymoser.com/query-env.
Service message: Version '2012-04-17' not supported
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/scalarizr/handlers/
__init__.py", line 301, in __call__
handler(message)
File "/usr/lib/python2.6/site-packages/scalarizr/handlers/
script_executor.py", line 213, in __call__
target_ip=target_ip, local_ip=local_ip)
File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line
147, in list_scripts
return self._request("list-scripts",parameters,
self._read_list_scripts_response)
File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line
193, in _request
xml = self.fetch(command, **params)
File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line
70, in fetch
response = opener.open(req)
File "/usr/lib64/python2.6/urllib2.py", line 397, in open
response = meth(req, response)
File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib64/python2.6/urllib2.py", line 435, in error
return self._call_chain(*args)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/lib64/python2.6/urllib2.py", line 518, in
http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
QueryEnvError: Request failed. HTTP Error 500: Error. URL:
https://scalr.nellymoser.com/query-env. Service message: Version
'2012-04-17' not supported



so it looks like my version of scalr does not support 2012-04-17 api

is there a way that i can fix it temporarly?

Val

unread,
May 30, 2012, 2:03:48 PM5/30/12
to scalr-...@googlegroups.com
I got the exact same error. My Scalr version is 3.0.  

Igor Savchenko

unread,
May 30, 2012, 2:09:48 PM5/30/12
to scalr-...@googlegroups.com
This is compatibility issue in new scalarizr. Fixed version will be
available within 12 hours.

Regards,
Igor
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalr-discuss/-/neYGfBXT7cEJ.
>
> To post to this group, send email to scalr-...@googlegroups.com.
> To unsubscribe from this group, send email to
> scalr-discus...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/scalr-discuss?hl=en.

Marat

unread,
May 31, 2012, 4:38:27 AM5/31/12
to scalr-...@googlegroups.com
Scalarizr 0.7.230 is available. 
> scalr-discuss+unsubscribe@googlegroups.com.

Dale-Kurt Murray

unread,
May 31, 2012, 1:08:29 PM5/31/12
to scalr-...@googlegroups.com
Did the latest release fix your issues?

I'm still getting 0.7.228 when I attempt to build a role

http://cl.ly/431L2Z3c1X0R121e1Q0b
Message has been deleted

Val

unread,
May 31, 2012, 6:29:36 PM5/31/12
to scalr-...@googlegroups.com
"yum -y install scalarizer-ec2" did not upgrade to Scalarizr 0.7.230

Val

unread,
May 31, 2012, 6:31:42 PM5/31/12
to scalr-...@googlegroups.com
yum -y install scalarizr-ec2
Loaded plugins: fastestmirror
Repository base is listed more than once in the configuration
Repository updates is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository contrib is listed more than once in the configuration
Loading mirror speeds from cached hostfile
 * extras: mirror.symnds.com
 * updates: mirror.symnds.com
Setting up Install Process
Package scalarizr-ec2-0.7.228-1.el5.noarch already installed and latest version
Nothing to do

Val

unread,
May 31, 2012, 9:45:19 PM5/31/12
to scalr-...@googlegroups.com
This happens on Centos 5.7

Val

unread,
May 31, 2012, 11:55:53 PM5/31/12
to scalr-...@googlegroups.com
On centos 5, I needed to enable the scalr repo in /etc/yum.repos.d/scalr-latest.repo. I first uncommented the repo entries, set the enable flag to 0.  I then ran the following command.

$ cat /etc/yum.repos.d/scalr-latest.repo 
[scalr]
gpgcheck = 0
enabled = 0
name = scalr

$ yum --enablerepo=scalr install scalarizr-ec2

Val

unread,
Jun 1, 2012, 12:44:49 AM6/1/12
to scalr-...@googlegroups.com
Now my scripts that use "szradm" are still not working.  Do I need to update this too? The error was the same as the scalarizr 0.7.228 gave.

Message: Script 'Condor_Simple' execution result (Time: 57.52 s, Exit code: 0). Traceback (most recent call last):
File "/usr/local/bin/szradm", line 10, in <module>
main()
File "/usr/lib/python2.6/site-packages/scalarizr/util/szradm.py", line 616, in main
raise LookupError("Cant execute command or option. Error: %s" % (e))
LookupError: Cant execute command or option. Error: Request failed. HTTP Error 500: Error. URL: https://vmtest-vm1.lbl.gov:44444/query-env. Service message: Version '2012-04-17' not supported

Marat

unread,
Jun 1, 2012, 6:26:58 AM6/1/12
to scalr-...@googlegroups.com
Please update to 0.7.231 We've missed to review szradm

Dale-Kurt Murray

unread,
Jun 1, 2012, 8:54:02 AM6/1/12
to scalr-...@googlegroups.com
Marat, How do we update to the latest version? Does the update happen on rebooting the instance or by rebuilding the role?

Val

unread,
Jun 1, 2012, 10:16:02 AM6/1/12
to scalr-...@googlegroups.com
I am assuming the update doesn't happend automagically because on RHEL OSes the scalr-latest.repo is not enabled.  I had to enable it and perform the update.  The Scalr folks need to put the fix in the scalr-delay.repo in order for the automatic update to occur. At least, that has been my experience. 

Marat

unread,
Jun 1, 2012, 10:27:08 AM6/1/12
to scalr-...@googlegroups.com
You can set repository = latest in /etc/scalr/updclient.ini to force using latest repo until new Scalr OS release with controlling interface will be published.

Marat

unread,
Jun 1, 2012, 10:27:39 AM6/1/12
to scalr-...@googlegroups.com
Then restart scalr-upd-client daemon

Dale-Kurt Murray

unread,
Jun 1, 2012, 11:42:44 AM6/1/12
to scalr-...@googlegroups.com
On each attempt to create a new role, the instances are using 0.7.228, how do I get it to use the latest release?

This is my log

2012-06-01 13:30:43,843 - INFO - scalarizr - [pid: 12916] Starting scalarizr 0.7.228
2012-06-01 13:30:48,470 - INFO - scalarizr - [pid: 12926] Starting scalarizr 0.7.228
2012-06-01 13:30:48,473 - INFO - scalarizr.config - State: importing
2012-06-01 13:30:55,469 - INFO - scalarizr.messaging.p2p.consumer - Building message consumer server on 0.0.0.0:8013
2012-06-01 13:30:55,476 - INFO - scalarizr.handlers.lifecycle - Server will be imported into Scalr
2012-06-01 13:30:55,564 - INFO - scalarizr.snmp.agent - [pid: 13003] Starting SNMP server on 0.0.0.0:8014
2012-06-01 13:32:01,215 - INFO - scalarizr.config - State: rebundling
2012-06-01 13:32:05,983 - INFO - scalarizr.handlers.rebundle - Lookup server 108.166.96.153 on CloudServers
2012-06-01 13:32:06,885 - INFO - scalarizr.handlers.rebundle - Creating server image. server id: 20888741, image name: 'rs-app-apache64-ubuntu-11-04-20120601133206'
2012-06-01 13:32:10,934 - INFO - scalarizr.handlers.rebundle - Creating server image. server id: 20888741, image name: 'rs-app-apache64-ubuntu-11-04-20120601133209'
2012-06-01 13:32:13,256 - WARNING - scalarizr.handlers.rebundle - Rackspace API answered "Cannot create a new backup request while savinga prior backup or migrating".
2012-06-01 13:32:43,621 - INFO - scalarizr.handlers.rebundle - Searching "rs-app-apache64-ubuntu-11-04-20120601133209" image
2012-06-01 13:32:44,795 - INFO - scalarizr.handlers.rebundle - Image "rs-app-apache64-ubuntu-11-04-20120601133209" not found
2012-06-01 13:32:45,721 - INFO - scalarizr.handlers.rebundle - Creating server image. server id: 20888741, image name: 'rs-app-apache64-ubuntu-11-04-20120601133245'
2012-06-01 13:32:47,417 - WARNING - scalarizr.handlers.rebundle - Rackspace API answered "Cannot create a new backup request while savinga prior backup or migrating".
2012-06-01 13:33:18,107 - INFO - scalarizr.handlers.rebundle - Searching "rs-app-apache64-ubuntu-11-04-20120601133245" image
2012-06-01 13:33:19,073 - INFO - scalarizr.handlers.rebundle - Image "rs-app-apache64-ubuntu-11-04-20120601133245" not found
2012-06-01 13:33:20,199 - INFO - scalarizr.handlers.rebundle - Creating server image. server id: 20888741, image name: 'rs-app-apache64-ubuntu-11-04-20120601133319'
2012-06-01 13:33:21,605 - WARNING - scalarizr.handlers.rebundle - Rackspace API answered "Cannot create a new backup request while savinga prior backup or migrating".
2012-06-01 13:33:51,983 - INFO - scalarizr.handlers.rebundle - Searching "rs-app-apache64-ubuntu-11-04-20120601133319" image
2012-06-01 13:33:53,834 - INFO - scalarizr.handlers.rebundle - Image "rs-app-apache64-ubuntu-11-04-20120601133319" not found
2012-06-01 13:34:04,282 - INFO - scalarizr.config - State: importing
2012-06-01 13:34:04,282 - ERROR - scalarizr.handlers.rebundle - Another image is currently creating from this server. Rackspace allows to create only ONE image per server at a time. Try again later

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/scalarizr/handlers/rebundle.py", line 130, in on_Rebundle
    image_id = self.rebundle()
  File "/usr/lib/pymodules/python2.7/scalarizr/handlers/rackspace/rebundle.py", line 68, in rebundle
    raise HandlerError('Another image is currently creating from this server. '
HandlerError: Another image is currently creating from this server. Rackspace allows to create only ONE image per server at a time. Try again later

Val

unread,
Jun 1, 2012, 3:37:52 PM6/1/12
to scalr-...@googlegroups.com
Now, I am not able to create a snapshot from a running instance

Caller: /DBServer

Message: Cannot deliver message 'Rebundle' (message_id: 5e7887c3-bc65-42a7-bb7c-73607ce2609b) via REST to server '23.20.196.56' (server_id: 940fffab-2f37-4168-935e-483b2a3e5f40). Error: 0 Couldn't connect to server; couldn't connect to host (http://23.20.196.56:8013/control)

Igor Savchenko

unread,
Jun 1, 2012, 3:51:50 PM6/1/12
to scalr-...@googlegroups.com
Is scalarizr running on this server? If not please provide
/var/log/scalarizr.log then start it and try again.

Regards,
Igor
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalr-discuss/-/-wAXCAnILb0J.
>
> To post to this group, send email to scalr-...@googlegroups.com.
> To unsubscribe from this group, send email to
> scalr-discus...@googlegroups.com.

Dale-Kurt Murray

unread,
Jun 3, 2012, 11:25:24 AM6/3/12
to scalr-...@googlegroups.com
Has everyone been able to build a role with the latest scalarizr?

Igor Savchenko

unread,
Jun 3, 2012, 12:09:43 PM6/3/12
to scalr-...@googlegroups.com
According to our database more than 300 roles were built with latest
scalarizr on scalr.net .

Can you please describe more detailed what role you're trying to build
(Import, Role Builder or just snapshot of running server)? Provide OS,
version of scalr and logs.

Thanks,
Igor

Regards,
Igor

On 3 June 2012 18:25, Dale-Kurt Murray <dalekur...@gmail.com> wrote:
> Has everyone been able to build a role with the latest scalarizr?
>
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalr-discuss/-/4SSEHJXK3NYJ.

Dale-Kurt Murray

unread,
Jun 4, 2012, 9:47:17 AM6/4/12
to scalr-...@googlegroups.com
I'm doing a Role Builder using Ubuntu 10.04 and 11.04 with scalr version 2.5.r6086

The log shows that it is trying to use scalarizr 0.7.228 and not the latest release.

2012-06-03 17:06:52,711 - INFO - scalarizr - [pid: 12211] Starting scalarizr 0.7.228
2012-06-03 17:06:53,597 - INFO - scalarizr - [pid: 12221] Starting scalarizr 0.7.228
2012-06-03 17:06:53,600 - INFO - scalarizr.config - State: importing
2012-06-03 17:06:54,731 - INFO - scalarizr.messaging.p2p.consumer - Building message consumer server on 0.0.0.0:8013
2012-06-03 17:06:54,740 - INFO - scalarizr.handlers.lifecycle - Server will be imported into Scalr
2012-06-03 17:06:54,792 - INFO - scalarizr.snmp.agent - [pid: 12267] Starting SNMP server on 0.0.0.0:8014
2012-06-03 17:07:56,559 - INFO - scalarizr.config - State: rebundling
2012-06-03 17:07:59,280 - INFO - scalarizr.handlers.rebundle - Lookup server 108.166.96.37 on CloudServers
2012-06-03 17:07:59,449 - INFO - scalarizr.handlers.rebundle - Creating server image. server id: 20892651, image name: 'rs-app-apache64-ubuntu-11-04-20120603170759'
2012-06-03 17:08:02,066 - INFO - scalarizr.handlers.rebundle - Creating server image. server id: 20892651, image name: 'rs-app-apache64-ubuntu-11-04-20120603170802'
2012-06-03 17:08:03,657 - WARNING - scalarizr.handlers.rebundle - Rackspace API answered "Cannot create a new backup request while savinga prior backup or migrating".
2012-06-03 17:08:33,781 - INFO - scalarizr.handlers.rebundle - Searching "rs-app-apache64-ubuntu-11-04-20120603170802" image
2012-06-03 17:08:34,659 - INFO - scalarizr.handlers.rebundle - Image "rs-app-apache64-ubuntu-11-04-20120603170802" not found
2012-06-03 17:08:35,276 - INFO - scalarizr.handlers.rebundle - Creating server image. server id: 20892651, image name: 'rs-app-apache64-ubuntu-11-04-20120603170835'
2012-06-03 17:08:36,661 - WARNING - scalarizr.handlers.rebundle - Rackspace API answered "Cannot create a new backup request while savinga prior backup or migrating".
2012-06-03 17:09:06,762 - INFO - scalarizr.handlers.rebundle - Searching "rs-app-apache64-ubuntu-11-04-20120603170835" image
2012-06-03 17:09:07,554 - INFO - scalarizr.handlers.rebundle - Image "rs-app-apache64-ubuntu-11-04-20120603170835" not found
2012-06-03 17:09:07,958 - INFO - scalarizr.handlers.rebundle - Creating server image. server id: 20892651, image name: 'rs-app-apache64-ubuntu-11-04-20120603170907'
2012-06-03 17:09:09,828 - WARNING - scalarizr.handlers.rebundle - Rackspace API answered "Cannot create a new backup request while savinga prior backup or migrating".
2012-06-03 17:09:39,949 - INFO - scalarizr.handlers.rebundle - Searching "rs-app-apache64-ubuntu-11-04-20120603170907" image
2012-06-03 17:09:40,631 - INFO - scalarizr.handlers.rebundle - Image "rs-app-apache64-ubuntu-11-04-20120603170907" not found
2012-06-03 17:09:49,545 - INFO - scalarizr.config - State: importing
2012-06-03 17:09:49,545 - ERROR - scalarizr.handlers.rebundle - Another image is currently creating from this server. Rackspace allows to create only ONE image per server at a time. Try again later

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/scalarizr/handlers/rebundle.py", line 130, in on_Rebundle
    image_id = self.rebundle()
  File "/usr/lib/pymodules/python2.7/scalarizr/handlers/rackspace/rebundle.py", line 68, in rebundle
    raise HandlerError('Another image is currently creating from this server. '
HandlerError: Another image is currently creating from this server. Rackspace allows to create only ONE image per server at a time. Try again later

On Sunday, June 3, 2012 11:09:43 AM UTC-5, DicsyDel wrote:
According to our database more than 300 roles were built with latest
scalarizr on scalr.net .

Can you please describe more detailed what role you're trying to build
(Import, Role Builder or just snapshot of running server)? Provide OS,
version of scalr and logs.

Thanks,
Igor

Regards,
Igor

On 3 June 2012 18:25, Dale-Kurt Murray <dalekur...@gmail.com> wrote:
> Has everyone been able to build a role with the latest scalarizr?
>
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/scalr-discuss/-/4SSEHJXK3NYJ.
>
> To post to this group, send email to scalr-...@googlegroups.com.
> To unsubscribe from this group, send email to
> scalr-discuss+unsubscribe@googlegroups.com.

Val

unread,
Jun 4, 2012, 11:56:38 PM6/4/12
to scalr-...@googlegroups.com
I have been able to build a role with a non-scalr server.  On Centos 5.8, I needed to enable the scalr-latest.repo in /etc/yum.repos.d before upgrading the scalarizr.

Val

unread,
Jun 4, 2012, 11:57:25 PM6/4/12
to scalr-...@googlegroups.com
This is no longer an issue. I think I just had some cruft in my role.

Val

unread,
Jun 4, 2012, 11:59:24 PM6/4/12
to scalr-...@googlegroups.com
I have updated to scalarizr 0.7.231 but I am still having the same error on szradm.

[root@ec2-23-22-12-55 ~]# /usr/local/bin/szradm  list-roles
Traceback (most recent call last):
  File "/usr/local/bin/szradm", line 10, in <module>
    main()
  File "/usr/lib/python2.6/site-packages/scalarizr/util/szradm.py", line 630, in main
    raise LookupError("Cant execute command or option. Error: %s" % (e))
LookupError: Cant execute command or option. Error: Request failed. HTTP Error 500: Error. URL: https://vmtest-vm1.lbl.gov:44444/query-env. Service message: Version '2012-04-17' not supported
[root@ec2-23-22-12-55 ~]# yum list scalarizr*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Installed Packages
scalarizr-base.noarch                              0.7.231-1.el5                        installed
scalarizr-ec2.noarch                               0.7.231-1.el5                        installed
Available Packages
scalarizr-cloudstack.noarch                        0.7.231-1.el5                        scalr    
scalarizr-eucalyptus.noarch                        0.7.231-1.el5                        scalr    
scalarizr-nimbula.noarch                           0.7.231-1.el5                        scalr    
scalarizr-openstack.noarch                         0.7.231-1.el5                        scalr    
scalarizr-rackspace.noarch                         0.7.231-1.el5                        scalr    
[root@ec2-23-22-12-55 ~]# 

Nick Toursky

unread,
Jun 5, 2012, 7:19:49 AM6/5/12
to scalr-...@googlegroups.com
Hi Val,

By default Scalarizr using the latest communication protocol it is aware of.
Scalr indicates the latest version of communication protocol in all messages sent to Scalarizr. So, just sending a message from Scalr to Scalarizr should fix the issue. You can execute a dummy script through Scalr UI.

Regards,
Nick

To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/DLtJ2GbFHcMJ.

To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.

Dale-Kurt Murray

unread,
Jun 5, 2012, 9:51:05 AM6/5/12
to scalr-...@googlegroups.com
Am I the only person experiencing this issue on Rackspace Cloud? All my role build attempts have failed and are using an earlier version of scalarizr (v. 0.7.228), how can I fix this?

Nick Toursky

unread,
Jun 5, 2012, 12:13:57 PM6/5/12
to scalr-...@googlegroups.com
Hi Dale-Kurt,

There have been some changes to image bundling on Rackspace cloud code in Scalarizr 0.7.229.

To upgrade Scalarizr, make sure you're running the latest scalr-upd-client and enable repository "latest":

vim /etc/scalr/updclient.ini

repository = latest

service scalr-upd-client restart


Package will be automatically updated in about an hour.


Alternatively, upgrade package manually after restarting scalr-upd-client.


Regards,

Nick


On Tue, Jun 5, 2012 at 4:51 PM, Dale-Kurt Murray <dalekur...@gmail.com> wrote:
Am I the only person experiencing this issue on Rackspace Cloud? All my role build attempts have failed and are using an earlier version of scalarizr (v. 0.7.228), how can I fix this?

--
You received this message because you are subscribed to the Google Groups "scalr-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/u3ayCOl5a4UJ.

Dale-Kurt Murray

unread,
Jun 5, 2012, 12:19:01 PM6/5/12
to scalr-...@googlegroups.com
Thanks Nick,

At the moment I have not roles built, so I'll wait for the update before attempting to create a new role.

I'm unable to do any updates as a result of not having any existing roles, had I had know I could have done the update I would have kept the previous roles.
To unsubscribe from this group, send email to scalr-discuss+unsubscribe@googlegroups.com.

Val

unread,
Jun 5, 2012, 12:56:16 PM6/5/12
to scalr-...@googlegroups.com
Nick,

I am already using the scripting engine. Is executing a dummy script different from this? I am getting this error when I run the szradm inside of a script that is run during an event on instance launch. 

Cheers,
Val

Nick Toursky

unread,
Jun 6, 2012, 10:22:01 AM6/6/12
to scalr-...@googlegroups.com
Val,

I assumed you're talking about already running instance.
Which event do you have your script assigned to?

Regards,
Nick

To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/I2bz1CcHJ90J.

To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.

Dale-Kurt Murray

unread,
Jun 8, 2012, 7:16:06 AM6/8/12
to scalr-...@googlegroups.com
Nick,

Have you tested the role builder on Rackspace recently, I'm not getting the latest release and the role fails as a result

Val

unread,
Jun 11, 2012, 5:17:40 PM6/11/12
to scalr-...@googlegroups.com
I have scripts running on the HostUp event.

Val

unread,
Jun 11, 2012, 6:50:24 PM6/11/12
to scalr-...@googlegroups.com
I am seeing the following error in my Event Log when I try to run a Custom Script.  Why does this happen?

Jun 11, 2012 16:47:49
/DBServer
Cannot deliver message 'ExecScript' (message_id: 2b61519c-61f6-40ab-b879-e77d79bb4a96) via REST to server '50.16.9.129' (server_id: b9121848-05ab-4388-964f-cd91a7c22466). Error: 0 Couldn't connect to server; Failed to connect to 50.16.9.129: Permission denied (http://50.16.9.129:8013/control)

Caller: /DBServer

Message: Cannot deliver message 'ExecScript' (message_id: 2bxxx519c-61f6-40ab-b879-e77d79bb4a96) via REST to server 'x.x.x.x' (server_id: b9xxx1848-05ab-4388-964f-cd91a7c22466). Error: 0 Couldn't connect to server; Failed to connect to x.x.x.x: Permission denied (http://x.x.x.x:8013/control)

Nick Toursky

unread,
Jun 12, 2012, 7:26:43 AM6/12/12
to scalr-...@googlegroups.com
For some reason Scalr is unable to connect to Scalarizr running on this server.
Error message seems to be "Permission denied". You can try to connect to this port from Scalr server to investigate this problem.

To view this discussion on the web visit https://groups.google.com/d/msg/scalr-discuss/-/GE2zupGZ4WgJ.

To post to this group, send email to scalr-...@googlegroups.com.
To unsubscribe from this group, send email to scalr-discus...@googlegroups.com.

Val

unread,
Jun 12, 2012, 12:00:15 PM6/12/12
to scalr-...@googlegroups.com
OK. I will. The weird thing is that the Custom scripts do indeed run on the launched instances.

Dale-Kurt Murray

unread,
Jun 13, 2012, 11:08:39 AM6/13/12
to scalr-...@googlegroups.com
Val, what version of scalarizr are you running on your instances?

Igor Savchenko

unread,
Jun 26, 2012, 2:44:05 PM6/26/12
to scalr-...@googlegroups.com
Please provide output of `scalarizr -v` .

Thanks,
Igor

On 26 June 2012 11:34, Pawel Kilian <pawel...@gmail.com> wrote:
> Hi.
> I see this error again...
> 2012-06-26 14:24:54,032 - ERROR - scalarizr - Request failed. HTTP Error
> 500: Error. URL: https://scalr.nellymoser.com/query-env. Service message:
> Version '2012-04-17' not supported
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/scalarizr/__init__.py", line 801,
> in main
>     cnf.fire('apply_user_data', cnf)
>   File "/usr/lib/python2.6/site-packages/scalarizr/libs/pubsub.py", line 26,
> in fire
>     ln(*args, **kwargs)
>   File "/usr/lib/python2.6/site-packages/scalarizr/__init__.py", line 365,
> in _apply_user_data
>     userdata = queryenv.get_server_user_data()
>   File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line 126,
> in get_server_user_data
>     return self._request('get-server-user-data', {},
> self._read_get_server_user_data_response)
>   File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line 192,
> in _request
>     xml = self.fetch(command, **params)
>   File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line 70, in
> fetch
>     response = opener.open(req)
>   File "/usr/lib64/python2.6/urllib2.py", line 397, in open
>     response = meth(req, response)
>   File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response
>     'http', request, response, code, msg, hdrs)
>   File "/usr/lib64/python2.6/urllib2.py", line 435, in error
>     return self._call_chain(*args)
>   File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
>     result = func(*args)
>   File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default
>     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> QueryEnvError: Request failed. HTTP Error 500: Error. URL:
> https://scalr.nellymoser.com/query-env. Service message: Version
> '2012-04-17' not supported
>
>
>
> [root@ec2-107-22-134-217 hosts]# rpm -qa | grep scal
> scalr-upd-client-0.2.r151-1.el5
> scalarizr-base-0.9.r3625-1.el5
> scalarizr-0.6.25-1.el5
> scalarizr-ec2-0.9.r3625-1.el5
>
>
>
> I still use scalar 2.2.0
>
> and latest scalarizr
> https://groups.google.com/d/msg/scalr-discuss/-/fiOYvaUgBbsJ.
>
> To post to this group, send email to scalr-...@googlegroups.com.
> To unsubscribe from this group, send email to
> scalr-discus...@googlegroups.com.

Pawel Kilian

unread,
Jun 26, 2012, 3:00:52 PM6/26/12
to scalr-...@googlegroups.com
[root@ec2-107-22-134-217 ~]# scalarizr -v
Scalarizr 0.9.r3625
[root@ec2-107-22-134-217 ~]#
> scalr-discuss+unsubscribe@googlegroups.com.

Sree

unread,
Aug 1, 2012, 7:45:13 AM8/1/12
to scalr-...@googlegroups.com

Any updates ?
I'm getting this error on ubuntu 64 bit base role on my scalr 2x.
scalarizr -v gives the output : Scalarizr 0.7.231.

After I replace "2012-04-17" in the .py files with "2012-09-23" which is the highest ScalrEnvironment-class I have on my Scalr box, I'm getting this error -  Error. URL: http://61.246.221.170/query-env. Service message: Operation 'get-server-user-data' not supported.

What is the right way to fix these issues ?
Reply all
Reply to author
Forward
0 new messages