Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2016-12-20 14:24:22,359 merge.py load:60 Loading data bag type dhcpentry
- 2016-12-20 14:24:22,360 merge.py process:100 Command of type dhcpentry received
- 2016-12-20 14:24:22,360 merge.py save:71 Writing data bag type dhcpentry
- 2016-12-20 14:24:22,360 merge.py save:72 {u'10.3.29.81': {u'default_gateway': u'0.0.0.0', u'ipv6_duid': u'00:03:00:01:06:a2:3c:00:07:c1', u'mac_address': u'06:a2:3c:00:07:c1', u'ipv4_adress': u'10.3.29.81', u'host_name': u'mas', u'default_entry': False, u'type': u'dhcpentry', u'dns_adresses': u'42.0.28.11'}, u'10.3.29.190': {u'default_gateway': u'0.0.0.0', u'ipv6_duid': u'00:03:00:01:06:9c:34:00:08:2e', u'mac_address': u'06:9c:34:00:08:2e', u'ipv4_adress': u'10.3.29.190', u'host_name': u'cpanel-centos7', u'default_entry': False, u'type': u'dhcpentry', u'dns_adresses': u'42.0.29.11'}, u'id': u'dhcpentry', u'10.3.29.182': {u'default_gateway': u'0.0.0.0', u'ipv6_duid': u'00:03:00:01:06:ad:c0:00:08:26', u'default_entry': False, u'ipv4_adress': u'10.3.29.182', u'host_name': u'server-1172', u'mac_address': u'06:ad:c0:00:08:26', u'type': u'dhcpentry', u'dns_adresses': u'42.0.28.11'}}
- 2016-12-20 14:24:22,361 merge.py load:60 Loading data bag type ips
- 2016-12-20 14:24:22,361 merge.py load:60 Loading data bag type cmdline
- 2016-12-20 14:24:22,361 configure.py main:924 Configuring ip addresses
- 2016-12-20 14:24:22,361 CsHelper.py execute:184 Executing: ip addr show dev eth1
- 2016-12-20 14:24:22,364 CsHelper.py execute:184 Executing: ip addr show dev eth0
- 2016-12-20 14:24:22,367 CsHelper.py execute:184 Executing: ip addr show dev eth1
- 2016-12-20 14:24:22,370 CsAddress.py process:107 Address found in DataBag ==> {u'public_ip': u'169.254.1.171', u'one_to_one_nat': False, u'nic_dev_id': u'1', u'network': u'169.254.0.0/16', u'netmask': u'255.255.0.0', u'source_nat': False, u'broadcast': u'169.254.255.255', u'add': True, u'nw_type': u'control', u'device': u'eth1', u'cidr': u'169.254.1.171/16', u'gateway': u'None', u'size': u'16'}
- 2016-12-20 14:24:22,370 CsAddress.py process:116 Address 169.254.1.171/16 on device eth1 not configured
- 2016-12-20 14:24:22,370 CsAddress.py configure:274 Configuring address 169.254.1.171/16 on device eth1
- 2016-12-20 14:24:22,370 CsHelper.py execute:184 Executing: ip addr add dev eth1 169.254.1.171/16 brd +
- 2016-12-20 14:24:22,373 CsRoute.py defaultroute_exists:89 Checking if default ipv4 route is present
- 2016-12-20 14:24:22,373 CsHelper.py execute:184 Executing: ip -4 route list 0/0
- 2016-12-20 14:24:22,376 CsRoute.py defaultroute_exists:93 Default route found: default via 10.3.29.1 dev eth0
- 2016-12-20 14:24:22,376 CsHelper.py execute:184 Executing: ip addr show dev eth0
- 2016-12-20 14:24:22,378 CsAddress.py process:107 Address found in DataBag ==> {u'public_ip': u'10.3.29.10', u'one_to_one_nat': False, u'nic_dev_id': u'0', u'network': u'10.3.29.0/24', u'netmask': u'255.255.255.0', u'source_nat': False, u'broadcast': u'10.3.29.255', u'add': True, u'nw_type': u'guest', u'device': u'eth0', u'cidr': u'10.3.29.10/24', u'gateway': u'None', u'size': u'24'}
- 2016-12-20 14:24:22,378 CsAddress.py process:116 Address 10.3.29.10/24 on device eth0 not configured
- 2016-12-20 14:24:22,379 CsAddress.py configure:274 Configuring address 10.3.29.10/24 on device eth0
- 2016-12-20 14:24:22,379 CsHelper.py execute:184 Executing: ip addr add dev eth0 10.3.29.10/24 brd +
- 2016-12-20 14:24:22,381 CsRoute.py add_table:38 Adding route table: 0 Table_eth0 to /etc/iproute2/rt_tables if not present
- 2016-12-20 14:24:22,382 CsHelper.py execute:184 Executing: ip rule show
- 2016-12-20 14:24:22,384 CsHelper.py execute:184 Executing: ip rule add fwmark 0 table Table_eth0
- 2016-12-20 14:24:22,387 CsRule.py addMark:37 Added fwmark rule for Table_eth0
- 2016-12-20 14:24:22,387 CsHelper.py execute:184 Executing: ip link show eth0 | grep 'state DOWN'
- 2016-12-20 14:24:22,391 CsHelper.py execute:184 Executing: arping -c 1 -I eth0 -A -U -s 10.3.29.10 None
- 2016-12-20 14:24:42,416 CsAddress.py inKernel:686 rpsfr is not present in the kernel
- 2016-12-20 14:24:42,416 CsRoute.py add_table:38 Adding route table: 0 Table_eth0 to /etc/iproute2/rt_tables if not present
- 2016-12-20 14:24:42,417 CsRoute.py add_route:50 Adding route: dev eth0 table: Table_eth0 network: 10.3.29.0/24 if not present
- 2016-12-20 14:24:42,417 CsHelper.py execute:184 Executing: ip route show dev eth0 table Table_eth0 10.3.29.0/24
- 2016-12-20 14:24:42,422 CsFile.py load:39 Reading file /etc/apache2/sites-enabled/vhost-10.3.29.10.conf
- 2016-12-20 14:24:42,423 CsFile.py search:124 Searching for <VirtualHost.*:80> and replacing with <VirtualHost 10.3.29.10:80>
- 2016-12-20 14:24:42,424 CsFile.py search:124 Searching for <VirtualHost.*:443> and replacing with <VirtualHost 10.3.29.10:443>
- 2016-12-20 14:24:42,425 CsFile.py search:124 Searching for Listen .*:80 and replacing with Listen 10.3.29.10:80
- 2016-12-20 14:24:42,426 CsFile.py search:124 Searching for Listen .*:443 and replacing with Listen 10.3.29.10:443
- 2016-12-20 14:24:42,428 CsFile.py search:124 Searching for NameVirtualHost .*:80 and replacing with NameVirtualHost 10.3.29.10:80
- 2016-12-20 14:24:42,429 CsFile.py search:124 Searching for ServerName.* and replacing with ServerName dhcpsrvr.nocser.net
- 2016-12-20 14:24:42,430 CsHelper.py execute:184 Executing: ps aux
- 2016-12-20 14:24:42,445 CsRoute.py defaultroute_exists:89 Checking if default ipv4 route is present
- 2016-12-20 14:24:42,445 CsHelper.py execute:184 Executing: ip -4 route list 0/0
- 2016-12-20 14:24:42,449 CsRoute.py defaultroute_exists:93 Default route found: default via 10.3.29.1 dev eth0
- 2016-12-20 14:24:42,449 configure.py main:968 Configuring dhcp entry
- 2016-12-20 14:24:42,449 merge.py load:60 Loading data bag type dhcpentry
- 2016-12-20 14:24:42,450 CsHelper.py execute:184 Executing: ip addr show
- 2016-12-20 14:24:42,453 CsFile.py load:39 Reading file /etc/dhcphosts.txt
- 2016-12-20 14:24:42,454 CsFile.py load:39 Reading file /etc/dnsmasq.d/cloud.conf
- 2016-12-20 14:24:42,454 CsFile.py load:39 Reading file /etc/hosts
- 2016-12-20 14:24:42,455 CsFile.py commit:66 Wrote edited file /etc/hosts
- 2016-12-20 14:24:42,455 CsFile.py commit:68 Updated file in-cache configuration
- 2016-12-20 14:24:42,455 CsDhcp.py write_hosts:125 Updated hosts file
- 2016-12-20 14:24:42,455 CsFile.py search:124 Searching for dhcp-range=interface:eth0,set:interface-eth0-0 and replacing with dhcp-range=interface:eth0,set:interface-eth0-0,10.3.29.10,static
- 2016-12-20 14:24:42,456 merge.py load:57 Creating data bag type guestnetwork
- 2016-12-20 14:24:42,456 CsFile.py search:124 Searching for dhcp-option=tag:interface-eth0-0,15 and replacing with dhcp-option=tag:interface-eth0-0,15,nocser.net
- 2016-12-20 14:24:42,457 CsAddress.py get_guest_if:59 Guest interface will be set on device 'eth0' and IP '10.3.29.10'
- 2016-12-20 14:24:42,457 CsAddress.py get_guest_if:59 Guest interface will be set on device 'eth0' and IP '10.3.29.10'
- 2016-12-20 14:24:42,457 CsFile.py search:124 Searching for dhcp-option=tag:interface-eth0-0,6 and replacing with dhcp-option=tag:interface-eth0-0,6,10.3.29.10,8.8.8.8,8.8.4.4
- 2016-12-20 14:24:42,458 CsFile.py search:124 Searching for dhcp-option=tag:interface-eth0-0,3, and replacing with dhcp-option=tag:interface-eth0-0,3,0.0.0.0
- 2016-12-20 14:24:42,458 CsAddress.py get_guest_if:59 Guest interface will be set on device 'eth0' and IP '10.3.29.10'
- 2016-12-20 14:24:42,458 CsFile.py search:124 Searching for dhcp-option=tag:interface-eth0-0,1, and replacing with dhcp-option=tag:interface-eth0-0,1,255.255.255.0
- 2016-12-20 14:24:42,459 CsFile.py commit:60 Nothing to commit. The /etc/dnsmasq.d/cloud.conf file did not change
- 2016-12-20 14:24:42,459 CsFile.py commit:66 Wrote edited file /etc/dhcphosts.txt
- 2016-12-20 14:24:42,460 CsFile.py commit:68 Updated file in-cache configuration
- 2016-12-20 14:24:42,460 CsHelper.py execute:184 Executing: service dnsmasq restart
- 2016-12-20 14:24:44,483 CsHelper.py service:213 Service dnsmasq restart
- 2016-12-20 14:24:44,483 CsRedundant.py set:68 Router redundancy status is False
- 2016-12-20 14:24:44,483 CsHelper.py execute:184 Executing: service conntrackd stop
- 2016-12-20 14:24:44,500 CsHelper.py service:213 Service conntrackd stop
- 2016-12-20 14:24:44,500 CsHelper.py execute:184 Executing: service keepalived stop
- 2016-12-20 14:24:44,509 CsHelper.py service:213 Service keepalived stop
- 2016-12-20 14:24:44,509 CsHelper.py execute:184 Executing: mount
- 2016-12-20 14:24:44,970 merge.py load:60 Loading data bag type vmdata
- 2016-12-20 14:24:44,971 merge.py process:100 Command of type vmdata received
- 2016-12-20 14:24:44,971 merge.py save:71 Writing data bag type vmdata
- 2016-12-20 14:24:44,971 merge.py save:72 {u'10.3.29.81': [[u'userdata', u'user-data', None], [u'metadata', u'service-offering', u'Cloud 1 vCPU Performance'], [u'metadata', u'availability-zone', u'AIMS KL'], [u'metadata', u'local-ipv4', u'10.3.29.81'], [u'metadata', u'local-hostname', u'mas'], [u'metadata', u'public-ipv4', u'10.3.29.81'], [u'metadata', u'public-hostname', None], [u'metadata', u'instance-id', u'e1995f74-d5cf-4550-8091-dee2f1314d0a'], [u'metadata', u'vm-id', u'e1995f74-d5cf-4550-8091-dee2f1314d0a'], [u'metadata', u'public-keys', None], [u'metadata', u'cloud-identifier', u'CloudStack-{7ac67a94-0e31-466d-bab2-ff98d87fc1f8}']], u'10.3.29.190': [[u'userdata', u'user-data', None], [u'metadata', u'service-offering', u'Cloud 2 vCPU Performance'], [u'metadata', u'availability-zone', u'AIMS KL'], [u'metadata', u'local-ipv4', u'10.3.29.190'], [u'metadata', u'local-hostname', u'cpanel-centos7'], [u'metadata', u'public-ipv4', u'10.3.29.190'], [u'metadata', u'public-hostname', None], [u'metadata', u'instance-id', u'8126878a-d5b8-451b-9280-cf6cc8619ffc'], [u'metadata', u'vm-id', u'8126878a-d5b8-451b-9280-cf6cc8619ffc'], [u'metadata', u'public-keys', None], [u'metadata', u'cloud-identifier', u'CloudStack-{7ac67a94-0e31-466d-bab2-ff98d87fc1f8}']], u'id': u'vmdata', u'10.3.29.182': [[u'userdata', u'user-data', None], [u'metadata', u'service-offering', u'Cloud 1 vCPU Eco'], [u'metadata', u'availability-zone', u'AIMS KL'], [u'metadata', u'local-ipv4', u'10.3.29.182'], [u'metadata', u'local-hostname', u'server-1172'], [u'metadata', u'public-ipv4', u'10.3.29.182'], [u'metadata', u'public-hostname', None], [u'metadata', u'instance-id', u'020f1c76-7022-41ba-9b54-ada82d30ae7a'], [u'metadata', u'vm-id', u'020f1c76-7022-41ba-9b54-ada82d30ae7a'], [u'metadata', u'public-keys', None], [u'metadata', u'cloud-identifier', u'CloudStack-{7ac67a94-0e31-466d-bab2-ff98d87fc1f8}']]}
- 2016-12-20 14:24:44,972 merge.py load:60 Loading data bag type ips
- 2016-12-20 14:24:44,972 merge.py load:60 Loading data bag type cmdline
- 2016-12-20 14:24:44,972 configure.py main:924 Configuring ip addresses
- 2016-12-20 14:24:44,973 CsHelper.py execute:184 Executing: ip addr show dev eth1
- 2016-12-20 14:24:44,976 CsHelper.py execute:184 Executing: ip addr show dev eth0
- 2016-12-20 14:24:44,979 CsHelper.py execute:184 Executing: ip addr show dev eth1
- 2016-12-20 14:24:44,982 CsAddress.py process:107 Address found in DataBag ==> {u'public_ip': u'169.254.1.171', u'one_to_one_nat': False, u'nic_dev_id': u'1', u'network': u'169.254.0.0/16', u'netmask': u'255.255.0.0', u'source_nat': False, u'broadcast': u'169.254.255.255', u'add': True, u'nw_type': u'control', u'device': u'eth1', u'cidr': u'169.254.1.171/16', u'gateway': u'None', u'size': u'16'}
- 2016-12-20 14:24:44,982 CsAddress.py process:116 Address 169.254.1.171/16 on device eth1 not configured
- 2016-12-20 14:24:44,983 CsAddress.py configure:274 Configuring address 169.254.1.171/16 on device eth1
- 2016-12-20 14:24:44,983 CsHelper.py execute:184 Executing: ip addr add dev eth1 169.254.1.171/16 brd +
- 2016-12-20 14:24:44,986 CsRoute.py defaultroute_exists:89 Checking if default ipv4 route is present
- 2016-12-20 14:24:44,986 CsHelper.py execute:184 Executing: ip -4 route list 0/0
- 2016-12-20 14:24:44,988 CsRoute.py defaultroute_exists:93 Default route found: default via 10.3.29.1 dev eth0
- 2016-12-20 14:24:44,989 CsHelper.py execute:184 Executing: ip addr show dev eth0
- 2016-12-20 14:24:44,991 CsAddress.py process:107 Address found in DataBag ==> {u'public_ip': u'10.3.29.10', u'one_to_one_nat': False, u'nic_dev_id': u'0', u'network': u'10.3.29.0/24', u'netmask': u'255.255.255.0', u'source_nat': False, u'broadcast': u'10.3.29.255', u'add': True, u'nw_type': u'guest', u'device': u'eth0', u'cidr': u'10.3.29.10/24', u'gateway': u'None', u'size': u'24'}
- 2016-12-20 14:24:44,991 CsAddress.py process:116 Address 10.3.29.10/24 on device eth0 not configured
- 2016-12-20 14:24:44,992 CsAddress.py configure:274 Configuring address 10.3.29.10/24 on device eth0
- 2016-12-20 14:24:44,992 CsHelper.py execute:184 Executing: ip addr add dev eth0 10.3.29.10/24 brd +
- 2016-12-20 14:24:44,994 CsRoute.py add_table:38 Adding route table: 0 Table_eth0 to /etc/iproute2/rt_tables if not present
- 2016-12-20 14:24:44,995 CsHelper.py execute:184 Executing: ip rule show
- 2016-12-20 14:24:44,997 CsHelper.py execute:184 Executing: ip rule add fwmark 0 table Table_eth0
- 2016-12-20 14:24:45,000 CsRule.py addMark:37 Added fwmark rule for Table_eth0
- 2016-12-20 14:24:45,000 CsHelper.py execute:184 Executing: ip link show eth0 | grep 'state DOWN'
- 2016-12-20 14:24:45,004 CsHelper.py execute:184 Executing: arping -c 1 -I eth0 -A -U -s 10.3.29.10 None
- 2016-12-20 14:25:05,028 CsAddress.py inKernel:686 rpsfr is not present in the kernel
- 2016-12-20 14:25:05,029 CsRoute.py add_table:38 Adding route table: 0 Table_eth0 to /etc/iproute2/rt_tables if not present
- 2016-12-20 14:25:05,029 CsRoute.py add_route:50 Adding route: dev eth0 table: Table_eth0 network: 10.3.29.0/24 if not present
- 2016-12-20 14:25:05,029 CsHelper.py execute:184 Executing: ip route show dev eth0 table Table_eth0 10.3.29.0/24
- 2016-12-20 14:25:05,035 CsFile.py load:39 Reading file /etc/apache2/sites-enabled/vhost-10.3.29.10.conf
- 2016-12-20 14:25:05,035 CsFile.py search:124 Searching for <VirtualHost.*:80> and replacing with <VirtualHost 10.3.29.10:80>
- 2016-12-20 14:25:05,037 CsFile.py search:124 Searching for <VirtualHost.*:443> and replacing with <VirtualHost 10.3.29.10:443>
- 2016-12-20 14:25:05,038 CsFile.py search:124 Searching for Listen .*:80 and replacing with Listen 10.3.29.10:80
- 2016-12-20 14:25:05,039 CsFile.py search:124 Searching for Listen .*:443 and replacing with Listen 10.3.29.10:443
- 2016-12-20 14:25:05,040 CsFile.py search:124 Searching for NameVirtualHost .*:80 and replacing with NameVirtualHost 10.3.29.10:80
- 2016-12-20 14:25:05,041 CsFile.py search:124 Searching for ServerName.* and replacing with ServerName dhcpsrvr.nocser.net
- 2016-12-20 14:25:05,042 CsHelper.py execute:184 Executing: ps aux
- 2016-12-20 14:25:05,055 CsRoute.py defaultroute_exists:89 Checking if default ipv4 route is present
- 2016-12-20 14:25:05,055 CsHelper.py execute:184 Executing: ip -4 route list 0/0
- 2016-12-20 14:25:05,058 CsRoute.py defaultroute_exists:93 Default route found: default via 10.3.29.1 dev eth0
- 2016-12-20 14:25:05,059 configure.py main:938 Configuring vmdata
- 2016-12-20 14:25:05,059 merge.py load:60 Loading data bag type vmdata
- 2016-12-20 14:25:05,059 configure.py process:288 Processing metadata for 10.3.29.81
- 2016-12-20 14:25:05,068 configure.py process:288 Processing metadata for 10.3.29.190
- 2016-12-20 14:25:05,077 configure.py process:288 Processing metadata for 10.3.29.182
- 2016-12-20 14:25:05,094 CsRedundant.py set:68 Router redundancy status is False
- 2016-12-20 14:25:05,095 CsHelper.py execute:184 Executing: service conntrackd stop
- 2016-12-20 14:25:05,112 CsHelper.py service:213 Service conntrackd stop
- 2016-12-20 14:25:05,113 CsHelper.py execute:184 Executing: service keepalived stop
- 2016-12-20 14:25:05,121 CsHelper.py service:213 Service keepalived stop
- 2016-12-20 14:25:05,122 CsHelper.py execute:184 Executing: mount
- 2016-12-20 14:36:26,347 merge.py load:60 Loading data bag type dhcpentry
- 2016-12-20 14:36:26,348 merge.py process:100 Command of type dhcpentry received
- 2016-12-20 14:36:26,348 merge.py save:71 Writing data bag type dhcpentry
- 2016-12-20 14:36:26,348 merge.py save:72 {u'10.3.29.81': {u'default_gateway': u'0.0.0.0', u'ipv6_duid': u'00:03:00:01:06:a2:3c:00:07:c1', u'mac_address': u'06:a2:3c:00:07:c1', u'ipv4_adress': u'10.3.29.81', u'host_name': u'mas', u'default_entry': False, u'type': u'dhcpentry', u'dns_adresses': u'42.0.28.11'}, u'10.3.29.244': {u'default_gateway': u'0.0.0.0', u'ipv6_duid': u'00:03:00:01:06:b6:ca:00:08:64', u'default_entry': False, u'ipv4_adress': u'10.3.29.244', u'host_name': u'server-1315', u'mac_address': u'06:b6:ca:00:08:64', u'type': u'dhcpentry', u'dns_adresses': u'42.0.28.11'}, u'10.3.29.190': {u'default_gateway': u'0.0.0.0', u'ipv6_duid': u'00:03:00:01:06:9c:34:00:08:2e', u'mac_address': u'06:9c:34:00:08:2e', u'ipv4_adress': u'10.3.29.190', u'host_name': u'cpanel-centos7', u'default_entry': False, u'type': u'dhcpentry', u'dns_adresses': u'42.0.29.11'}, u'10.3.29.182': {u'default_gateway': u'0.0.0.0', u'ipv6_duid': u'00:03:00:01:06:ad:c0:00:08:26', u'mac_address': u'06:ad:c0:00:08:26', u'ipv4_adress': u'10.3.29.182', u'host_name': u'server-1172', u'default_entry': False, u'type': u'dhcpentry', u'dns_adresses': u'42.0.28.11'}, u'id': u'dhcpentry'}
- 2016-12-20 14:36:26,349 merge.py load:60 Loading data bag type ips
- 2016-12-20 14:36:26,349 merge.py load:60 Loading data bag type cmdline
- 2016-12-20 14:36:26,349 configure.py main:924 Configuring ip addresses
- 2016-12-20 14:36:26,349 CsHelper.py execute:184 Executing: ip addr show dev eth1
- 2016-12-20 14:36:26,353 CsHelper.py execute:184 Executing: ip addr show dev eth0
- 2016-12-20 14:36:26,356 CsHelper.py execute:184 Executing: ip addr show dev eth1
- 2016-12-20 14:36:26,359 CsAddress.py process:107 Address found in DataBag ==> {u'public_ip': u'169.254.1.171', u'one_to_one_nat': False, u'nic_dev_id': u'1', u'network': u'169.254.0.0/16', u'netmask': u'255.255.0.0', u'source_nat': False, u'broadcast': u'169.254.255.255', u'add': True, u'nw_type': u'control', u'device': u'eth1', u'cidr': u'169.254.1.171/16', u'gateway': u'None', u'size': u'16'}
- 2016-12-20 14:36:26,359 CsAddress.py process:116 Address 169.254.1.171/16 on device eth1 not configured
- 2016-12-20 14:36:26,360 CsAddress.py configure:274 Configuring address 169.254.1.171/16 on device eth1
- 2016-12-20 14:36:26,360 CsHelper.py execute:184 Executing: ip addr add dev eth1 169.254.1.171/16 brd +
- 2016-12-20 14:36:26,363 CsRoute.py defaultroute_exists:89 Checking if default ipv4 route is present
- 2016-12-20 14:36:26,363 CsHelper.py execute:184 Executing: ip -4 route list 0/0
- 2016-12-20 14:36:26,366 CsRoute.py defaultroute_exists:93 Default route found: default via 10.3.29.1 dev eth0
- 2016-12-20 14:36:26,366 CsHelper.py execute:184 Executing: ip addr show dev eth0
- 2016-12-20 14:36:26,369 CsAddress.py process:107 Address found in DataBag ==> {u'public_ip': u'10.3.29.10', u'one_to_one_nat': False, u'nic_dev_id': u'0', u'network': u'10.3.29.0/24', u'netmask': u'255.255.255.0', u'source_nat': False, u'broadcast': u'10.3.29.255', u'add': True, u'nw_type': u'guest', u'device': u'eth0', u'cidr': u'10.3.29.10/24', u'gateway': u'None', u'size': u'24'}
- 2016-12-20 14:36:26,369 CsAddress.py process:116 Address 10.3.29.10/24 on device eth0 not configured
- 2016-12-20 14:36:26,369 CsAddress.py configure:274 Configuring address 10.3.29.10/24 on device eth0
- 2016-12-20 14:36:26,370 CsHelper.py execute:184 Executing: ip addr add dev eth0 10.3.29.10/24 brd +
- 2016-12-20 14:36:26,372 CsRoute.py add_table:38 Adding route table: 0 Table_eth0 to /etc/iproute2/rt_tables if not present
- 2016-12-20 14:36:26,373 CsHelper.py execute:184 Executing: ip rule show
- 2016-12-20 14:36:26,376 CsHelper.py execute:184 Executing: ip rule add fwmark 0 table Table_eth0
- 2016-12-20 14:36:26,378 CsRule.py addMark:37 Added fwmark rule for Table_eth0
- 2016-12-20 14:36:26,378 CsHelper.py execute:184 Executing: ip link show eth0 | grep 'state DOWN'
- 2016-12-20 14:36:26,382 CsHelper.py execute:184 Executing: arping -c 1 -I eth0 -A -U -s 10.3.29.10 None
- 2016-12-20 14:36:46,406 CsAddress.py inKernel:686 rpsfr is not present in the kernel
- 2016-12-20 14:36:46,407 CsRoute.py add_table:38 Adding route table: 0 Table_eth0 to /etc/iproute2/rt_tables if not present
- 2016-12-20 14:36:46,407 CsRoute.py add_route:50 Adding route: dev eth0 table: Table_eth0 network: 10.3.29.0/24 if not present
- 2016-12-20 14:36:46,408 CsHelper.py execute:184 Executing: ip route show dev eth0 table Table_eth0 10.3.29.0/24
- 2016-12-20 14:36:46,413 CsFile.py load:39 Reading file /etc/apache2/sites-enabled/vhost-10.3.29.10.conf
- 2016-12-20 14:36:46,414 CsFile.py search:124 Searching for <VirtualHost.*:80> and replacing with <VirtualHost 10.3.29.10:80>
- 2016-12-20 14:36:46,415 CsFile.py search:124 Searching for <VirtualHost.*:443> and replacing with <VirtualHost 10.3.29.10:443>
- 2016-12-20 14:36:46,416 CsFile.py search:124 Searching for Listen .*:80 and replacing with Listen 10.3.29.10:80
- 2016-12-20 14:36:46,417 CsFile.py search:124 Searching for Listen .*:443 and replacing with Listen 10.3.29.10:443
- 2016-12-20 14:36:46,418 CsFile.py search:124 Searching for NameVirtualHost .*:80 and replacing with NameVirtualHost 10.3.29.10:80
- 2016-12-20 14:36:46,419 CsFile.py search:124 Searching for ServerName.* and replacing with ServerName dhcpsrvr.nocser.net
- 2016-12-20 14:36:46,421 CsHelper.py execute:184 Executing: ps aux
- 2016-12-20 14:36:46,435 CsRoute.py defaultroute_exists:89 Checking if default ipv4 route is present
- 2016-12-20 14:36:46,435 CsHelper.py execute:184 Executing: ip -4 route list 0/0
- 2016-12-20 14:36:46,438 CsRoute.py defaultroute_exists:93 Default route found: default via 10.3.29.1 dev eth0
- 2016-12-20 14:36:46,439 configure.py main:968 Configuring dhcp entry
- 2016-12-20 14:36:46,439 merge.py load:60 Loading data bag type dhcpentry
- 2016-12-20 14:36:46,439 CsHelper.py execute:184 Executing: ip addr show
- 2016-12-20 14:36:46,443 CsFile.py load:39 Reading file /etc/dhcphosts.txt
- 2016-12-20 14:36:46,443 CsFile.py load:39 Reading file /etc/dnsmasq.d/cloud.conf
- 2016-12-20 14:36:46,444 CsFile.py load:39 Reading file /etc/hosts
- 2016-12-20 14:36:46,445 CsFile.py commit:66 Wrote edited file /etc/hosts
- 2016-12-20 14:36:46,445 CsFile.py commit:68 Updated file in-cache configuration
- 2016-12-20 14:36:46,445 CsDhcp.py write_hosts:125 Updated hosts file
- 2016-12-20 14:36:46,445 CsFile.py search:124 Searching for dhcp-range=interface:eth0,set:interface-eth0-0 and replacing with dhcp-range=interface:eth0,set:interface-eth0-0,10.3.29.10,static
- 2016-12-20 14:36:46,446 merge.py load:57 Creating data bag type guestnetwork
- 2016-12-20 14:36:46,446 CsFile.py search:124 Searching for dhcp-option=tag:interface-eth0-0,15 and replacing with dhcp-option=tag:interface-eth0-0,15,nocser.net
- 2016-12-20 14:36:46,447 CsAddress.py get_guest_if:59 Guest interface will be set on device 'eth0' and IP '10.3.29.10'
- 2016-12-20 14:36:46,447 CsAddress.py get_guest_if:59 Guest interface will be set on device 'eth0' and IP '10.3.29.10'
- 2016-12-20 14:36:46,447 CsFile.py search:124 Searching for dhcp-option=tag:interface-eth0-0,6 and replacing with dhcp-option=tag:interface-eth0-0,6,10.3.29.10,8.8.8.8,8.8.4.4
- 2016-12-20 14:36:46,448 CsFile.py search:124 Searching for dhcp-option=tag:interface-eth0-0,3, and replacing with dhcp-option=tag:interface-eth0-0,3,0.0.0.0
- 2016-12-20 14:36:46,448 CsAddress.py get_guest_if:59 Guest interface will be set on device 'eth0' and IP '10.3.29.10'
- 2016-12-20 14:36:46,448 CsFile.py search:124 Searching for dhcp-option=tag:interface-eth0-0,1, and replacing with dhcp-option=tag:interface-eth0-0,1,255.255.255.0
- 2016-12-20 14:36:46,449 CsFile.py commit:60 Nothing to commit. The /etc/dnsmasq.d/cloud.conf file did not change
- 2016-12-20 14:36:46,449 CsFile.py commit:66 Wrote edited file /etc/dhcphosts.txt
- 2016-12-20 14:36:46,449 CsFile.py commit:68 Updated file in-cache configuration
- 2016-12-20 14:36:46,449 CsHelper.py execute:184 Executing: service dnsmasq restart
- 2016-12-20 14:36:48,472 CsHelper.py service:213 Service dnsmasq restart
- 2016-12-20 14:36:48,472 CsRedundant.py set:68 Router redundancy status is False
- 2016-12-20 14:36:48,472 CsHelper.py execute:184 Executing: service conntrackd stop
- 2016-12-20 14:36:48,488 CsHelper.py service:213 Service conntrackd stop
- 2016-12-20 14:36:48,488 CsHelper.py execute:184 Executing: service keepalived stop
- 2016-12-20 14:36:48,497 CsHelper.py service:213 Service keepalived stop
- 2016-12-20 14:36:48,498 CsHelper.py execute:184 Executing: mount
- 2016-12-20 14:36:48,995 merge.py load:60 Loading data bag type vmdata
- 2016-12-20 14:36:48,996 merge.py process:100 Command of type vmdata received
- 2016-12-20 14:36:48,996 merge.py save:71 Writing data bag type vmdata
- 2016-12-20 14:36:48,996 merge.py save:72 {u'10.3.29.81': [[u'userdata', u'user-data', None], [u'metadata', u'service-offering', u'Cloud 1 vCPU Performance'], [u'metadata', u'availability-zone', u'AIMS KL'], [u'metadata', u'local-ipv4', u'10.3.29.81'], [u'metadata', u'local-hostname', u'mas'], [u'metadata', u'public-ipv4', u'10.3.29.81'], [u'metadata', u'public-hostname', None], [u'metadata', u'instance-id', u'e1995f74-d5cf-4550-8091-dee2f1314d0a'], [u'metadata', u'vm-id', u'e1995f74-d5cf-4550-8091-dee2f1314d0a'], [u'metadata', u'public-keys', None], [u'metadata', u'cloud-identifier', u'CloudStack-{7ac67a94-0e31-466d-bab2-ff98d87fc1f8}']], u'10.3.29.244': [[u'userdata', u'user-data', None], [u'metadata', u'service-offering', u'Cloud 4 vCPU Performance'], [u'metadata', u'availability-zone', u'AIMS KL'], [u'metadata', u'local-ipv4', u'10.3.29.244'], [u'metadata', u'local-hostname', u'server-1315'], [u'metadata', u'public-ipv4', u'10.3.29.244'], [u'metadata', u'public-hostname', None], [u'metadata', u'instance-id', u'bb9acdec-c0d1-4ff6-bd9d-40f723fb91f7'], [u'metadata', u'vm-id', u'bb9acdec-c0d1-4ff6-bd9d-40f723fb91f7'], [u'metadata', u'public-keys', None], [u'metadata', u'cloud-identifier', u'CloudStack-{7ac67a94-0e31-466d-bab2-ff98d87fc1f8}']], u'10.3.29.190': [[u'userdata', u'user-data', None], [u'metadata', u'service-offering', u'Cloud 2 vCPU Performance'], [u'metadata', u'availability-zone', u'AIMS KL'], [u'metadata', u'local-ipv4', u'10.3.29.190'], [u'metadata', u'local-hostname', u'cpanel-centos7'], [u'metadata', u'public-ipv4', u'10.3.29.190'], [u'metadata', u'public-hostname', None], [u'metadata', u'instance-id', u'8126878a-d5b8-451b-9280-cf6cc8619ffc'], [u'metadata', u'vm-id', u'8126878a-d5b8-451b-9280-cf6cc8619ffc'], [u'metadata', u'public-keys', None], [u'metadata', u'cloud-identifier', u'CloudStack-{7ac67a94-0e31-466d-bab2-ff98d87fc1f8}']], u'10.3.29.182': [[u'userdata', u'user-data', None], [u'metadata', u'service-offering', u'Cloud 1 vCPU Eco'], [u'metadata', u'availability-zone', u'AIMS KL'], [u'metadata', u'local-ipv4', u'10.3.29.182'], [u'metadata', u'local-hostname', u'server-1172'], [u'metadata', u'public-ipv4', u'10.3.29.182'], [u'metadata', u'public-hostname', None], [u'metadata', u'instance-id', u'020f1c76-7022-41ba-9b54-ada82d30ae7a'], [u'metadata', u'vm-id', u'020f1c76-7022-41ba-9b54-ada82d30ae7a'], [u'metadata', u'public-keys', None], [u'metadata', u'cloud-identifier', u'CloudStack-{7ac67a94-0e31-466d-bab2-ff98d87fc1f8}']], u'id': u'vmdata'}
- 2016-12-20 14:36:48,997 merge.py load:60 Loading data bag type ips
- 2016-12-20 14:36:48,998 merge.py load:60 Loading data bag type cmdline
- 2016-12-20 14:36:48,998 configure.py main:924 Configuring ip addresses
- 2016-12-20 14:36:48,998 CsHelper.py execute:184 Executing: ip addr show dev eth1
- 2016-12-20 14:36:49,001 CsHelper.py execute:184 Executing: ip addr show dev eth0
- 2016-12-20 14:36:49,004 CsHelper.py execute:184 Executing: ip addr show dev eth1
- 2016-12-20 14:36:49,007 CsAddress.py process:107 Address found in DataBag ==> {u'public_ip': u'169.254.1.171', u'one_to_one_nat': False, u'nic_dev_id': u'1', u'network': u'169.254.0.0/16', u'netmask': u'255.255.0.0', u'source_nat': False, u'broadcast': u'169.254.255.255', u'add': True, u'nw_type': u'control', u'device': u'eth1', u'cidr': u'169.254.1.171/16', u'gateway': u'None', u'size': u'16'}
- 2016-12-20 14:36:49,008 CsAddress.py process:116 Address 169.254.1.171/16 on device eth1 not configured
- 2016-12-20 14:36:49,008 CsAddress.py configure:274 Configuring address 169.254.1.171/16 on device eth1
- 2016-12-20 14:36:49,008 CsHelper.py execute:184 Executing: ip addr add dev eth1 169.254.1.171/16 brd +
- 2016-12-20 14:36:49,011 CsRoute.py defaultroute_exists:89 Checking if default ipv4 route is present
- 2016-12-20 14:36:49,011 CsHelper.py execute:184 Executing: ip -4 route list 0/0
- 2016-12-20 14:36:49,014 CsRoute.py defaultroute_exists:93 Default route found: default via 10.3.29.1 dev eth0
- 2016-12-20 14:36:49,014 CsHelper.py execute:184 Executing: ip addr show dev eth0
- 2016-12-20 14:36:49,017 CsAddress.py process:107 Address found in DataBag ==> {u'public_ip': u'10.3.29.10', u'one_to_one_nat': False, u'nic_dev_id': u'0', u'network': u'10.3.29.0/24', u'netmask': u'255.255.255.0', u'source_nat': False, u'broadcast': u'10.3.29.255', u'add': True, u'nw_type': u'guest', u'device': u'eth0', u'cidr': u'10.3.29.10/24', u'gateway': u'None', u'size': u'24'}
- 2016-12-20 14:36:49,017 CsAddress.py process:116 Address 10.3.29.10/24 on device eth0 not configured
- 2016-12-20 14:36:49,017 CsAddress.py configure:274 Configuring address 10.3.29.10/24 on device eth0
- 2016-12-20 14:36:49,017 CsHelper.py execute:184 Executing: ip addr add dev eth0 10.3.29.10/24 brd +
- 2016-12-20 14:36:49,020 CsRoute.py add_table:38 Adding route table: 0 Table_eth0 to /etc/iproute2/rt_tables if not present
- 2016-12-20 14:36:49,020 CsHelper.py execute:184 Executing: ip rule show
- 2016-12-20 14:36:49,023 CsHelper.py execute:184 Executing: ip rule add fwmark 0 table Table_eth0
- 2016-12-20 14:36:49,025 CsRule.py addMark:37 Added fwmark rule for Table_eth0
- 2016-12-20 14:36:49,025 CsHelper.py execute:184 Executing: ip link show eth0 | grep 'state DOWN'
- 2016-12-20 14:36:49,029 CsHelper.py execute:184 Executing: arping -c 1 -I eth0 -A -U -s 10.3.29.10 None
- 2016-12-20 14:37:09,054 CsAddress.py inKernel:686 rpsfr is not present in the kernel
- 2016-12-20 14:37:09,054 CsRoute.py add_table:38 Adding route table: 0 Table_eth0 to /etc/iproute2/rt_tables if not present
- 2016-12-20 14:37:09,054 CsRoute.py add_route:50 Adding route: dev eth0 table: Table_eth0 network: 10.3.29.0/24 if not present
- 2016-12-20 14:37:09,055 CsHelper.py execute:184 Executing: ip route show dev eth0 table Table_eth0 10.3.29.0/24
- 2016-12-20 14:37:09,060 CsFile.py load:39 Reading file /etc/apache2/sites-enabled/vhost-10.3.29.10.conf
- 2016-12-20 14:37:09,061 CsFile.py search:124 Searching for <VirtualHost.*:80> and replacing with <VirtualHost 10.3.29.10:80>
- 2016-12-20 14:37:09,062 CsFile.py search:124 Searching for <VirtualHost.*:443> and replacing with <VirtualHost 10.3.29.10:443>
- 2016-12-20 14:37:09,063 CsFile.py search:124 Searching for Listen .*:80 and replacing with Listen 10.3.29.10:80
- 2016-12-20 14:37:09,064 CsFile.py search:124 Searching for Listen .*:443 and replacing with Listen 10.3.29.10:443
- 2016-12-20 14:37:09,066 CsFile.py search:124 Searching for NameVirtualHost .*:80 and replacing with NameVirtualHost 10.3.29.10:80
- 2016-12-20 14:37:09,067 CsFile.py search:124 Searching for ServerName.* and replacing with ServerName dhcpsrvr.nocser.net
- 2016-12-20 14:37:09,068 CsHelper.py execute:184 Executing: ps aux
- 2016-12-20 14:37:09,081 CsRoute.py defaultroute_exists:89 Checking if default ipv4 route is present
- 2016-12-20 14:37:09,081 CsHelper.py execute:184 Executing: ip -4 route list 0/0
- 2016-12-20 14:37:09,085 CsRoute.py defaultroute_exists:93 Default route found: default via 10.3.29.1 dev eth0
- 2016-12-20 14:37:09,085 configure.py main:938 Configuring vmdata
- 2016-12-20 14:37:09,085 merge.py load:60 Loading data bag type vmdata
- 2016-12-20 14:37:09,086 configure.py process:288 Processing metadata for 10.3.29.244
- 2016-12-20 14:37:09,107 configure.py process:288 Processing metadata for 10.3.29.190
- 2016-12-20 14:37:09,115 configure.py process:288 Processing metadata for 10.3.29.182
- 2016-12-20 14:37:09,123 configure.py process:288 Processing metadata for 10.3.29.81
- 2016-12-20 14:37:09,132 CsRedundant.py set:68 Router redundancy status is False
- 2016-12-20 14:37:09,132 CsHelper.py execute:184 Executing: service conntrackd stop
- 2016-12-20 14:37:09,145 CsHelper.py service:213 Service conntrackd stop
- 2016-12-20 14:37:09,145 CsHelper.py execute:184 Executing: service keepalived stop
- 2016-12-20 14:37:09,153 CsHelper.py service:213 Service keepalived stop
- 2016-12-20 14:37:09,153 CsHelper.py execute:184 Executing: mount
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement