Re: Launching a new server in a new role Fails

53 views
Skip to first unread message
Message has been deleted

Nick Toursky

unread,
Oct 4, 2012, 9:51:28 AM10/4/12
to scalr-...@googlegroups.com
Sony,

Please send Scalarizr debug log (it is also at /var/log/) to me privately.

Thanks,
Nick

On Thu, Oct 4, 2012 at 3:40 PM, Sony Koithara <so...@koithara.com> wrote:
> This is the complete error. Can somebody please help :
>
> 2012-10-04 08:13:16,761 - INFO - scalarizr - [pid: 1342] Starting scalarizr
> 0.9.r4124
> 2012-10-04 08:13:17,631 - INFO - scalarizr.config - State: bootstrapping
> 2012-10-04 08:13:19,126 - INFO - scalarizr.messaging.p2p.consumer - Building
> message consumer server on 0.0.0.0:8013
> 2012-10-04 08:13:19,127 - INFO - scalarizr - Starting API server on
> http://0.0.0.0:8010
> 2012-10-04 08:13:19,139 - INFO - scalarizr.handlers.lifecycle - Starting
> initialization
> 2012-10-04 08:13:19,581 - INFO - scalarizr.snmp.agent - [pid: 1470] Starting
> SNMP server on 0.0.0.0:8014
> 2012-10-04 08:13:44,924 - INFO - scalarizr.config - State: initializing
> 2012-10-04 08:13:45,187 - INFO - scalarizr.handlers.block_device -
> Configuring block device mountpoints
> 2012-10-04 08:13:45,324 - INFO - scalarizr.messaging.p2p.consumer - Building
> message consumer server on 0.0.0.0:8012
> 2012-10-04 08:13:45,719 - INFO - scalarizr.handlers - Virtual hosts dir
> /etc/scalr/private.d/vhosts doesn't exist. Creating
> 2012-10-04 08:13:46,223 - INFO - scalarizr.handlers - RPAFproxy_ips:
> 127.0.0.1
> 2012-10-04 08:13:46,224 - INFO - scalarizr.handlers - Reloading app.
> (Applying new RPAF proxy IPs list)
> 2012-10-04 08:13:47,155 - ERROR - scalarizr.handlers - Request failed. HTTP
> Error 500: Error. URL: http://scalr.gecompany.com/query-env. Service
> message: Operation 'get-service-configuration' not supported
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/scalarizr/handlers/__init__.py",
> line 307, in __call__
> handler(message)
> File "/usr/lib/python2.6/site-packages/scalarizr/handlers/__init__.py",
> line 226, in __call__
> getattr(self, fn)(message)
> File "/usr/lib/python2.6/site-packages/scalarizr/handlers/lifecycle.py",
> line 315, in on_HostInitResponse
> bus.fire("before_host_up", hostup_msg)
> 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/handlers/apache.py", line
> 242, in on_before_host_up
> bus.fire('service_configured', service_name=SERVICE_NAME)
> 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/handlers/__init__.py",
> line 512, in sc_on_configured
> service_conf =
> self._queryenv.get_service_configuration(self._service_name)
> File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line 190,
> in get_service_configuration
> self._read_get_service_configuration_response, (behaviour,))
> File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line 206,
> in _request
> xml = self.fetch(command, **params)
> File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line 73, 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:
> http://scalr.gecompany.com/query-env. Service message: Operation
> 'get-service-configuration' not supported
>
> On Wednesday, October 3, 2012 4:36:34 PM UTC-4, Sony Koithara wrote:
>>
>>
>> ERROR - scalarizr handlers - Request failed. HTTP Error 500: Error. URL:
>> http://scalr.*****.com/query-env. Service message: Operation
>> 'get-service-configuration' not supported
>>
>> is the error I get.
>>
>> Just installed scalr-3.0.r6748 version and created a new farm and a new
>> role. However when try to launch a new server it fails with the above
>> message. Any idea ?
>
> --
> 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/-/Y1IWualt-DMJ.
>
> 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.

Sony Koithara

unread,
Oct 5, 2012, 10:45:47 AM10/5/12
to scalr-...@googlegroups.com
Hi Nick,

I did sent you the log. Did you get time to check that ?

Thanks,
Sony Koithara

Sony Koithara

unread,
Oct 8, 2012, 2:02:43 PM10/8/12
to scalr-...@googlegroups.com
Can somebody please help on this.

Thanks,
Sony Koithara

Igor Savchenko

unread,
Oct 8, 2012, 5:26:43 PM10/8/12
to scalr-...@googlegroups.com
Your Scalr 3.5 is a fresh install or you've did upgrade from previous version?

I've checked 3.5 package and it contains version of query-env
requested by server. So seems like not all files was updated or copied
properly.

Regards,
Igor
> https://groups.google.com/d/msg/scalr-discuss/-/WFeOkVQPKaQJ.

Sony Koithara

unread,
Oct 8, 2012, 7:22:45 PM10/8/12
to scalr-...@googlegroups.com
version isn't 3.5. it is 3.0

Thanks,
Sony Koithara

Igor Savchenko

unread,
Oct 8, 2012, 7:28:05 PM10/8/12
to scalr-...@googlegroups.com
Probably, this is the issue. 3.0 is very old and new versions of scalr
agent could be not compatible with it. I would suggest you to use the
latest available version: 3.5.

Regards,
Igor
> https://groups.google.com/d/msg/scalr-discuss/-/1AXJkKFHfQ4J.

Sony Koithara

unread,
Oct 8, 2012, 10:19:06 PM10/8/12
to scalr-...@googlegroups.com
yay... it worked.. you ROCK!!!

Thanks,
Sony Koithara

Sebastian Stadil

unread,
Oct 9, 2012, 3:02:56 AM10/9/12
to scalr-...@googlegroups.com
Of course he rocks! :)
--
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/-/dIy9_9EMM2wJ.

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.


--


Follow us: Twitter - Facebook - Blog

Reply all
Reply to author
Forward
0 new messages