Skip to content

Instantly share code, notes, and snippets.

@a1git
Created December 7, 2018 16:24
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 a1git/78c7a87ddefba40935a8de3e92f43bbd to your computer and use it in GitHub Desktop.
Save a1git/78c7a87ddefba40935a8de3e92f43bbd to your computer and use it in GitHub Desktop.
TASK [os_neutron : Copy neutron ml2 plugin config] *********************************************************************************************************************
fatal: [b1_neutron_server_container-e54d000e]: FAILED! => {"msg": "'dict object' has no attribute 'network_sriov_mappings'"}
RUNNING HANDLER [os_neutron : Stop services] ***************************************************************************************************************************
FAILED - RETRYING: Stop services (5 retries left).
FAILED - RETRYING: Stop services (4 retries left).
FAILED - RETRYING: Stop services (3 retries left).
FAILED - RETRYING: Stop services (2 retries left).
FAILED - RETRYING: Stop services (1 retries left).
failed: [b1_neutron_server_container-e54d000e] (item={u'execstarts': u'/openstack/venvs/neutron-18.1.0/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --log-file=/var/log/neutron/neutron-server.log ', u'group': u'neutron_server', u'service_name': u'neutron-server', u'start_order': 1, u'service_en': True, u'init_config_overrides': {}, 'service_key': u'neutron-server'}) => {"attempts": 5, "changed": false, "item": {"execstarts": "/openstack/venvs/neutron-18.1.0/bin/neutron-server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini --log-file=/var/log/neutron/neutron-server.log ", "group": "neutron_server", "init_config_overrides": {}, "service_en": true, "service_key": "neutron-server", "service_name": "neutron-server", "start_order": 1}, "msg": "Could not find the requested service neutron-server: host"}
RUNNING HANDLER [os_neutron : Run ns-metadata-proxy process cleanup] ***************************************************************************************************
RUNNING HANDLER [os_neutron : Copy new policy file into place] *********************************************************************************************************
ok: [b1_neutron_server_container-e54d000e]
RUNNING HANDLER [os_neutron : Perform a DB contract] *******************************************************************************************************************
fatal: [b1_neutron_server_container-e54d000e]: FAILED! => {"msg": "The conditional check 'inventory_hostname == ((groups[neutron_services['neutron-server']['group']] | intersect(ansible_play_hosts)) | list)[0]' failed. The error was: error while evaluating conditional (inventory_hostname == ((groups[neutron_services['neutron-server']['group']] | intersect(ansible_play_hosts)) | list)[0]): list object has no element 0\n\nThe error appears to have been in '/etc/ansible/roles/os_neutron/handlers/main.yml': line 66, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Perform a DB contract\n ^ here\n"}
RUNNING HANDLER [os_neutron : Start services] *******
### user variables ##
---
debug: false
openstack_domain: "test.sandvine.cloud"
dhcp_domain: "test-int.sandvine.cloud"
service_region: "test"
openstack_host_specific_kernel_modules:
- name: "openvswitch"
pattern: "CONFIG_OPENVSWITCH"
group: "network_hosts"
nova_nova_conf_overrides:
DEFAULT:
force_config_drive: true
resume_guests_state_on_host_boot: true
nova_pci_passthrough_whitelist: '[{"physical_network":"vxlan", "devname":"ens1f0"}, {"physical_network":"vlan", "devname":"ens9f1"}]'
neutron_plugin_types:
- ml2.sriov
neutron_plugin_type: ml2.ovs
neutron_ml2_drivers_type: "vxlan,vlan,local"
network_sriov_mappings: "vlan: ens9f1"
neutron_neutron_conf_overrides:
DEFAULT:
l3_ha: False
neutron_ml2_conf_ini_overrides:
securitygroup:
firewall_driver: openvswitch
neutron_openvswitch_agent_ini_overrides:
securitygroup:
firewall_driver: openvswitch
neutron_provider_networks:
network_flat_networks: "*"
network_types: "vxlan,vlan"
network_vlan_ranges: "vlan:2:4090"
network_mappings: "vlan:br-vlan"
network_vxlan_ranges: "100001:999999"
neutron_vxlan_enabled: true
haproxy_keepalived_external_vip_cidr: "10.128.244.100/24"
haproxy_keepalived_internal_vip_cidr: "172.29.236.9/22"
haproxy_keepalived_external_interface: br-ssh
haproxy_keepalived_internal_interface: br-mgmt
haproxy_ssl_self_signed_regen: false
haproxy_user_ssl_cert: /opt/ssl/sandvine.crt
haproxy_user_ssl_key: /opt/ssl/sandvine.key
neutron_plugin_base:
- router
- metering
- qos
- trunk
## user config ##
---
cidr_networks:
container: 172.29.236.0/22
tunnel: 172.29.240.0/22
storage: 172.29.244.0/22
used_ips:
- "172.29.236.1,172.29.236.200"
- "172.29.240.1,172.29.240.200"
- "172.29.244.1,172.29.244.200"
global_overrides:
external_lb_vip_address: "test.sandvine.cloud"
internal_lb_vip_address: "172.29.236.114"
tunnel_bridge: "br-vxlan"
management_bridge: "br-mgmt"
provider_networks:
- network:
group_binds:
- all_containers
- hosts
type: "raw"
container_bridge: "br-mgmt"
container_interface: "eth1"
container_type: "veth"
ip_from_q: "container"
is_container_address: true
is_ssh_address: true
- network:
group_binds:
- glance_api
- cinder_api
- cinder_volume
- nova_compute
type: "raw"
container_bridge: "br-storage"
container_type: "veth"
container_interface: "eth2"
container_mtu: "9000"
ip_from_q: "storage"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vxlan"
container_type: "veth"
container_interface: "eth10"
container_mtu: "9000"
ip_from_q: "tunnel"
type: "vxlan"
range: "100001:999999"
net_name: "vxlan"
group_binds:
- neutron_openvswitch_agent
sriov_host_interfaces: "ens1f0"
- network:
group_binds:
- neutron_openvswitch_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
type: "vlan"
range: "2:4090"
net_name: "vlan"
sriov_host_interfaces: "ens9f1"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "eth12"
type: "flat"
net_name: "flat"
shared-infra_hosts:
c1:
ip: 172.29.236.114
haproxy_hosts:
c1:
ip: 172.29.236.114
repo-infra_hosts:
c1:
ip: 172.29.236.114
os-infra_hosts:
c1:
ip: 172.29.236.114
identity_hosts:
c1:
ip: 172.29.236.114
network_hosts:
b1:
ip: 172.29.236.112
compute_hosts:
b1:
ip: 172.29.236.112
container_vars:
neutron_provider_networks:
network_types: "vlan"
network_vlan_ranges: "vlan:2:4090"
network_mappings: "vlan:br-vlan"
network_sriov_mappings: "vlan:ens9f1"
nova_pci_passthrough_whitelist: '{ "physical_network":"vlan", "devname":"ens9f1" }'
storage-infra_hosts:
c1:
ip: 172.29.236.114
storage_hosts:
c1:
ip: 172.29.236.114
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment