24 Commits

Author SHA1 Message Date
Tobias Urdin
81687e2ead Convert all class usage to relative names
In Puppet 3 there was a need to use absolute
names to prevent issues. Since Puppet 4 everything
is absolute by default which makes this not needed.

We need to change this everywhere so that we can
revert the pin in [1] that now prevents us from
using the latest version of the puppet-lint check
puppet-lint-absolute_classname_check that properly
checks that we dont use absolute names.

[1] https://review.opendev.org/#/c/697742/

Change-Id: I78b74fbeb08be7234189e4d266412fb7fb7a73c0
2019-12-08 14:58:12 +01:00
ZhongShengping
12d1bd446b Move to opendev
Use review.opendev.org instead of review.openstack.org.

You can see the discussion below:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html

Change-Id: Icdec24193a803314bbeb20a1700949c9b23a4dce
2019-04-24 14:54:02 +08:00
Alfredo Moralejo
2f0f2c54d0 Add disk size to flavors used by tempest tests
Since [1], nova does not accept to create non-volume instances with
flavors with disk size to 0 so tempest tests fail.

This patch is creating disks with size 2GB to all flavors used by
tempest. cirros image is used in these tests so it should be fine.

[1] https://review.openstack.org/#/c/603910/

Change-Id: Ica694dee7ec0b9a5a7a1f998f50be4f339a42f5c
2019-02-15 18:02:57 +01:00
Cloud User
edca617537 Add new scenario to test python3 services
Also modify provision manifest to skip provisioning
some services.
The new scenario will be used for testing py3 services
starting with keystone and glance.

Also update puppet-apache reference to the required commit,
this can be updated once a new tag is released with the commit.

Change-Id: I55558f35068457175e2ef508f9e5989151db4aa2
2018-07-05 10:55:39 +05:30
ZhongShengping
df5b0067d6 Update the cirros version to "0.4.0"
Change-Id: I72cedc1f0fe49a59f6eb38269ca1264e3d37925c
2018-01-10 09:31:58 +08:00
ZhongShengping
988fa0a371 Update the cirros version to "0.3.5"
Refer to
https://docs.openstack.org/ocata/install-guide-rdo/glance-verify.html

Change-Id: I84f081c8a387dcf4b98e7decac5fcae8e1e48283
2017-10-31 15:54:03 +08:00
Alfredo Moralejo
efa50a1193 Create m1.tiny flavor for murano jobs
https://review.openstack.org/#/c/480848/ changed required
flavor for murano from m1.small to m1.tiny for some tests.

Change-Id: If3c0564ae315b805f8589f535181fafdfb569023
2017-07-09 10:04:08 +02:00
Emilien Macchi
4df2ccaea5 Revert "Stop deploying Nova API in WSGI with Apache"
This reverts commit 067e1a32a93b1aaad94746defe091ebc63b6ff66.

Depends-On: I012ce89554640a39cda5104e62a0f135ec5e92e1
Change-Id: I382b19fa3ea3289b31dad4b50ff29ac1519265a3
2017-06-26 14:51:51 +00:00
b8c73d1c2f Create m1.small flavor required by murano tests
murano tempest tests post [1] and [2] requires a flavor with name
"m1.small".

[1] https://review.openstack.org/#/c/455773/
[2] https://review.openstack.org/#/c/462486/

Change-Id: Ib31593cc2b8fda1a07295ccc8e0eab89939bf1b8
2017-05-05 19:05:51 +05:30
Chandan Kumar
ab15e5cf14 Enable using tempest rpm in a configurable mode
* TEMPEST_FROM_SOURCE is set to true to install tempest from source.
* Added capability to use tempest rpm
* change the cirros image directory to /tmp/openstack/image
  if the image gets firstly downloaded in tempest workspace,
  Tempest init will fail to create tempest workspace.
* Create image_dir if not exists.

Change-Id: I349783ace314a3575e93e6c853a7756f0f9b85ac
2017-02-08 09:26:26 +00:00
Emilien Macchi
067e1a32a9 Stop deploying Nova API in WSGI with Apache
It was suggested by Nova team to not deploying Nova API in WSGI with
Apache in production.
It's causing some issues that we didn't catch until now (see in the bug
report). Until we figure out what was wrong, let's disable it so we can
move forward in the upgrade process.

Note: we also need to fix orchestration in provision to make sure
Keystone is ready before creating nova flavors, and other resources.

Depends-On: I1688eae1369f6da2c7084dc3864d19708d15c78d
Change-Id: I4a0d999d5290785a416bbb11953fee7a5028a00b
Related-Bug: 1661360
2017-02-06 07:47:36 -05:00
David Moreau-Simard
0d13153e54 Provision from pre-cached/pre-downloaded CirrOS image
In run_tests.sh we symlink a cached image to /tmp/openstack/tempest
or it is downloaded to that location using wget which is more reliable.

Let's use that instead.

Change-Id: I3777d9d035ceb31827b8df4264c2f7d213f50aea
2016-09-23 10:26:07 -04:00
Emilien Macchi
3f1da10b78 provision: require admin user before creating nova flavor
Require to first create admin keystone before trying to create nova
flavors.
The reason of such a change is that we figured when running a single
node deployment, we need to make sure to create the flavor at the right
time in the catalog otherwise we have seen some cases where the flavor
was created before having Nova API actually working.

Change-Id: I299d4c372da702232eaa7cb34b690e372f56e701
2016-08-15 14:29:38 -04:00
David Moreau-Simard
2099895646 Move flavor provisioning to new nova flavor provider
Change-Id: I17beaa19632181fa10c91b137eaef365ab44641b
Depends-On: Ic370ac65990d0b3a360340632ada4016231c8a93
2016-05-04 13:37:59 -04:00
Cody Herriges
c8441ddd96 Add explicit dependencies to pass puppet4
This commit will add explicit dependencies in some resources in the
  provision profile.

  Without this change the CI does not pass on Puppet 4 because of the
  change in default run order.

Depends-On: Ifc3f40ae1cb71c215b8a0bf6cd5f6d05101a6168
Change-Id: Iedfa6f78936676ba54ebb888734a3b381a2378e7
2016-04-12 12:31:23 -07:00
Emilien Macchi
55db07189f scenario003: deploy Neutron with ML2 linuxbridge
Deploy Neutron ML2 LinuxBridge on scenario003 to increase testing
coverage.

Depends-On: I6bf7ede4fa78eefdc6594b8dd70435a11d0c3365
Change-Id: Ib41c302c8dd3e6d7388b06e455cf19e1f13a221c
2016-03-29 08:45:45 -04:00
Jenkins
8f60cad164 Merge "Add vs_port to provision template" 2016-03-16 17:02:13 +00:00
Jenkins
3c330c71d9 Merge "scenario002: switch Keystone/Glance/Ironic/Nova to SSL" 2016-03-15 18:49:57 +00:00
Emilien Macchi
3874255b9f scenario002: switch Keystone/Glance/Ironic/Nova to SSL
* Deploy Self-Signed Certificates for both IPv6 & IPv4 deployments.
* Disable IPv6 for RabbitMQ now, for SSL reasons, will be enabled again
  later in a next iteration.
* Deploy Ironic API under WSGI instead of eventlet.
* Switch Glance API, Ironic API and Keystone to SSL.
* Configure Tempest with SSL endpoints when needed.
* Reduce the Ironic tests because of [1].

[1] https://bugs.launchpad.net/ironic/+bug/1554237

Note #1: puppet-swift, and puppet-cinder will require some work to support SSL, so it's not
implemented in this patch.
Note #2: we don't enable SSL for Neutron because of
https://bugs.launchpad.net/neutron/+bug/1514424

Change-Id: Ib2b5289b6f5e82f43cf60dee3152b2c2ddd5a014
2016-03-14 16:34:29 -04:00
Javier Pena
4296c77392 Add vs_port to provision template
The current provision template creates an ovs bridge, but no port
is added to it, so the vs_port part of puppet-vswitch is not
exercised. Creating a dummy device and adding it to the bridge helps
testing that part.

Depends-On: I5878448a1616e127c3b39c5f1c446fea151ba202

Change-Id: Id5d41502c0c88799f55bcbc5db3c080c035d3a6e
2016-03-14 16:03:30 +01:00
Pradeep Kilambi
52b5ac21c0 Gnocchi now natively supports default archive policy
Since https://review.openstack.org/#/c/290626/ is merged
we no longer need to do this manually.

Change-Id: Ic96ee19c111c5c5066e16d6d7467f2aea54f3b92
2016-03-10 18:52:39 -05:00
Emilien Macchi
becca2e139 disabling the admin_token after bootstrap
The keystone documentation highly recommends disabling the admin_token
authentication after the initial bootstrap because it exposes a major
attack vector.

A patch in puppet-keystone [1] added the support to remove
admin_token_auth keyword from the pipeline lists.

This patch aims to use this new class when deploying Keystone.

[1] https://review.openstack.org/#/c/256248

Change-Id: Ic545005122a0f7b92b8a9d3f1e4978b397bfc9c2
2016-02-17 11:59:56 -05:00
Emilien Macchi
6a0a79dff2 Deploy Gnocchi, TDBaaS in OpenStack
* Deploy Gnocchi services
* Create default archive policy and archive policy rule
* Configure Aodh with Gnocchi which is used to evaluate the alarms for threshold

Note: Tempest does not fully support Gnocchi yet.
* test_alarming_api will work (Aodh) with Gnocchi
* test_telemetry_notification_api will not work (Ceilometer) with
  Gnocchi. That's why we don't configure Ceilometer to use Gnocchi
  dispatcher.

Depends-On: I4ed26d3e294e82c383afc443914b0d7bb1906e46
Depends-On: Ib818b5ae4fa301c6c496fe800ae45c9b0a73222c
Change-Id: I32e5f80e4eb8a5cd8fc07798aaf6d710332fcdda
2016-01-28 14:24:34 -05:00
Emilien Macchi
62eb545ad9 Refactor fixtures & manifests to reduce code lines
Create manifests for each project and include them in the right
fixtures manifests, so we can reduce the code and avoid dupplicated
puppet manifests.

Change-Id: I66a98691b3014998f4c2529d2e3389ef1cbcc5f4
2016-01-02 17:43:03 -05:00