Commit Graph

49 Commits

Author SHA1 Message Date
Ghanshyam Mann 5288ade765 Retire compute-hyperv: remove repo content
Winstackers project has been retired
- https://review.opendev.org/c/openstack/governance/+/886880

this commit remove the content of compute-hyperv
deliverables of this project

Depends-On: https://review.opendev.org/c/openstack/project-config/+/894408/1
Change-Id: I06e90d64c0211f87d3b1347667b27e5c81f85dac
2023-09-09 12:28:11 -07:00
Lucian Petrut b85e6a2c90 Bump requirements
The lower constraints job is failing as Nova has bumped the
oslo.config minimum requirement. We'll do the same.

The nova conf fixture has been moved so we'll have to pick that up
as well.

Change-Id: I1907982ca8ffc81b2529af22a9a6fd4a55aecafb
2021-05-25 11:28:41 +03:00
Lucian Petrut 8e85d7004b Bump minimum requirements to match Nova
Nova bumped a few minimum requirements, which is why our lower
constraints job is currently failing.

We'll have to pick up those changes as well.

Change-Id: Icb31aff7309c008c141fea3a0de5745cd96bd8bc
2021-04-02 11:53:19 +03:00
Lucian Petrut 07c0f8b3c0 Bump eventlet requirement
Nova has raised the eventlet minimum requirement to 0.26.1, which
breaks our lower constraints job.

We're going to use the same constraint.

Change-Id: I9e5f202bc66eae39dcb7c6b3247012b584a8a618
2021-02-05 09:32:25 +02:00
Lucian Petrut f32ea3f0bd Use a separate doc requirements file
As per the OpenStack TC decision [1], the doc requirements should
be listed separately.

This also simplifies the requirements handling. At them moment,
we're facing some issues due to conflicting doc related lower
constraints.

While at it, we're bumping the lower constraints based on Nova's
requirements, dropping indirect dependencies which are very difficult
to maintain.

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ifa2d545d1be6615bca1a85c471322c7e9a3da3b3
2020-12-10 10:45:02 +02:00
Claudiu Belu 32a46037e9 hyperv: Configures chassis asset tags for VMs.
The Msvm_VirtualSystemSettingData object associated with a VM has a
field named "ChassisAssetTag". The value set in this field is reflected
in Linux VMs in /sys/class/dmi/id/chassis-asset-tag. This value is
checked by cloud-init in order to figure out if it is currently running
inside an OpenStack VM.

The verification above has been introduced in cloud-init [1] in order to
avoid costly metadata probes that aren't needed in non-OpenStack VMs.

Setting the ChassisAssetTag will allow us to pass these checks. The
value we are setting is similar to what libvirt is setting in the
LibvirtConfigGuestSysinfo.

[1] 1efa8a0a03

Partially-Fixes: #1895976

Change-Id: Ib9f605f68c79ff41d3959c7a1662a9e644fde946
Depends-On: 33e6c07dab4b46442bf0fbb838d59516112899b9
2020-10-26 13:20:06 +02:00
Lucian Petrut 91476d7417 Add distributed lock helpers
This change imports the "coordination" module, which is shared by
Cinder, Manila and a few other projects. At some point, it should
probably be submitted to oslo.

It uses tooz, an OpenStack library, in order to provide distributed
locks. Tooz supports various backends, such as etcd, mysql, file
locks, redis, zookeeper, etc.

The lock backend can be selected using the CONF.coordination.backend_url
config option.

A subsequent change will use distributed locks for the cluster driver,
preventing race conditions when handling failovers.

Related-Bug: #1796673

Change-Id: I5a7d79fe1cf6ce13ff9d20d7618886add6221300
2018-10-29 13:55:00 +02:00
Doug Hellmann c6259b382a uncap eventlet
We will manage the eventlet version using constraints now. See the
thread starting at
http://lists.openstack.org/pipermail/openstack-dev/2018-April/129096.html
for more details.

