[Openstack] Trove instance created with error status

Ali Nazemian alinazemian at gmail.com
Sun Oct 26 19:09:19 UTC 2014


I checked the Juno release of trove and same error exists! Here is the
detail of this error:

2014-10-26 12:05:38.530 TRACE trove.common.utils     self.f(*self.args, **
self.kw)
2014-10-26 12:05:38.530 TRACE trove.common.utils   File
"/opt/stack/trove/trove/common/utils.py", line 254, in poll_and_check
2014-10-26 12:05:38.530 TRACE trove.common.utils     raise
exception.PollTimeOut
2014-10-26 12:05:38.530 TRACE trove.common.utils PollTimeOut: Polling
request timed out.
2014-10-26 12:05:38.530 TRACE trove.common.utils
2014-10-26 12:05:38.532 ERROR trove.taskmanager.models
[req-d98d6dfe-ea10-4936-8a59-47257a4bea48 703a08505f534dee8910d0074b161406
fa64d3adef724ff2b8ff71eb2427fdc6] Failed to create instance
da71dbd0-df1f-4fb8-b81b-f111f846ede9. Timeout waiting for instance to
become active. No usage create-event was sent.
2014-10-26 12:05:38.539 ERROR trove.taskmanager.models
[req-d98d6dfe-ea10-4936-8a59-47257a4bea48 703a08505f534dee8910d0074b161406
fa64d3adef724ff2b8ff71eb2427fdc6] Service status: ERROR
2014-10-26 12:05:38.540 ERROR trove.taskmanager.models
[req-d98d6dfe-ea10-4936-8a59-47257a4bea48 703a08505f534dee8910d0074b161406
fa64d3adef724ff2b8ff71eb2427fdc6] Service error description: guestagent
error
2014-10-26 12:05:38.543 DEBUG trove.db.models
[req-d98d6dfe-ea10-4936-8a59-47257a4bea48 703a08505f534dee8910d0074b161406
fa64d3adef724ff2b8ff71eb2427fdc6] Saving DBInstance: {u'cluster_id': None,
u'shard_id': None, u'deleted_at': None, u'id':
u'da71dbd0-df1f-4fb8-b81b-f111f846ede9', u'datastore_version_id':
u'ab0a44b0-f572-4cbb-86d0-9a0bddfbae55', 'errors': {}, u'hostname': None,
u'server_status': None, u'task_description': 'Build error: guestagent
timeout.', u'volume_size': 2L, u'type': None, u'updated':
datetime.datetime(2014, 10, 26, 19, 5, 38, 543237), '_sa_instance_state':
<sqlalchemy.orm.state.InstanceState object at 0x7f368cf69350>, u'deleted':
0, u'configuration_id': None, u'volume_id':
u'48ebcb39-b36d-48ac-9767-92d49b018fc1', u'slave_of_id': None,
u'task_start_time': None, u'name': u'test', u'task_id': 84, u'created':
datetime.datetime(2014, 10, 26, 18, 55, 29), u'tenant_id':
u'fa64d3adef724ff2b8ff71eb2427fdc6', u'compute_instance_id':
u'cfa4e357-ae0d-4e7f-82da-bb60eb061c69', u'flavor_id': 2L} from (pid=32744)
save /opt/stack/trove/trove/db/models.py:61
2014-10-26 12:05:38.549 ERROR trove.taskmanager.models
[req-d98d6dfe-ea10-4936-8a59-47257a4bea48 703a08505f534dee8910d0074b161406
fa64d3adef724ff2b8ff71eb2427fdc6] Trove instance status: ERROR
2014-10-26 12:05:38.550 ERROR trove.taskmanager.models
[req-d98d6dfe-ea10-4936-8a59-47257a4bea48 703a08505f534dee8910d0074b161406
fa64d3adef724ff2b8ff71eb2427fdc6] Trove instance status description: Build
error: guestagent timeout.

I really appreciate if you can help me in this regard. Thank you very much.

On Fri, Oct 24, 2014 at 8:07 PM, Ali Nazemian <alinazemian at gmail.com> wrote:

