OpenStack resource provider inventory allocation service
Go to file
Matt Riedemann 4a154164da Log DBReferenceError in archive_deleted_rows_for_table
We should add the foreign key constraint integrity error to the warning
since it includes detailed information about the reference table that
caused the constraint failure, which is useful for knowing things are
out of order without having to check your database.

You get something like this now:

2015-10-07 15:29:38.238 WARNING nova.db.sqlalchemy.api
[req-6115aef5-2a82-4d42-bf67-eaab2e8eee63 None None] IntegrityError
 detected when archiving table instances: (pymysql.err.IntegrityError)
 (1451, u'Cannot delete or update a parent row: a foreign key constraint
 fails (`nova`.`instance_actions`, CONSTRAINT
 `fk_instance_actions_instance_uuid` FOREIGN KEY (`instance_uuid`)
 REFERENCES `instances` (`uuid`))') [SQL: u'DELETE FROM instances WHERE
 instances.id in (SELECT T1.id FROM (SELECT instances.id \nFROM
 instances \nWHERE instances.deleted != %s ORDER BY instances.id \n
 LIMIT %s) as T1)'] [parameters: (0, 10)]

Related-Bug: #1183523

Change-Id: I41b10898c6e9cc48da58c4d2daf7df362fc9fc36
2015-10-07 09:33:05 -07:00
doc remove sphinxcontrib-seqdiag 2015-10-05 15:00:20 -04:00
nova Log DBReferenceError in archive_deleted_rows_for_table 2015-10-07 09:33:05 -07:00
tools tox: make it possible to run pep8 on current patch only 2015-07-24 16:15:38 +01:00
.coveragerc Change ignore-errors to ignore_errors 2015-09-21 14:34:39 +00:00
.gitignore Add sample config file to nova docs 2015-09-30 22:35:46 +00:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 15:07:19 -04:00
babel.cfg Get rid of distutils.extra. 2012-02-08 19:30:39 -08:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 03:30:37 +00:00
HACKING.rst Fix typo in HACKING.rst 2015-09-16 13:10:12 +02:00
LICENSE initial commit 2010-05-27 23:05:26 -07:00
README.rst Update links in README 2014-05-07 16:06:24 -07:00
requirements.txt Updated from global requirements 2015-10-07 01:44:49 +00:00
setup.cfg Open Mitaka development 2015-09-22 15:11:02 +01:00
setup.py Updated from global requirements 2015-09-17 16:41:48 +00:00
test-requirements.txt Merge "remove sphinxcontrib-seqdiag" 2015-10-06 14:02:59 +00:00
tox.ini Use os-testr for py34 tox target 2015-09-30 19:53:53 -04:00

OpenStack Nova README

OpenStack Nova provides a cloud computing fabric controller, supporting a wide variety of virtualization technologies, including KVM, Xen, LXC, VMware, and more. In addition to its native API, it includes compatibility with the commonly encountered Amazon EC2 and S3 APIs.

OpenStack Nova is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

Nova primarily consists of a set of Python daemons, though it requires and integrates with a number of native system components for databases, messaging and virtualization capabilities.

To keep updated with new developments in the OpenStack project follow @openstack on Twitter.

To learn how to deploy OpenStack Nova, consult the documentation available online at:

http://docs.openstack.org

For information about the different compute (hypervisor) drivers supported by Nova, read this page on the wiki:

https://wiki.openstack.org/wiki/HypervisorSupportMatrix

In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. If you obtained the software from a 3rd party operating system vendor, it is often wise to use their own bug tracker for reporting problems. In all other cases use the master OpenStack bug tracker, available at:

http://bugs.launchpad.net/nova

Developers wishing to work on the OpenStack Nova project should always base their work on the latest Nova code, available from the master GIT repository at:

https://git.openstack.org/cgit/openstack/nova

Developers should also join the discussion on the mailing list, at:

http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Any new code must follow the development guidelines detailed in the HACKING.rst file, and pass all unit tests. Further developer focused documentation is available at:

http://docs.openstack.org/developer/nova/

For information on how to contribute to Nova, please see the contents of the CONTRIBUTING.rst file.

-- End of broadcast