Change-Id: Idc5272a0b635bdc2495b470a8b6eca17899ff3df
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-04-11 11:50:10 -04:00
OpenStack Proposal Bot 24b2bc3322 Updated from global requirements
Change-Id: I4a8167b385c0f778e60f40bc504a9482f22266ce
2018-03-16 07:20:13 +00:00
OpenStack Proposal Bot 269db011e8 Updated from global requirements
Change-Id: I14115f6b9a854699368e81b4215df75ab6a447c0
2018-01-27 21:06:56 +00:00
OpenStack Proposal Bot 7a9dd48398 Updated from global requirements
Change-Id: I4b20bf02916f10efad47ca23f13a59c691bd71e5
2018-01-16 04:04:01 +00:00
OpenStack Proposal Bot a15f07d7d9 Updated from global requirements
Change-Id: I476c34ecce6e99fb1b530ce122c35fc0ac0c5ae7
2017-12-19 01:13:38 +00:00
OpenStack Proposal Bot 5912d4056c Updated from global requirements
Change-Id: I5830079e21a27691e0746f164501c6c92de86a96
2017-12-15 21:24:03 +00:00
OpenStack Proposal Bot 664c96ce57 Updated from global requirements
Change-Id: If56ae02b49fbefd86f0e1949de3c8add1305282a
2017-12-03 20:58:22 +00:00
OpenStack Proposal Bot bf8c8448d3 Updated from global requirements
Change-Id: Ida4d41bb0e728c3552555dd9a529140677cce2d8
2017-11-13 10:17:36 +00:00
OpenStack Proposal Bot ac867cf27b Updated from global requirements
Change-Id: I25cfa48025cf14f20b6ad0a6195997ae6589b9f9
2017-10-04 13:33:50 +00:00
OpenStack Proposal Bot d0a69d9a3c Updated from global requirements
Change-Id: I31e6497113267ed4e2f4b88318296f422c1ebe83
2017-08-24 05:48:14 +00:00
OpenStack Proposal Bot 85a5fc8f50 Updated from global requirements
Change-Id: I8f14fc9b50df3a94cfe584a207740b569db13b25
2017-08-04 12:48:00 +00:00
OpenStack Proposal Bot 4b1b6417e3 Updated from global requirements
Change-Id: I0b0bc63fe23eb025d3cfaef8dfd549e2ed1c1555
2017-07-31 09:32:55 +00:00
OpenStack Proposal Bot 394b814126 Updated from global requirements
Change-Id: Ica0e78019da49107203d27d773aed858a3a7dbb4
2017-07-19 03:54:24 +00:00
OpenStack Proposal Bot fbc13cae83 Updated from global requirements
Change-Id: Ic11e3b4553e0123ff21e393af0f34b0889bb884c
2017-06-30 12:13:38 +00:00
OpenStack Proposal Bot b53799041b Updated from global requirements
Change-Id: I54d81613ca0bdaccd26bb9b360158389a7c1bd6b
2017-06-15 16:21:50 +00:00
OpenStack Proposal Bot 547f8769ae Updated from global requirements
Change-Id: Ib9a793026d334a1953c04bfb87c3dbd0da188491
2017-06-10 13:25:08 +00:00
OpenStack Proposal Bot ac4bc217bf Updated from global requirements
Change-Id: I4c368a9e2d958b6443a5e97d533f31abceffbafa
2017-04-27 20:54:06 +00:00
OpenStack Proposal Bot 4be03b2e26 Updated from global requirements
Change-Id: Id6ee78f50e66ce7254cea45aa2076b881edba25e
2017-04-21 13:05:15 +00:00
OpenStack Proposal Bot dbac512b8b Updated from global requirements
Change-Id: If87b7ecf67a635f5e2a4fc74bcff00fcb539e484
2017-04-13 20:18:20 +00:00
OpenStack Proposal Bot 4219f5883b Updated from global requirements
Change-Id: I6808309325fd7abff943c0cb85be26de89f66fd7
2017-04-07 07:04:42 +00:00
OpenStack Proposal Bot b425b3a7d0 Updated from global requirements
Change-Id: Ifcbf4172bd67b2fc3d386522be6d494bf35d911a
2017-03-29 18:40:42 +00:00
OpenStack Proposal Bot 90e9e9c96b Updated from global requirements
Change-Id: I814f84b49eed9111ada8b3ebb3c15041dcbe4bd1
2017-03-02 04:56:16 +00:00
OpenStack Proposal Bot 64effbaebc Updated from global requirements
Change-Id: I6d26f32bcda48682e8f1689d017b50a523bd34a4
2017-01-20 00:10:53 +00:00
OpenStack Proposal Bot fb3a3cfec3 Updated from global requirements
Change-Id: I28db975508699bb4780fa22baab507acce46e2fa
2017-01-12 15:03:26 +00:00
Claudiu Belu 03e125a22e resync: HyperV: use os-brick for volume related operations
Co-Authored-By: Lucian Petrut <lpetrut@cloudbasesolutions.com>

(cherry-picked from commit 758a32f7cef6c675b35c04dd8d276c918be188dd)

Change-Id: Ie06bfc056ef1ecf5950d780d3e02dab757a73de1
2016-12-06 11:06:00 -08:00
OpenStack Proposal Bot 96f1613635 Updated from global requirements
Change-Id: Iaa5ac065758b86c5fd5255064d80177cfcf365ff
2016-11-09 22:55:16 +00:00
Claudiu Belu a6f3bc4603 Updates requirements.txt and test-requirements.txt
Change-Id: I0439b45960368d3693d2656ab1426fa13c939bd1
2016-11-09 12:50:34 +00:00
Simona Iuliana Toader f37ce8b6bb Hyper-V: Shielded VMs
Shielded VMs in Windows Server 2016 protect virtual
machines from Hyper-V administrators with the help
of encryption technologies. Attaching vTPM devices
to the Hyper-V VMs offers users the posibility to
enhance their security and system integrity. This
blueprint implements this feature.

