Fixed in Scalarizr 0.19.5
On Monday, July 8, 2013 4:37:30 PM UTC+3, Denis Kot wrote:
>
> Ok, I added dummy "variable=value" and seems it helped. Now all instances
> are "Running".
>
> понедельник, 8 июля 2013 г., 14:54:46 UTC+3 пользователь Denis Kot написал:
>>
>> it seems that problem is in this part:
>> 2013-07-08 07:44:49,268 - DEBUG - scalarizr.queryenv - QueryEnv request:
>> operation=list-global-variables&version=2012-07-01
>> 2013-07-08 07:44:49,846 - DEBUG - scalarizr.queryenv - QueryEnv response:
>> <?xml version="1.0"?>
>> <response><variables/></response>
>>
>> 2013-07-08 07:44:49,847 - WARNING - scalarizr - Caught exception in
>> "init": 'NoneType' object is unsubscriptable
>> Traceback (most recent call last):
>> File "/usr/lib/python2.6/site-packages/scalarizr/__init__.py", line
>> 920, in main
>> bus.fire('init')
>> File "/usr/lib/python2.6/site-packages/scalarizr/libs/bases.py", line
>> 29, in fire
>> ln(*args, **kwargs)
>> File
>> "/usr/lib/python2.6/site-packages/scalarizr/handlers/lifecycle.py", line
>> 153, in on_init
>> self._fetch_globals()
>> File
>> "/usr/lib/python2.6/site-packages/scalarizr/handlers/lifecycle.py", line
>> 157, in _fetch_globals
>> glob_vars = queryenv.list_global_variables()
>> File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line
>> 222, in list_global_variables
>> return self._request('list-global-variables', {},
>> self._read_list_global_variables)
>> File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line
>> 229, in _request
>> return response_reader(xml, *response_reader_args)
>> File "/usr/lib/python2.6/site-packages/scalarizr/queryenv.py", line
>> 236, in _read_list_global_variables
>> glob_vars = data['variables']['values'] if 'variables' in data else {}
>> TypeError: 'NoneType' object is unsubscriptable
>>
>> should I provide at least one "global variable"? if yes then what
>> variable?
>>
>> пятница, 5 июля 2013 г., 20:05:29 UTC+3 пользователь DicsyDel написал:
>>>
>>> Can you please provide full /var/log/scalarizr_debug.log ?
>>>
>>> Thanks,
>>> Igor
>>>
>>> On 5 July 2013 08:55, Denis Kot <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> I just installed scalr and tried to launch few instance at my aws
>>>> environment but all of them failed with ''NoneType' object is
>>>> unsubscriptable" error. I tried mysql-ubuntu1204, percona-centos,
>>>> base-ubuntu1204 and few others, but all of them failed:
>>>>
>>>> <http://i.imm.io/1biZK.png>
>>>>
>>>>
>>>> --
>>>> 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/groups/opt_out.
>>>>
>>>>
>>>>
>>>
>>>
--
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/groups/opt_out.