Ask Your Question
0

trove instance creation problem

asked 2015-06-13 11:37:25 -0600

celius202 gravatar image

I know many people asked same questions before, but I could't find clear answer. So I asked it again

I installed trove package on my openstack platform. I configured carefully and also built guestagent image.

Problem is that a nova instance is not created after 'trove create ...' command is executed. I cannot find any ERROR messages in trove/nova logs. It seems that nova can receive messages from trove, because some logs are appended to /var/log/nova/api.log right after the creation command.

I want to analyze nova processing related to trove instance creation. Please let me know what is right nova logs and tracing howto nova python modules!!

edit retag flag offensive close merge delete

Comments

Please let us know more details on setup. which document you are referring to configure trove? can you please list the output of below commands( please source keystonerc file and run below commands)

trove list
trove flavor-list
sunnyarora gravatar imagesunnyarora ( 2015-06-14 10:23:17 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-10-03 03:16:21 -0600

xinwenzeng gravatar image

updated 2015-10-03 03:18:41 -0600

I have see some problem,i solved it follow below setup:

1,In controller

export OS_DATABASE_API_VERSION="1.0"

2,create endpoint like this:

image description

you can run "trove --debug list" to see the error log

edit flag offensive delete link more
0

answered 2015-06-14 20:44:14 -0600

celius202 gravatar image

updated 2015-06-14 20:45:34 -0600

Here's my list

# trove list
+--------------------------------------+------+-----------+-------------------+--------+-----------+------+
|                  id                  | name | datastore | datastore_version | status | flavor_id | size |
+--------------------------------------+------+-----------+-------------------+--------+-----------+------+
| 6054c2b3-8d00-4992-8d6b-f334923b3543 | db0  |   mysql   |     mysql-5.5     | BUILD  |     2     |  2   |
+--------------------------------------+------+-----------+-------------------+--------+-----------+------+

# trove flavor-list
+----+-----------+-------+
| id |    name   |  ram  |
+----+-----------+-------+
| 1  |  m1.tiny  |  512  |
| 2  |  m1.small |  2048 |
| 3  | m1.medium |  4096 |
| 4  |  m1.large |  8192 |
| 5  | m1.xlarge | 16384 |
+----+-----------+-------+

I referred to below two docs.

  • http://openstack.10931.n7.nabble.com/attachment/45488/0/README-OPENSTACK.gz (http://openstack.10931.n7.nabble.com/...)
  • http://longgeek.com/2014/05/19/openstack-trove-dedicated-mirror-making (http://longgeek.com/2014/05/19/openst...)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2015-06-13 11:37:25 -0600

Seen: 220 times

Last updated: Oct 03 '15