Update
This commit is contained in:
parent
d6f79630b8
commit
b52a82806a
|
@ -0,0 +1,10 @@
|
||||||
|
FROM ubuntu:18.04
|
||||||
|
MAINTAINER = Cory Hawkless
|
||||||
|
#OpenStack version - Xena
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get -y update \
|
||||||
|
&& apt-get install -y software-properties-common
|
||||||
|
RUN add-apt-repository cloud-archive:stein
|
||||||
|
RUN apt install nova-api -y
|
||||||
|
COPY nova.conf /etc/nova/nova.conf
|
||||||
|
ENTRYPOINT [ "nova-api" ]
|
|
@ -0,0 +1 @@
|
||||||
|
A sample dockerfile built to generate a bunch of output in JSON format for the purposes of testing logging
|
|
@ -0,0 +1,112 @@
|
||||||
|
[DEFAULT]
|
||||||
|
# transport_url = na
|
||||||
|
use_json = true
|
||||||
|
my_ip = 127.0.0.1
|
||||||
|
instance_usage_audit = True
|
||||||
|
instance_usage_audit_period = hour
|
||||||
|
notify_on_state_change = vm_and_task_state
|
||||||
|
state_path = /var/lib/nova/
|
||||||
|
instances_path = $state_path/instances
|
||||||
|
|
||||||
|
libvirt_use_virtio_for_bridges=True
|
||||||
|
enabled_apis=osapi_compute,metadata
|
||||||
|
|
||||||
|
#All below are deprecated
|
||||||
|
use_neutron = true
|
||||||
|
force_dhcp_release=True
|
||||||
|
firewall_driver = nova.virt.firewall.NoopFirewallDriver
|
||||||
|
|
||||||
|
[api]
|
||||||
|
auth_strategy = keystone
|
||||||
|
|
||||||
|
[api_database]
|
||||||
|
connection = mysql+pymysql://nova:d@127.0.0.1/nova_api
|
||||||
|
|
||||||
|
[database]
|
||||||
|
connection = mysql+pymysql://nova:d@127.0.0.1/nova
|
||||||
|
|
||||||
|
|
||||||
|
[filter_scheduler]
|
||||||
|
max_instances_per_host=50
|
||||||
|
track_instance_changes=true
|
||||||
|
available_filters=nova.scheduler.filters.all_filters
|
||||||
|
enabled_filters=AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
|
||||||
|
weight_classes=nova.scheduler.weights.all_weighers
|
||||||
|
ram_weight_multiplier=1.0
|
||||||
|
cpu_weight_multiplier=1.0
|
||||||
|
disk_weight_multiplier=-1
|
||||||
|
io_ops_weight_multiplier=-1.0
|
||||||
|
pci_weight_multiplier=1.0
|
||||||
|
soft_affinity_weight_multiplier=1.0
|
||||||
|
shuffle_best_same_weighed_hosts=true
|
||||||
|
|
||||||
|
[glance]
|
||||||
|
api_servers = http://Openstack_API_VIP:9292
|
||||||
|
|
||||||
|
[keystone_authtoken]
|
||||||
|
www_authenticate_uri = http://Openstack_API_VIP:5000//
|
||||||
|
auth_url = http://Openstack_API_VIP:5000
|
||||||
|
memcached_servers = Openstack_API_VIP:11211
|
||||||
|
auth_type = password
|
||||||
|
project_domain_name = default
|
||||||
|
user_domain_name = default
|
||||||
|
project_name = service
|
||||||
|
username = nova
|
||||||
|
region_name=Openstack_RegionName
|
||||||
|
password = Openstack_Nova_Password
|
||||||
|
|
||||||
|
[libvirt]
|
||||||
|
#images_rbd_pool=nova-ephemeral
|
||||||
|
#images_type=rbd
|
||||||
|
#rbd_secret_uuid=cinder_rbd_secret_uuid
|
||||||
|
#rbd_user=sngd-cinder
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
[mks]
|
||||||
|
enabled = false
|
||||||
|
|
||||||
|
|
||||||
|
[neutron]
|
||||||
|
url = http://Openstack_API_VIP:9696
|
||||||
|
auth_url = http://Openstack_API_VIP:5000
|
||||||
|
auth_type = password
|
||||||
|
project_domain_name = default
|
||||||
|
user_domain_name = default
|
||||||
|
region_name = Openstack_RegionName
|
||||||
|
project_name = service
|
||||||
|
username = neutron
|
||||||
|
password = Openstack_Neutron_Password
|
||||||
|
service_metadata_proxy = true
|
||||||
|
metadata_proxy_shared_secret = Openstack_Metadata_Password
|
||||||
|
|
||||||
|
[oslo_messaging_notifications]
|
||||||
|
driver = messagingv2
|
||||||
|
|
||||||
|
[placement]
|
||||||
|
region_name = Openstack_RegionName
|
||||||
|
project_domain_name = Default
|
||||||
|
project_name = service
|
||||||
|
auth_type = password
|
||||||
|
user_domain_name = Default
|
||||||
|
auth_url = http://Openstack_API_VIP:5000/v3
|
||||||
|
username = placement
|
||||||
|
password = Openstack_Placement_Password
|
||||||
|
randomize_allocation_candidates = true
|
||||||
|
|
||||||
|
[placement_database]
|
||||||
|
connection = mysql+pymysql://placement:SQL_placement_password@Openstack_SQL_VIP/placement
|
||||||
|
|
||||||
|
[scheduler]
|
||||||
|
discover_hosts_in_cells_interval = 300
|
||||||
|
|
||||||
|
[vnc]
|
||||||
|
enabled = true
|
||||||
|
server_listen = $my_ip
|
||||||
|
server_proxyclient_address = $my_ip
|
||||||
|
novncproxy_base_url = NoVNCProxyexternalmode://NoVNCProxyexternalAddress:6080/vnc_auto.html
|
||||||
|
|
||||||
|
|
||||||
|
[cinder]
|
||||||
|
os_region_name = Openstack_RegionName
|
||||||
|
catalog_info = volumev3::internalURL
|
Loading…
Reference in New Issue