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
daef9ddf
Commit
daef9ddf
authored
7 years ago
by
Jenkins
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Fix vnc_enabled warning"
parents
e8c0ed8b
10531d71
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/roles/nova/templates/nova.conf.j2
+4
-1
4 additions, 1 deletion
ansible/roles/nova/templates/nova.conf.j2
with
4 additions
and
1 deletion
ansible/roles/nova/templates/nova.conf.j2
+
4
−
1
View file @
daef9ddf
...
@@ -24,7 +24,6 @@ scheduler_host_manager = ironic_host_manager
...
@@ -24,7 +24,6 @@ scheduler_host_manager = ironic_host_manager
host={{ ansible_hostname }}-ironic
host={{ ansible_hostname }}-ironic
log_file = /var/log/kolla/nova/nova-compute-ironic.log
log_file = /var/log/kolla/nova/nova-compute-ironic.log
compute_driver = ironic.IronicDriver
compute_driver = ironic.IronicDriver
vnc_enabled = False
ram_allocation_ratio = 1.0
ram_allocation_ratio = 1.0
reserved_host_memory_mb = 0
reserved_host_memory_mb = 0
{% elif enable_nova_fake | bool %}
{% elif enable_nova_fake | bool %}
...
@@ -60,6 +59,9 @@ workers = {{ openstack_service_workers }}
...
@@ -60,6 +59,9 @@ workers = {{ openstack_service_workers }}
{% if nova_console == 'novnc' %}
{% if nova_console == 'novnc' %}
[vnc]
[vnc]
{% if service_name == "nova-compute-ironic" %}
enabled = false
{% else %}
novncproxy_host = {{ api_interface_address }}
novncproxy_host = {{ api_interface_address }}
novncproxy_port = {{ nova_novncproxy_port }}
novncproxy_port = {{ nova_novncproxy_port }}
vncserver_listen = {{ api_interface_address }}
vncserver_listen = {{ api_interface_address }}
...
@@ -67,6 +69,7 @@ vncserver_proxyclient_address = {{ api_interface_address }}
...
@@ -67,6 +69,7 @@ vncserver_proxyclient_address = {{ api_interface_address }}
{% if inventory_hostname in groups['compute'] %}
{% if inventory_hostname in groups['compute'] %}
novncproxy_base_url = {{ public_protocol }}://{% if orchestration_engine == 'KUBERNETES' %}kolla_kubernetes_external_vip{% else %}{{ kolla_external_fqdn }}{% endif %}:{{ nova_novncproxy_port }}/vnc_auto.html
novncproxy_base_url = {{ public_protocol }}://{% if orchestration_engine == 'KUBERNETES' %}kolla_kubernetes_external_vip{% else %}{{ kolla_external_fqdn }}{% endif %}:{{ nova_novncproxy_port }}/vnc_auto.html
{% endif %}
{% endif %}
{% endif %}
{% elif nova_console == 'spice' %}
{% elif nova_console == 'spice' %}
[vnc]
[vnc]
# We have to turn off vnc to use spice
# We have to turn off vnc to use spice
...
...
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