Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@r-106-VM:~# cat /var/cache/cloud/ip_associations.json
- {"ip_address":[{"public_ip":"10.1.4.43","source_nat":true,"add":true,"one_to_one_nat":false,"first_i_p":false,"gateway":"10.1.4.1","netmask":"255.255.255.0","vif_mac_address":"06:19:f8:00:33:72","new_nic":false,"nw_type":"Public"}],"type":"ips"}root@r-106-VM:~# ^C
- root@r-106-VM:~# tail -f /var/log/cloud.log
- 2017-06-16 14:36:22,770 merge.py load:60 Loading data bag type ips
- 2017-06-16 14:36:22,771 merge.py process:100 Command of type ips received
- 2017-06-16 14:36:22,771 merge.py save:71 Writing data bag type ips
- 2017-06-16 14:36:22,771 merge.py save:72 {'ethNone': [{'broadcast': '10.1.4.255', u'one_to_one_nat': False, 'network': '10.1.4.0/24', u'first_i_p': False, u'netmask': u'255.255.255.0', u'gateway': u'10.1.4.1', u'public_ip': u'10.1.4.43', u'add': True, u'nw_type': u'public', 'device': 'ethNone', u'vif_mac_address': u'06:19:f8:00:33:72', 'cidr': '10.1.4.43/24', u'source_nat': True, u'new_nic': False, 'size': '24'}], u'id': u'ips', u'eth1': [], u'eth0': [{u'public_ip': u'169.254.1.227', u'one_to_one_nat': False, u'nic_dev_id': u'0', 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'eth0', u'cidr': u'169.254.1.227/16', u'gateway': u'None', u'size': u'16'}]}
- 2017-06-16 14:36:22,772 merge.py load:60 Loading data bag type ips
- 2017-06-16 14:36:22,772 merge.py load:60 Loading data bag type cmdline
- 2017-06-16 14:36:22,772 configure.py main:929 Configuring ip addresses
- 2017-06-16 14:36:22,772 configure.py main:930 BEFORE CONFIG ADDRESS COMPARE()
- 2017-06-16 14:36:22,773 CsAddress.py compare:34 INSIDE CsAddress compare for DEVICE: eth1
- 2017-06-16 14:36:22,773 CsAddress.py __init__:257 INSIDE CsIP init for DEVICE: eth1
- 2017-06-16 14:36:22,773 CsHelper.py execute:184 Executing: ip addr show dev eth1
- 2017-06-16 14:36:22,776 CsAddress.py __init__:266 INSIDE CsIP init FINISHED for DEVICE: eth1
- 2017-06-16 14:36:22,776 CsAddress.py compare:628 INSIDE CsIP compare
- 2017-06-16 14:36:22,776 CsAddress.py compare:637 INSIDE CsIP compare 2
- 2017-06-16 14:36:22,776 CsAddress.py compare:645 INSIDE CsIP compare 3
- 2017-06-16 14:36:22,776 CsAddress.py compare:656 INSIDE CsIP compare FINISHED
- 2017-06-16 14:36:22,776 CsAddress.py compare:37 INSIDE CsAddress compare FINISHED for DEVICE: eth1
- 2017-06-16 14:36:22,776 CsAddress.py compare:34 INSIDE CsAddress compare for DEVICE: eth0
- 2017-06-16 14:36:22,776 CsAddress.py __init__:257 INSIDE CsIP init for DEVICE: eth0
- 2017-06-16 14:36:22,776 CsHelper.py execute:184 Executing: ip addr show dev eth0
- 2017-06-16 14:36:22,779 CsAddress.py __init__:266 INSIDE CsIP init FINISHED for DEVICE: eth0
- 2017-06-16 14:36:22,779 CsAddress.py compare:628 INSIDE CsIP compare
- 2017-06-16 14:36:22,779 CsAddress.py compare:637 INSIDE CsIP compare 2
- 2017-06-16 14:36:22,779 CsAddress.py compare:645 INSIDE CsIP compare 3
- 2017-06-16 14:36:22,779 CsAddress.py compare:652 The IP address in '{u'public_ip': u'169.254.1.227', u'one_to_one_nat': False, u'nic_dev_id': u'0', 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'eth0', u'cidr': u'169.254.1.227/16', u'gateway': u'None', u'size': u'16'}' will be configured
- 2017-06-16 14:36:22,779 CsAddress.py compare:656 INSIDE CsIP compare FINISHED
- 2017-06-16 14:36:22,779 CsAddress.py compare:37 INSIDE CsAddress compare FINISHED for DEVICE: eth0
- 2017-06-16 14:36:22,779 configure.py main:932 BEFORE CONFIG ADDRESS PROCESS()
- 2017-06-16 14:36:22,779 CsAddress.py __init__:257 INSIDE CsIP init for DEVICE: ethNone
- 2017-06-16 14:36:22,779 configure.py main:1027 Exception while configuring router
- Traceback (most recent call last):
- File "/opt/cloud/bin/configure.py", line 933, in main
- config.address().process()
- File "/opt/cloud/bin/cs/CsAddress.py", line 105, in process
- ip = CsIP(dev, self.config)
- File "/opt/cloud/bin/cs/CsAddress.py", line 259, in __init__
- self.dnum = hex(int(dev[3:]))
- ValueError: invalid literal for int() with base 10: 'None'
Advertisement
Add Comment
Please, Sign In to add comment