OpenStack Compute (Nova)
Go to file
Hiroyuki Eguchi cca94d032b Fix connecting unnecessary iSCSI sessions issue
In Icehouse with "iscsi_use_multipath=true", attaching a multipath
iSCSI volume may create unnecessary iSCSI sessions.

The iscsiadm discovery command in connect_volume() returns all of the
targets in the Cinder node, not just the ones related to the multipath
volume which is specified by iqn. If the storage has many targets,
connecting to all these volumes will also result in many unnecessary
connections.

There are two types of iSCSI multipath devices. One which shares
the same iqn between multiple portals, and the other which use
different iqns on different portals. connect_volume() needs to
identify the type by checking iscsiadm the output if the iqn is
used by multiple portals.

This patch changes the behavior of attaching volume:

   1. Identify the type by checking the iscsiadm output.
   2. Connect to the correct targets by connect_to_iscsi_portal().

Closes-Bug: #1382440

(cherry picked from commit fb0de106f2)

Conflicts:
        nova/tests/unit/virt/libvirt/test_volume.py

Change-Id: I488ad0c09bf26a609e27d67b9ef60b65bb45e0ad
2014-12-26 09:38:03 +09:00
contrib Merge "changed quantum to neutron in vif-openstack" 2014-03-05 10:45:05 +00:00
doc Merge "VM in rescue state must have a restricted set of actions" into stable/icehouse 2014-09-27 14:30:30 +00:00
etc/nova Fix rootwrap for non openstack.org iqn's 2014-09-09 15:16:50 -06:00
nova Fix connecting unnecessary iSCSI sessions issue 2014-12-26 09:38:03 +09:00
plugins/xenserver Merge "Rename Openstack to OpenStack" 2014-03-18 01:17:47 +00:00
tools Re-work how debugger CLI opts are registered 2014-03-25 06:44:50 -04:00
.coveragerc Port Cheetah templates to Jinja2 2013-09-02 16:03:34 +02:00
.gitignore Add nova.conf.sample to gitignore 2014-03-27 11:57:42 -07:00
.gitreview Opening stable/icehouse 2014-04-17 14:41:19 +02:00
.mailmap Update the mailmap 2014-02-15 09:59:26 +08:00
.testr.conf Fix tests to work with mysql+postgres concurrently 2013-10-27 09:46:45 +11:00
CONTRIBUTING.rst Fix the section name in CONTRIBUTING.rst 2014-03-28 12:12:11 +01:00
HACKING.rst Replace assertEqual(None, *) with assertIsNone in tests 2014-02-16 17:31:28 +08:00
LICENSE initial commit 2010-05-27 23:05:26 -07:00
MANIFEST.in Finish AUTHORS transition. 2012-07-05 09:11:37 -05:00
README.rst Update references with new Mailing List location 2013-07-28 11:28:46 -07:00
babel.cfg Get rid of distutils.extra. 2012-02-08 19:30:39 -08:00
openstack-common.conf notifier middleware broken by oslo.messaging 2014-03-04 16:58:50 -05:00
pylintrc Don't warn about C0111 (No docstrings) 2011-03-16 15:28:09 -07:00
requirements.txt Block sqlalchemy migrate 0.9.2 as it breaks all of nova 2014-09-13 18:52:21 +00:00
run_tests.sh Fix run_tests.sh lockutils when run with -d 2014-02-10 14:16:13 +01:00
setup.cfg Bump stable/icehouse next version to 2014.1.4 2014-10-02 17:27:24 -07:00
setup.py Updated from global requirements 2013-09-05 11:12:57 -04:00
test-requirements.txt Updated from global requirements 2014-07-24 16:50:27 +00:00
tox.ini Merge "Loosen import_exceptions to cover all of gettextutils" into stable/icehouse 2014-09-24 11:01:33 +00:00

README.rst

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:

http://github.com/openstack/nova

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

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

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://nova.openstack.org/

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

-- End of broadcast