Depends-On: I28c54b1cab1ec98c60c7dba257291b1656429b80
Implements: blueprint hyper-v-shielded-vms
Change-Id: Ibfb2dfd254cebdc203c2beb01ec8ecf31cd010e7
2016-06-15 08:19:10 +00:00
Claudiu Belu 6ab276c323 Updates requirements.txt
Change-Id: Iab36f30de999666556f7a447aff0f07b002a33a0
2016-04-18 13:20:56 +03:00
Lucian Petrut 007b3e578e Remove PyMI requirement, not being directly used anymore
Change-Id: I617a6d1b54016461c4840d49b3e2c961dfa4ac60
2016-03-07 14:35:02 +02:00
Claudiu Belu a4dec66bc2 Replaces WMI with PyMI
Change-Id: Ia15b0d9c8ada0b6eada8fd9136e384373c5c83f9
2016-02-23 12:47:19 -08:00
Claudiu Belu 35262e6301 Removes nova from requirements.txt
Removes nova from the requirements.txt and instead
add tools\tox_install.sh file, which takes care of
installing nova. This is useful for Jenkins, as it
needs nova in order to run its tests.

Change-Id: Ia81a49b2cd35a17edfe5edab35bef42191c7f4af
2016-02-19 09:09:26 -08:00
Claudiu Belu 44a06c533f Updates requirements.txt and test-requirements.txt
Change-Id: Ia32fbdd09f45a60983407697d77903dae3e3aca8
2016-02-19 09:09:14 -08:00
Claudiu Belu 2b0832ee2b Hyper-V: adds os-win library
Adds os-win to requirements.txt.
Replaces the current usage of *Utils classes in the
Hyper-V Driver with the equivalent *Utils classes
from os-win.

Adds decorators to the HyperVDriver methods that prevent
os-win specific exceptions to leak outside the driver.

Depends-On: Id5cd1dce195b38611f4f8c74857087620048b13f

Co-Authored-By: Lucian Petrut <lpetrut@cloudbasesolutions.com>

Partially Implements: blueprint add-os-win-library

Change-Id: I04509843210dcedf98a0cd9e08fa07865c8a76de
2016-01-22 23:51:45 +00:00
Claudiu Belu 4e055f24c7 Updates requirements.txt and test-requirements.txt
Change-Id: I6a325b417820e52a18807c17f75e4d5e590c5199
2015-10-22 13:26:21 +03:00
Claudiu Belu da1f719c2e Updates requirements.txt and test-requirements.txt
Updates vmops and tests to use oslo_utils and oslo_service.
Updates test_vhdutils.py as the requirements causes an
unit test to fail.

Change-Id: Ifaf070c124047cfa8ce38fb1ea10fc930390f9c7
2015-08-13 11:51:04 -07:00
Claudiu Belu c877501617 Enable tox.ini unit tests configuration
Previously, Jenkins did not run the unit tests.
Adds dependencies in requirements.txt.

Change-Id: Ic7d4c1a6be72025fe80f21fea4a738cacac70c76
2015-06-30 06:53:58 -07:00
Claudiu Belu 41a91f33be Sync requirements.txt with nova master
Change-Id: If454c110c789b13d2e937ea94f757387b3685de7
2015-06-30 06:53:49 -07:00
Claudiu Belu 982426f191 Revert "Sync requirements.txt with openstack/nova"
This reverts commit 3b67267dec.

Change-Id: I7f7990399298d17a50d23260e0e1984c1fa3f92a
2015-06-26 11:02:45 +00:00
Adelina Tuvenie 3b67267dec Sync requirements.txt with openstack/nova
Change-Id: I454fd790c5d3d51a53d65f1cce0d4f653769872e
2015-06-25 06:12:20 -07:00
Claudiu Belu dfc55c6f86 Sync nova Kilo requirements
Change-Id: I24948438ea23f3a4a40c7132b39f5185f43ac81a
2015-05-13 06:16:21 -07:00
Claudiu Belu aad9893c06 Applies cookiecutter template
Adds requirements.txt, requirements-windows.txt and
test-requirements.txt files.
Adds tox.ini, .testr.conf and .converagerc files.
Adds hacking rules.
Updates setup.cfg.
Adds doc folder and babel.cfg.

Change-Id: Ifdcaa076872563c0bb43c7845ba2129f4dcc245a
2015-03-23 22:21:15 +02:00