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
e6104732
Commit
e6104732
authored
9 years ago
by
Alessandro Costantini
Browse files
Options
Downloads
Patches
Plain Diff
second vip added; main_address and admin_address modified
parent
ab179ac4
No related branches found
No related tags found
2 merge requests
!23
Dev
,
!17
Dev osvip2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
manifests/profile/glance.pp
+20
-23
20 additions, 23 deletions
manifests/profile/glance.pp
with
20 additions
and
23 deletions
manifests/profile/glance.pp
+
20
−
23
View file @
e6104732
...
...
@@ -8,8 +8,14 @@ class iaas::profile::glance (
$debug
=
hiera
(
'iaas::debug'
,
undef
),
$region
=
hiera
(
'iaas::region'
,
undef
),
$endpoint
=
hiera
(
'iaas::role::endpoint::main_address'
,
undef
),
#VIP1
$endpoint_main
=
hiera
(
'iaas::main_address'
,
undef
),
#VIP2
$endpoint_admin
=
hiera
(
'iaas::admin_address'
,
undef
),
##rhosts
$endpoint
=
hiera
(
'iaas::role::endpoint::main_address'
,
undef
),
$rhosts
=
hiera
(
'iaas::profile::rabbitmq::rhosts'
,
undef
),
$rabbitmq_user
=
hiera
(
'iaas::profile::rabbitmq::user'
,
undef
),
$rabbitmq_password
=
hiera
(
'iaas::profile::rabbitmq::password'
,
undef
),
...
...
@@ -25,21 +31,17 @@ class iaas::profile::glance (
verbose
=>
$verbose
,
debug
=>
$debug
,
##Identity_uri - planed to be implemented in Kilo
# identity_uri => "http://${endpoint}:35357",
##Identity_uri - workaround in juno
# glance_api_config { 'keystone_authtoken/identity_uri' :
# value => "http://${endpoint}:35357",
# }
# identity_uri => "http://${endpoint_admin}:35357",
bind_host
=>
$::facts
[
"ipaddress_
${admin_interface}
"
],
auth_host
=>
$endpoint
,
auth_host
=>
$endpoint
_admin
,
keystone_password
=>
$password
,
auth_uri
=>
"http://
${endpoint}
:5000/v2.0"
,
auth_uri
=>
"http://
${endpoint
_main
}
:5000/v2.0"
,
keystone_tenant
=>
'services'
,
keystone_user
=>
'glance'
,
auth_url
=>
"http://
${endpoint}
:5000/v2.0"
,
auth_url
=>
"http://
${endpoint
_main
}
:5000/v2.0"
,
database_connection
=>
$iaas::resources::connectors::glance
,
##registry_host
registry_host
=>
$endpoint
,
registry_host
=>
$endpoint
_admin
,
mysql_module
=>
'2.3'
,
database_idle_timeout
=>
3600
,
os_region_name
=>
$region
,
...
...
@@ -54,7 +56,7 @@ class iaas::profile::glance (
##Identity_uri - workaround in juno
glance_api_config
{
'keystone_authtoken/identity_uri'
:
value
=>
"http://
${endpoint}
:35357"
,
value
=>
"http://
${endpoint
_admin
}
:35357"
,
}
class
{
'::glance::backend::rbd'
:
...
...
@@ -64,19 +66,14 @@ class iaas::profile::glance (
}
class
{
'::glance::registry'
:
##verbose, debug
verbose
=>
$verbose
,
debug
=>
$debug
,
##Identity_uri - planed to be implemented
# identity_uri => "http://${endpoint}:35357",
##Identity_uri - workaround in juno
# glance_registry_config { 'keystone_authtoken/identity_uri' :
# value => "http://${endpoint}:35357",
# }
# identity_uri => "http://${endpoint_admin}:35357",
keystone_password
=>
$password
,
database_connection
=>
$iaas::resources::connectors::glance
,
auth_host
=>
$endpoint
,
auth_uri
=>
"http://
${endpoint}
:5000/v2.0"
,
auth_host
=>
$endpoint
_admin
,
auth_uri
=>
"http://
${endpoint
_main
}
:5000/v2.0"
,
keystone_tenant
=>
'services'
,
keystone_user
=>
'glance'
,
mysql_module
=>
'2.3'
,
...
...
@@ -86,7 +83,7 @@ class iaas::profile::glance (
##Identity_uri - workaround in juno
glance_registry_config
{
'keystone_authtoken/identity_uri'
:
value
=>
"http://
${endpoint}
:35357"
,
value
=>
"http://
${endpoint
_admin
}
:35357"
,
}
class
{
'::glance::notify::rabbitmq'
:
...
...
@@ -102,9 +99,9 @@ class iaas::profile::glance (
class
{
'::glance::keystone::auth'
:
password
=>
$password
,
public_address
=>
$endpoint
,
admin_address
=>
$endpoint
,
internal_address
=>
$endpoint
,
public_address
=>
$endpoint
_main
,
admin_address
=>
$endpoint
_admin
,
internal_address
=>
$endpoint
_admin
,
region
=>
$region
,
}
...
...
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