Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iaas-ha
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OCP-TOOLS
iaas-ha
Commits
cfb20d4d
Commit
cfb20d4d
authored
9 years ago
by
Quentin MACHU
Browse files
Options
Downloads
Patches
Plain Diff
Added Tempest
parent
0283fd3d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/common.yaml
+12
-0
12 additions, 0 deletions
examples/common.yaml
manifests/profile/tempest.pp
+113
-0
113 additions, 0 deletions
manifests/profile/tempest.pp
with
125 additions
and
0 deletions
examples/common.yaml
+
12
−
0
View file @
cfb20d4d
...
...
@@ -128,3 +128,15 @@ iaas::profile::heat::encryption_key: heat
# Heat
iaas::profile::horizon::secret
:
horizon
# Tempest
iaas::profile::tempest::admin_user
:
admin
iaas::profile::tempest::user
:
demo
iaas::profile::tempest::alt_user
:
foo
iaas::profile::tempest::image_id
:
5d912738-72df-4379-add1-de88d80d012a
iaas::profile::tempest::alt_image_id
:
557fdbe9-0cd1-4abd-8ce0-09e9c7f40745
iaas::profile::tempest::flavor_ref
:
1
iaas::profile::tempest::alt_flavor_ref
:
2
iaas::profile::tempest::image_ssh_user
:
cirros
iaas::profile::tempest::alt_image_ssh_user
:
root
iaas::profile::tempest::public_network_id
:
4c02888a-aa76-4438-bfbe-9b7c3ba98a52
This diff is collapsed.
Click to expand it.
manifests/profile/tempest.pp
0 → 100644
+
113
−
0
View file @
cfb20d4d
class
iaas::profile::tempest
(
$admin_user
=
undef
,
$user
=
undef
,
$alt_user
=
undef
,
$image_id
=
undef
,
$alt_image_id
=
undef
,
$flavor_ref
=
undef
,
$alt_flavor_ref
=
undef
,
$image_ssh_user
=
undef
,
$alt_image_ssh_user
=
undef
,
$public_network_id
=
undef
,
$neutron_password
=
hiera
(
'iaas::profile::neutron::password'
,
undef
),
$glance_password
=
hiera
(
'iaas::profile::glance::password'
,
undef
),
$rabbitmq_user
=
hiera
(
'iaas::profile::rabbitmq::user'
,
undef
),
$rabbitmq_password
=
hiera
(
'iaas::profile::rabbitmq::password'
,
undef
),
$endpoint
=
hiera
(
'iaas::role::endpoint::main_address'
,
undef
),
$region
=
hiera
(
'iaas::region'
,
undef
),
$users
=
hiera
(
'iaas::profile::keystone::users'
,
undef
),
)
{
package
{
'python-openstackclient'
:
ensure
=>
present
,
}
########################################################################
class
{
'::neutron'
:
allow_overlapping_ips
=>
true
,
rabbit_host
=>
$endpoint
,
rabbit_user
=>
$rabbitmq_user
,
rabbit_password
=>
$rabbitmq_password
,
}
class
{
'::neutron::keystone::auth'
:
password
=>
$neutron_password
,
public_address
=>
$endpoint
,
admin_address
=>
$endpoint
,
internal_address
=>
$endpoint
,
region
=>
$region
,
}
class
{
'::neutron::server'
:
auth_uri
=>
"http://
${endpoint}
:5000/v2.0"
,
identity_uri
=>
"http://
${endpoint}
:35357"
,
auth_password
=>
$neutron_password
,
enabled
=>
false
,
sync_db
=>
false
,
mysql_module
=>
'2.3'
,
}
########################################################################
class
{
'::glance::api'
:
keystone_password
=>
$glance_password
,
auth_uri
=>
"http://
${endpoint}
:5000/v2.0"
,
identity_uri
=>
"http://
${endpoint}
:35357"
,
registry_host
=>
$endpoint
,
os_region_name
=>
$region
,
}
class
{
'::tempest'
:
setup_venv
=>
true
,
tempest_repo_revision
=>
'master'
,
cinder_available
=>
true
,
glance_available
=>
true
,
heat_available
=>
true
,
horizon_available
=>
true
,
neutron_available
=>
true
,
nova_available
=>
true
,
swift_available
=>
false
,
configure_images
=>
true
,
image_ref
=>
$image_id
,
image_ref_alt
=>
$alt_image_id
,
image_ssh_user
=>
$image_ssh_user
,
image_alt_ssh_user
=>
$alt_image_ssh_user
,
flavor_ref
=>
$flavor_ref
,
flavor_ref_alt
=>
$alt_flavor_ref
,
configure_networks
=>
'true'
,
public_network_id
=>
$public_network_id
,
identity_uri
=>
"http://
${endpoint}
:5000/v2.0"
,
admin_username
=>
$admin_user
,
admin_password
=>
$users
[
$admin_user
][
'password'
],
admin_tenant_name
=>
$users
[
$admin_user
][
'tenant'
],
username
=>
$user
,
password
=>
$users
[
$user
][
'password'
],
tenant_name
=>
$users
[
$user
][
'tenant'
],
alt_username
=>
$alt_user
,
alt_password
=>
$users
[
$alt_user
][
'password'
],
alt_tenant_name
=>
$users
[
$alt_user
][
'tenant'
],
}
Tempest_config
{
path
=>
$::tempest::tempest_conf
,
require
=>
File
[
$::tempest::tempest_conf
],
}
tempest_config
{
'oslo_concurrency/lock_path'
:
value
=>
"lock"
;
'dashboard/dashboard_url'
:
value
=>
"http://
${endpoint}
/horizon"
;
'dashboard/login_url'
:
value
=>
"http://
${endpoint}
/horizon/auth/login/"
;
'identity-feature-enabled/api_v3'
:
value
=>
"false"
;
'identity/region'
:
value
=>
$region
;
'boto/s3_url'
:
value
=>
""
;
'boto/ec2_url'
:
value
=>
""
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment