| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | | |
Change-Id: I2619eea5371be430fe303db21a1958b84c5d0f0e
|
| |\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
- makes query efficient by using Quantum API filters (new in API v1.1)
- fixes correctness issue where we did not handle case where network
did not exist in quantum (note: this was masked by a quantum bug that
will be fixed once this change is into nova).
Also included a few other minor things in this patchset:
1) make get_instance_nw_info use network label from DB, which is already
available, rather than calling out to quantum just to get the name.
2) quantum manager was not properly cleaning up VIFs in the nova db. This fixes that.
3) set 'bridge' in nw_info dictionary to the empty string, to clearly indicate that this value is ignored by Quantum Manager.
Change-Id: Ia1cbb5232f8ce373b605979902f88d7528d3e456
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Some volumes need to know the name of the initiator that will be
connecting to the iscsi volume. This adds a call down to the hypervisor
driver to get the ip and the initiator name for the vm before calling
initialize connection. This connection is passed down to the volume
driver so that it can be used to authenticate when the hypervisor
tries to connect to the volume.
* Adds initiator initialize_connection
* Makes a call to driver to get initiator name and ip address
* Gets initiator from openiscsi for libvirt
* Gets initiator from config for xenapi
* Add tests for the driver calls
* Fixes bug 924461
Change-Id: I5b6a2dd84560c7f7b447571e0abf0993e5512ca0
|
| |\| | | | | | |
|
| | | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Adds a rootwrap filter to limit readable files
* Adds a utils method to read a file as root
* adds tests to verify the additions work
Change-Id: Ic1ffb6f72f9b73795d5f39fac719842e6bdf16dd
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes bug 927289
Change-Id: If290cea2fe509e7e972ff614bddf958edcc621f6
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If connection_type is None, the default firewall driver should not
be nova.virt.libvirt.firewall.IptablesFirewallDriver; it should
either be None or the base one.
If this fix gets through, devstack needs to be fixed accordingly.
See review below for details.
https://review.openstack.org/#change,3576
Change-Id: I58dabc50be2d5cdcd509b2ac89a5bd0f78251bd0
|
| |\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
/etc/network/interfaces"
|
| | | |/ / / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
/etc/network/interfaces
Change-Id: I26e22f37f91bf242aa573c91b26b2304fdd25751
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This renames inst in _create_image to the more consistant name
"instance". It also passes the instance through log messages in this
method, and removes the instance name from the translatable text
for the corresponding log messages.
Change-Id: I9a085198d3bea5d073f4297cc57c84dc7fcb0349
|
| |\ \ \ \ \ \ \ |
|
| | | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Removing the duplicate instances_path flag in
nova/virt/libvirt in https://review.openstack.org/#change,3759
broke the imagecache unit tests.
Change-Id: I8fed15bd22d88a7796e1f98981c3ad87358a244a
|
| |/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Change-Id: I6031c17fd161f4ac39dfa11f27d45846208df5f9
|
| | |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Having to manually sudo to the nova user to make things work is
tedious. Make it so that if we can't read the conffile, we just
re-exec under sudo.
Fixes bug 805695
Change-Id: I322cece80ca757c69147fb3f8474ad137d9bff82
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This means you can have your vlan_interface be different on
different hosts machines by setting vlan_interface differently
on each host.
* Allow non-homogenous vlan networks
* Fixes bug 833426
* Includes failing test for linux_net
Change-Id: I2f0d43c1366f88a8832a779c4065b37dd1a5bdf8
|
| | |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Addressed bug 926372
Eventually, we should stop supporting X_USER because it is *supposed* to
be the user's login name rather than their id. But this change preserves
the old behavior for stability.
For more info checkout keystone/middleware/auth_token.py in the keystone
project.
Change-Id: Ie837e73f9a592a903af71a426e202f8b6a9ac581
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Move it here so that it can be kept in sync with openstack-common using
the new update.py script for code in openstack-common's incubation area.
See here for more details:
http://wiki.openstack.org/CommonLibrary#Incubation
Note: this commit just moves the existing code in Nova with no other
changes. A subsequent commit will sync it with latest openstack-common
so that it is easier see the new changes.
Change-Id: If88d678b1b9bad3d37117de7f7159d7fea8ab4c8
|
| |\| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ic5b4fd0fd5360ca6f9d029e8eb4d751a3ea36262
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- Syntax is OS-KSEC2:ec2Credentials (not ec2Credentials)
- adds to fix for bug 917408
- Syntax also requires a call to /tokens instead of /ec2tokens
- Changes are compatible (old syntax supported)
- Warning will be issued to log if URL syntax is old
Change-Id: I5ff9d1643122de2f383517e60f15852720c54490
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes bug 889196
Change-Id: I08f4484310c5a35e62ca761193790a464ad15ac9
|
| |\ \ \ \ \
| |/ / / /
|/| | | | |
|
| | | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Updates methods in nova.compute.instance_types to catch
InstanceTypeNotFound exceptions and re-raise them as ApiError.
- Previously, the methods in instance_types were raising ApiError in
response to DBError, but the underlying db calls have since been
updated to detect empty results and throw more specific exceptions.
* Updates get_instance_type_by_flavor_id to not try to catch DBError,
as the underlying db call only ever raises FlavorNotFound.
get_instance_type_by_flavor_id should not raise ApiError, as callers
expect the FlavorNotFound exception and know how to handle it.
* Fixes bug 872618
Change-Id: I8652f04889adb448017afd253ecdcc840fbb660f
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: If014165a630c3722eae26bf2aa1e5d137f145815
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Ic2dfa06d3a3bef2f63e011629a870903b5990363
|
| |\ \ \ \ \
| |_|/ / /
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Phase 1 of the image-cache-management blueprint. Implement
checksumming and verification of base images, as well as
removal of base images which are not in use. Removal is
enabled with a flag.
Change-Id: Ib04a02075a103c2fef6716fd0ac87c41a3535d37
|
| | |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Don't throw exception when flavor has vcpus=0 or memory_mb=0
Change-Id: I6f12cf06a569b491f537880afe37f2cf516be2d2
|
| |\ \ \ \ |
|
| | | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fixes bug 925792
* Cleans up some extra imports as well
Change-Id: Ibea2411f552747e074c8d2e96468e3b09bf9c9c9
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Looks like it was accidentally added by commit 605c22b18.
Change-Id: Ibfd16e47cea3fa549f3a6064076361098ba76dd6
|
| |\ \ \ \
| |/ / /
|/| | | |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If we've just truncated/created the file to receive
the download, but the download fails, then delete the file.
Otherwise subsequent downloads would not be attempted.
Change-Id: Ibe9ba199b2f424d570ce7aedfb768ce283816a3b
|
| |\ \ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes bug 754950
Change-Id: Ib773479c3b34b9ddd322abd02b297acf5359a847
|
| |\ \ \ \ \ |
|
| | | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is at least independent of file injection,
and as noted in the bug report is questionable
to do anyway.
Change-Id: Iddd33c446bad2232ea2d47cc30778228d1d222b0
|
| |\ \ \ \ \
| |_|_|_|/
|/| | | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes bug 920605.
Change-Id: Iedba7d727fb88d169cc5ca6387ef13345d227c48
|
| |\ \ \ \ \ |
|