> Yeah It seems it fixed in Juno. So I am waiting for Juno devstack release
> to investigate that.
>
> On Mon, Oct 20, 2014 at 11:32 PM, Amrith Kumar <amrith at tesora.com> wrote:
>
>>  Ali, that bug was fixed and the fix has been released. The symptoms
>> appear similar though.
>>
>>
>>
>> -amrith
>>
>>
>>
>> *From:* Ali Nazemian [mailto:alinazemian at gmail.com]
>> *Sent:* Monday, October 20, 2014 11:20 AM
>> *To:* Swapnil Kulkarni
>> *Cc:* Amrith Kumar; openstack
>> *Subject:* Re: [Openstack] Trove instance created with error status
>>
>>
>>
>> Hi,
>>
>> Could it be related to this bug?
>>
>> https://bugs.launchpad.net/trove/+bug/1326591
>>
>>
>>
>>
>>
>> On Mon, Oct 20, 2014 at 12:26 PM, Swapnil Kulkarni <coolsvap at gmail.com>
>> wrote:
>>
>>  Hi Ali, Amrith,
>>
>>
>>
>> I have been facing similar issue for some days now, I tried simple
>> devstack, redstack for trove but the issue remains.
>>
>> Today I tried it without neutron as well. But no success
>>
>>
>>   Best Regards,
>> Swapnil Kulkarni
>> irc : coolsvap
>>
>>
>>
>> On Sat, Oct 18, 2014 at 1:40 AM, Ali Nazemian <alinazemian at gmail.com>
>> wrote:
>>
>>   Dear Amrith,
>>
>> Hi,
>>
>> Actually I did use "./stack.sh" command to install whole openstack
>> package. I also did some tests on different module using exercise.sh script
>> to check whether everything go fine. It seems that there is no problem with
>> different openstack modules from the aspect of "exercise.sh". I also tried
>> to check that nova can initiate instance or not. Everything was fine. I
>> manage to see the instance console and it booted successfully. I also check
>> the horizon when I tried to create trove instance. I found out that the
>> nova instance corresponding to trove instance was created and booted
>> successfully! FYI I did the process for mysql 5.5 and mongodb 2.4 both
>> ended up to error state! Right now I am suspicious about neutron module.
>> Could it be related to that?
>>
>> Regards.
>>
>>
>>
>> On Fri, Oct 17, 2014 at 11:20 PM, Amrith Kumar <amrith at tesora.com> wrote:
>>
>>  Ali, it appears that you may be using devstack. I’ve not seen this
>> particular failure before but it could be one of several things.
>>
>>
>>
>> What command(s) did you execute? I’m assuming that before trove create
>> you did
>>
>>
>>
>> devstack install
>>
>> devstack kick-start <some db>
>>
>>
>>
>> It would be good to know what database you chose.
>>
>>
>>
>> Other things that’d be good to verify are that you are able to launch a
>> nova instance (if Nova is no va then Trove will not work either).
>>
>>
>>
>> Also, you’ll likely get quicker responses on IRC at #openstack-trove.
>>
>>
>>
>> Hope that helps, thanks,
>>
>>
>>
>> -amrith
>>
>>
>>
>> --
>>
>>
>>
>> Amrith Kumar, CTO, Tesora
>>
>>
>>
>> Twitter: @amrithkumar
>>
>> Skype: amrith.skype
>>
>> Web: http://www.tesora.com
>>
>> IRC: amrith @freenode #openstack-trove #tesora
>>
>>
>>
>>
>>
>> *From:* Ali Nazemian [mailto:alinazemian at gmail.com]
>> *Sent:* Friday, October 17, 2014 2:46 PM
>> *To:* openstack
>> *Subject:* [Openstack] Trove instance created with error status
>>
>>
>>
>> Hi,
>>
>> I install openstack icehouse with devstack script. I tried to create
>> trove instance using "trove create" command. After passing around 10 min
>> the status of created database becomes "error". I checked different logs
>> i.e. screen-tr-api.log, screen-n-api.log screen-n-cpu.log nothing unusual
>> detected. Only I found out that "screen-tr-api.log showed this error as a
>> part of process:
>>
>> 2014-10-17 22:08:10.438 ERROR trove.guestagent.api [-] Error calling
>> get_filesystem_stats
>>
>> 2014-10-17 22:08:10.438 TRACE trove.guestagent.api Traceback (most recent
>> call last):
>>
>> 2014-10-17 22:08:10.438 TRACE trove.guestagent.api   File
>> "/opt/stack/trove/trove/guestagent/api.py", line 53, in _call
>>
>> 2014-10-17 22:08:10.438 TRACE trove.guestagent.api
>> timeout=timeout_sec)
>>
>> 2014-10-17 22:08:10.438 TRACE trove.guestagent.api   File
>> "/opt/stack/trove/trove/openstack/common/rpc/proxy.py", line 130, in call
>>
>> 2014-10-17 22:08:10.438 TRACE trove.guestagent.api     exc.info,
>> real_topic, msg.get('method'))
>>
>> 2014-10-17 22:08:10.438 TRACE trove.guestagent.api Timeout: Timeout while
>> waiting on RPC response - topic:
>> "guestagent.9f153047-baf1-494a-b369-bad88582afe4", RPC method:
>> "get_filesystem_stats" info: "<unknown>"
>>
>> 2014-10-17 22:08:10.438 TRACE trove.guestagent.api
>>
>> 2014-10-17 22:08:10.438 ERROR trove.instance.models [-] An error occurred
>> communicating with the guest: Timeout while waiting on RPC response -
>> topic: "guestagent.9f153047-baf1-494a-b369-bad88582afe4", RPC method:
>> "get_filesystem_stats" info: "<unknown>".
>>
>>
>>
>> Would you please help me to find out what is the source of this problem
>> and how can I fix that?
>>
>> Best regards.
>>
>>
>>
>> --
>> A.Nazemian
>>
>>
>>
>>
>>
>> --
>> A.Nazemian
>>
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>>
>>
>>
>>
>>
>> --
>> A.Nazemian
>>
>
>
>
> --
> A.Nazemian
>



-- 
A.Nazemian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141026/94cc00ef/attachment.html>


More information about the Openstack mailing list