openstack/newton
TASK [rsyslog_client : Find all log files] *************************************
task path: /etc/ansible/roles/rsyslog_client/tasks/rsyslog_client_post_install.yml:34
fatal: [c16_repo_container-818d82d7]: FAILED! => {"failed": true, "msg": "The conditional check 'log_dir.stat.isdir' failed. The error was: error while evaluating conditional (log_dir.stat.isdir): 'dict object' has no attribute 'isdir'\n\nThe error appears to have been in '/etc/ansible/roles/rsyslog_client/tasks/rsyslog_client_post_install.yml': line 34, 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: Find all log files\n ^ here\n"}
fatal: [c15_repo_container-5f53137a]: FAILED! => {"failed": true, "msg": "The conditional check 'log_dir.stat.isdir' failed. The error was: error while evaluating conditional (log_dir.stat.isdir): 'dict object' has no attribute 'isdir'\n\nThe error appears to have been in '/etc/ansible/roles/rsyslog_client/tasks/rsyslog_client_post_install.yml': line 34, 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: Find all log files\n ^ here\n"}
fatal: [c14_repo_container-ecd65fd6]: FAILED! => {"failed": true, "msg": "The conditional check 'log_dir.stat.isdir' failed. The error was: error while evaluating conditional (log_dir.stat.isdir): 'dict object' has no attribute 'isdir'\n\nThe error appears to have been in '/etc/ansible/roles/rsyslog_client/tasks/rsyslog_client_post_install.yml': line 34, 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: Find all log files\n ^ here\n"}
TASK [rsyslog_client : Union the log files] ************************************
fatal: [c16_repo_container-818d82d7]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'log_files' is undefined\n\nThe error appears to have been in '/etc/ansible/roles/rsyslog_client/tasks/rsyslog_client_post_install.yml': line 43, 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: Union the log files\n ^ here\n"}
fatal: [c15_repo_container-5f53137a]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'log_files' is undefined\n\nThe error appears to have been in '/etc/ansible/roles/rsyslog_client/tasks/rsyslog_client_post_install.yml': line 43, 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: Union the log files\n ^ here\n"}
fatal: [c14_repo_container-ecd65fd6]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'log_files' is undefined\n\nThe error appears to have been in '/etc/ansible/roles/rsyslog_client/tasks/rsyslog_client_post_install.yml': line 43, 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: Union the log files\n ^ here\n"}
## config file ##
---
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.100"
- "172.29.240.1,172.29.240.100"
- "172.29.244.1,172.29.244.100"
global_overrides:
internal_lb_vip_address: cloud101int.stack31.com
external_lb_vip_address: cloud101.stack31.com
management_bridge: br-mgmt
tunnel_bridge: br-vxlan
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
# Uncomment the next line if using swift with a storage network.
# - swift_proxy
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: "10000:100000"
net_name: "vxlan"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
type: "vlan"
range: "101:501"
net_name: "vlan"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "ens2"
type: "flat"
net_name: "flat"
shared-infra_hosts:
c14:
ip: 172.29.236.14
c15:
ip: 172.29.236.15
c16:
ip: 172.29.236.16
repo-infra_hosts:
c14:
ip: 172.29.236.14
c15:
ip: 172.29.236.15
c16:
ip: 172.29.236.16
os-infra_hosts:
c14:
ip: 172.29.236.14
c15:
ip: 172.29.236.15
c16:
ip: 172.29.236.16
identity_hosts:
c14:
ip: 172.29.236.14
c15:
ip: 172.29.236.15
c16:
ip: 172.29.236.16
network_hosts:
c14:
ip: 172.29.236.14
c15:
ip: 172.29.236.15
c16:
ip: 172.29.236.16
compute_hosts:
c23:
ip: 172.29.236.23
storage-infra_hosts:
c14:
ip: 172.29.236.14
c15:
ip: 172.29.236.15
c16:
ip: 172.29.236.16
storage_hosts:
c13:
ip: 172.29.236.13
log_hosts:
c13:
ip: 172.29.236.13
haproxy_hosts:
c14:
ip: 172.29.236.14
c15:
ip: 172.29.236.15
c16:
ip: 172.29.236.16
## variables ##
---
debug: true
service_region: NL2AMS2
keystone_service_user_name: keystone2
nova_service_user_name: nova2
neutron_service_user_name: neutron2
cinder_service_user_name: cinder2
heat_service_user_name: heat2
glance_service_user_name: glance2
glance_swift_store_user: glance2
swift_service_user_name: swift2
aodh_service_user_name: aodh2
ceilometer_service_user_name: ceilometer2
ironic_service_user_name: ironic2
repo_service_user_name: nginx2
gnocchi_service_user_name: gnocchi2
sahara_service_user_name: sahara2
magnum_service_user_name: magnum2
haproxy_keepalived_external_vip_cidr: "10.11.12.3/22"
haproxy_keepalived_internal_vip_cidr: "172.29.236.3/22"
haproxy_keepalived_external_interface: ens2
haproxy_keepalived_internal_interface: br-mgmt
haproxy_keepalived_external_virtual_router_id: 10
haproxy_keepalived_internal_virtual_router_id: 11
haproxy_user_ssl_cert: /opt/stack31.crt
haproxy_user_ssl_key: /opt/stack31.key
neutron_plugin_base:
- router
- firewall
- neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
- metering
- qos
Hey Shashi,
Could you please provide contextual information to this report?
We require the steps you performed to get to this error. After that we will request that someone recreates your issue.
Please in future, always report bugs with full contextual information of 'how' and 'what'.
Thank you,
Alex