Ask Your Question
1

trove NotFound: The resource could not be found. (HTTP 404)

asked 2016-11-14 03:29:33 -0500

Erik gravatar image

updated 2016-11-14 03:38:31 -0500

i cant make trove working and i see this error in trove-taskmanager.log when i check rabbit i see a message waiting in the queue guestagent.eec6047c-a7d2-4c73-a654-ea134503b2cd but no consumer

2016-11-14 11:25:17.331 14817 DEBUG oslo_messaging._drivers.amqpdriver [-] received message with unique_id: 49d5bbcd8c9f48a6a9639ed07ecd71e9 __call__ /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:196 2016-11-14 11:25:17.344 14817 DEBUG trove.instance.models [-] Instance eec6047c-a7d2-4c73-a654-ea134503b2cd service status is new. load_instance /usr/lib/python2.7/site-packages/trove/instance/models.py:526 2016-11-14 11:25:17.352 14817 INFO trove.taskmanager.models [-] Creating instance eec6047c-a7d2-4c73-a654-ea134503b2cd. 2016-11-14 11:25:17.353 14817 DEBUG neutronclient.client [-] REQ: curl -i http://controller01:9696//v2.0/securi... -X POST -H "User-Agent: python-neutronclient" -H "X-Auth-Token: {SHA1}73920586ff2340e6e4ba85264ee4848e1bde3cb7" -d '{"security_group": {"name": "SecGroup_eec6047c-a7d2-4c73-a654-ea134503b2cd", "description": "Security Group for eec6047c-a7d2-4c73-a654-ea134503b2cd"}}' http_log_req /usr/lib/python2.7/site-packages/neutronclient/common/utils.py:185 2016-11-14 11:25:17.579 14817 DEBUG neutronclient.client [-] RESP: 201 {'Date': 'Mon, 14 Nov 2016 09:25:17 GMT', 'Content-Length': '1396', 'Connection': 'keep-alive', 'Content-Type': 'application/json; charset=UTF-8', 'X-Openstack-Request-Id': 'req-e4984d4f-ec0f-4b3d-a320-ecff65ac7c7a'} {"security_group": {"description": "Security Group for eec6047c-a7d2-4c73-a654-ea134503b2cd", "tenant_id": "1c7b790d9fd148ef97008ba3c153c1ed", "created_at": "2016-11-14T09:25:17Z", "updated_at": "2016-11-14T09:25:17Z", "security_group_rules": [{"direction": "egress", "protocol": null, "description": null, "port_range_max": null, "updated_at": "2016-11-14T09:25:17Z", "revision_number": 1, "id": "9f96c6c5-423b-4a18-b13b-21b37eb2b00d", "remote_group_id": null, "remote_ip_prefix": null, "created_at": "2016-11-14T09:25:17Z", "security_group_id": "b9e12174-4175-4040-accd-53c65ef780d0", "tenant_id": "1c7b790d9fd148ef97008ba3c153c1ed", "port_range_min": null, "ethertype": "IPv4", "project_id": "1c7b790d9fd148ef97008ba3c153c1ed"}, {"direction": "egress", "protocol": null, "description": null, "port_range_max": null, "updated_at": "2016-11-14T09:25:17Z", "revision_number": 1, "id": "f51520a1-8fb5-4c2c-a7f7-f297989d7e5c", "remote_group_id": null, "remote_ip_prefix": null, "created_at": "2016-11-14T09:25:17Z", "security_group_id": "b9e12174-4175-4040-accd-53c65ef780d0", "tenant_id": "1c7b790d9fd148ef97008ba3c153c1ed", "port_range_min": null, "ethertype": "IPv6", "project_id": "1c7b790d9fd148ef97008ba3c153c1ed"}], "revision_number": 1, "project_id": "1c7b790d9fd148ef97008ba3c153c1ed", "id": "b9e12174-4175-4040-accd-53c65ef780d0", "name": "SecGroup_eec6047c-a7d2-4c73-a654-ea134503b2cd"}} http_log_resp /usr/lib/python2.7/site-packages/neutronclient/common/utils.py:194 2016-11-14 11:25:17.579 14817 DEBUG neutronclient.v2_0.client [-] POST call to neutron for http://controller01:9696//v2.0/securi... used request id req-e4984d4f-ec0f-4b3d-a320-ecff65ac7c7a _append_request_id /usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py:127 2016-11-14 11:25:17.580 14817 DEBUG trove.db.models [-] Saving SecurityGroup: {u'updated': datetime.datetime(2016, 11, 14, 9, 25, 17, 580723), '_sa_instance_state': , u'description': u'Security Group for eec6047c-a7d2-4c73-a654-ea134503b2cd', u'created': datetime.datetime(2016, 11, 14, 9, 25, 17, 580554), u'deleted': False, u'tenant_id': u'1c7b790d9fd148ef97008ba3c153c1ed', 'errors': {}, u'user': u'8f8e3296fec7438fad4dec5806b6e489', u'id': u'b9e12174-4175-4040-accd-53c65ef780d0', u'name': u'SecGroup_eec6047c-a7d2-4c73-a654-ea134503b2cd'} save /usr/lib/python2.7/site-packages/trove/db/models.py:62 2016-11-14 11:25:17.614 14817 DEBUG trove.db.models [-] Saving SecurityGroupInstanceAssociation: {u'updated': datetime.datetime(2016, 11, 14, 9, 25, 17, 614188), '_sa_instance_state': , u'created': datetime.datetime(2016, 11, 14, 9, 25, 17, 614077), u'deleted': False, u'security_group_id': u'b9e12174-4175-4040-accd-53c65ef780d0', u'instance_id': u'eec6047c-a7d2-4c73-a654-ea134503b2cd', 'errors': {}, u'id': 'ba102e5d-e733-4181-8db5-9f64f6a8ae8c'} save /usr/lib/python2.7/site-packages/trove/db/models.py:62 2016-11-14 11:25:17.647 14817 DEBUG neutronclient.client [-] REQ: curl -i http://controller01:9696//v2.0/securi... -X POST -H "User-Agent: python-neutronclient" -H "X-Auth-Token: {SHA1}73920586ff2340e6e4ba85264ee4848e1bde3cb7" -d '{"security_group_rule": {"direction": "ingress", "protocol": "tcp", "remote_ip_prefix": "0.0.0.0/0", "port_range_max": 3306, "security_group_id": "b9e12174-4175-4040-accd-53c65ef780d0", "port_range_min": 3306, "ethertype": "IPv4"}}' http_log_req /usr/lib/python2.7 ...

