Skip to content

Instantly share code, notes, and snippets.

@FuzzyFerric
Created October 4, 2018 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FuzzyFerric/5a49a344e9d0034f09e9a14195a87e10 to your computer and use it in GitHub Desktop.
Save FuzzyFerric/5a49a344e9d0034f09e9a14195a87e10 to your computer and use it in GitHub Desktop.
Problems with setting the NFS mount on an LXC container within OpenStack (/etc/openstack_deploy/user_variables.yml)
## Debug and Verbose options.
debug: true
## Common Glance Overrides
glance_default_store: file
glance_additional_stores:
- http
#The SAN connection for the glance containers. Without this, it would not auto connect the NFS mount
glance_nfs_client:
- server: "172.16.72.9"
remote_path: "/Glance_NFS_FileShare"
local_path: "/var/lib/glance/images"
type: "nfs4"
options: "_netdev,auto"
config_overrides: "{}"
# Ceph pool name for Glance to use
# glance_rbd_store_pool: images
# glance_rbd_store_chunk_size: 8
## Common Nova Overrides
# When nova_libvirt_images_rbd_pool is defined, ceph will be installed on nova
# hosts.
# nova_libvirt_images_rbd_pool: vms
# If you wish to change the dhcp_domain configured for both nova and neutron
# dhcp_domain: openstacklocal
## Common Glance Overrides when using a Swift back-end
# By default when 'glance_default_store' is set to 'swift' the playbooks will
# expect to use the Swift back-end that is configured in the same inventory.
# If the Swift back-end is not in the same inventory (ie it is already setup
# through some other means) then these settings should be used.
#
# NOTE: Ensure that the auth version matches your authentication endpoint.
#
# NOTE: If the password for glance_swift_store_key contains a dollar sign ($),
# it must be escaped with an additional dollar sign ($$), not a backslash. For
# example, a password of "super$ecure" would need to be entered as
# "super$$ecure" below. See Launchpad Bug #1259729 for more details.
#
# glance_swift_store_auth_version: 3
# glance_swift_store_auth_address: "https://some.auth.url.com"
# glance_swift_store_user: "OPENSTACK_TENANT_ID:OPENSTACK_USER_NAME"
# glance_swift_store_key: "OPENSTACK_USER_PASSWORD"
# glance_swift_store_container: "NAME_OF_SWIFT_CONTAINER"
# glance_swift_store_region: "NAME_OF_REGION"
## SSH connection wait time
#ssh_delay: 5
## HAProxy and keepalived
haproxy_keepalived_external_vip_cidr: "{{external_lb_vip_address}}/32"
haproxy_keepalived_internal_vip_cidr: "{{internal_lb_vip_address}}/32"
haproxy_keepalived_external_interface: eno3
haproxy_keepalived_internal_interface: br-mgmt
#SSL Certificate Stuff
haproxy_user_ssl_cert: /etc/openstack_deploy/ssl/cert.crt
haproxy_user_ssl_key: /etc/openstack_deploy/ssl/cert.key
haproxy_user_ssl_ca_cert: /etc/openstack_deploy/ssl/ca.crt
#
nova_cpu_allocation_ratio: 1.0
nova_disk_allocation_ratio: 1.0
nova_ram_allocation_ratio: 1.0
nova_system_user_uid: 10000
nova_system_group_gid: 10000
#
apply_security_hardening: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment