Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Very Demiurge Very Mindful
Kolla Ansible
Commits
1fcf0bee
Commit
1fcf0bee
authored
10 years ago
by
Jenkins
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Prefer the use PUBLIC_IP over MY_IP"
parents
31e4fa19
1950051b
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
docker/keystone/start.sh
+1
-1
1 addition, 1 deletion
docker/keystone/start.sh
docker/nova-base/config-nova.sh
+2
-2
2 additions, 2 deletions
docker/nova-base/config-nova.sh
with
3 additions
and
3 deletions
docker/keystone/start.sh
+
1
−
1
View file @
1fcf0bee
...
@@ -49,7 +49,7 @@ EOF
...
@@ -49,7 +49,7 @@ EOF
PID
=
$!
PID
=
$!
export
SERVICE_TOKEN
=
"
${
KEYSTONE_ADMIN_TOKEN
}
"
export
SERVICE_TOKEN
=
"
${
KEYSTONE_ADMIN_TOKEN
}
"
export
SERVICE_ENDPOINT
=
"http://
${
MY
_IP
}
:35357/v2.0"
export
SERVICE_ENDPOINT
=
"http://
${
PUBLIC
_IP
}
:35357/v2.0"
while
!
curl
-o
/dev/null
-s
--fail
${
SERVICE_ENDPOINT
}
;
do
while
!
curl
-o
/dev/null
-s
--fail
${
SERVICE_ENDPOINT
}
;
do
echo
"waiting for keystone @
${
SERVICE_ENDPOINT
}
"
echo
"waiting for keystone @
${
SERVICE_ENDPOINT
}
"
...
...
This diff is collapsed.
Click to expand it.
docker/nova-base/config-nova.sh
+
2
−
2
View file @
1fcf0bee
...
@@ -39,7 +39,7 @@ crudini --set $cfg DEFAULT use_forwarded_for False
...
@@ -39,7 +39,7 @@ crudini --set $cfg DEFAULT use_forwarded_for False
crudini
--set
$cfg
DEFAULT novncproxy_host 0.0.0.0
crudini
--set
$cfg
DEFAULT novncproxy_host 0.0.0.0
crudini
--set
$cfg
DEFAULT novncproxy_port 6080
crudini
--set
$cfg
DEFAULT novncproxy_port 6080
crudini
--set
$cfg
DEFAULT glance_api_servers
${
GLANCE_API_SERVICE_HOST
}
:9292
crudini
--set
$cfg
DEFAULT glance_api_servers
${
GLANCE_API_SERVICE_HOST
}
:9292
crudini
--set
$cfg
DEFAULT metadata_host
${
MY
_IP
}
crudini
--set
$cfg
DEFAULT metadata_host
${
PUBLIC
_IP
}
crudini
--set
$cfg
DEFAULT cpu_allocation_ratio 16.0
crudini
--set
$cfg
DEFAULT cpu_allocation_ratio 16.0
crudini
--set
$cfg
DEFAULT ram_allocation_ratio 1.5
crudini
--set
$cfg
DEFAULT ram_allocation_ratio 1.5
crudini
--set
$cfg
DEFAULT scheduler_default_filters RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,CoreFilter
crudini
--set
$cfg
DEFAULT scheduler_default_filters RetryFilter,AvailabilityZoneFilter,RamFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,CoreFilter
...
@@ -48,7 +48,7 @@ crudini --set $cfg DEFAULT vif_plugging_is_fatal True
...
@@ -48,7 +48,7 @@ crudini --set $cfg DEFAULT vif_plugging_is_fatal True
crudini
--set
$cfg
DEFAULT vif_plugging_timeout 300
crudini
--set
$cfg
DEFAULT vif_plugging_timeout 300
crudini
--set
$cfg
DEFAULT novncproxy_base_url http://
${
PUBLIC_IP
}
:6080/vnc_auto.html
crudini
--set
$cfg
DEFAULT novncproxy_base_url http://
${
PUBLIC_IP
}
:6080/vnc_auto.html
crudini
--set
$cfg
DEFAULT vncserver_listen 0.0.0.0
crudini
--set
$cfg
DEFAULT vncserver_listen 0.0.0.0
crudini
--set
$cfg
DEFAULT vncserver_proxyclient_address
${
MY
_IP
}
crudini
--set
$cfg
DEFAULT vncserver_proxyclient_address
${
PUBLIC
_IP
}
crudini
--set
$cfg
DEFAULT vnc_enabled True
crudini
--set
$cfg
DEFAULT vnc_enabled True
crudini
--set
$cfg
DEFAULT volume_api_class nova.volume.cinder.API
crudini
--set
$cfg
DEFAULT volume_api_class nova.volume.cinder.API
crudini
--set
$cfg
DEFAULT image_service nova.image.glance.GlanceImageService
crudini
--set
$cfg
DEFAULT image_service nova.image.glance.GlanceImageService
...
...
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