(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-11-14 07:12:38 -0500

amrith gravatar image

So clearly you got past the issue with creating the security group that you reported here.

Now, can you tell whether a guest instance is being created (typically, nova list, or look in trove-taskmanager log for an instance id). Then look to Nova to see if that instance launched properly. If the instance failed to launch in Nova, what's in Nova's log file?

If the instance launched fine and came ACTIVE (from Nova's perspective), what does 'trove list' show?

What guest image did you use?

What version of Trove?

What operating system are you installing on?

You will likely get quicker assistance on #openstack-trove in IRC during US daylight hours, Monday to Friday.

edit flag offensive delete link more
0

answered 2016-11-14 07:31:19 -0500

Erik gravatar image

updated 2016-11-14 07:34:11 -0500

Thanks for helping.

so as i see the lunch is ok no ERROR reported (only NotFound: The resource could not be found. (HTTP 404) from time to time) i see a server lunched and active in nova.

openstack server list

+--------------------------------------+------------------+--------+---------------------------------------------+------------+ | ID | Name | Status | Networks | Image Name | +--------------------------------------+------------------+--------+---------------------------------------------+------------+ | 333e87cb-18da-4cfc-a7b2-b1801e1d5c33 | mysql_instance_2 | ACTIVE | provider=192.168.202.115 | mysqlTest |

trove list

+--------------------------------------+------------------+-----------+-------------------+--------+--------------------------------------+------+ | ID | Name | Datastore | Datastore Version | Status | Flavor ID | Size | +--------------------------------------+------------------+-----------+-------------------+--------+--------------------------------------+------+ | 7b184844-8a24-46d4-9346-6703134364e4 | mysql_instance_2 | mysql | mysql-5.6 | BUILD | 751fac89-5d4c-44da-ad31-32e46575fa88 | 5 | +--------------------------------------+------------------+-----------+-------------------+--------+--------------------------------------+------+

The image is mysql from http://tarballs.openstack.org/trove/i...

Trove version 1:6.0.0-1.el7

Centos7

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

1 follower

Stats

Asked: 2016-11-14 03:29:33 -0500

Seen: 259 times

Last updated: Nov 14 '16