Guest User

Untitled

a guest
Jun 16th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. root@r-106-VM:~# cat /var/cache/cloud/ip_associations.json
  2. {"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
  3.  
  4. root@r-106-VM:~# tail -f /var/log/cloud.log
  5.  
  6. 2017-06-16 14:36:22,770 merge.py load:60 Loading data bag type ips
  7. 2017-06-16 14:36:22,771 merge.py process:100 Command of type ips received
  8. 2017-06-16 14:36:22,771 merge.py save:71 Writing data bag type ips
  9. 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'}]}
  10. 2017-06-16 14:36:22,772 merge.py load:60 Loading data bag type ips
  11. 2017-06-16 14:36:22,772 merge.py load:60 Loading data bag type cmdline
  12. 2017-06-16 14:36:22,772 configure.py main:929 Configuring ip addresses
  13. 2017-06-16 14:36:22,772 configure.py main:930 BEFORE CONFIG ADDRESS COMPARE()
  14. 2017-06-16 14:36:22,773 CsAddress.py compare:34 INSIDE CsAddress compare for DEVICE: eth1
  15. 2017-06-16 14:36:22,773 CsAddress.py __init__:257 INSIDE CsIP init for DEVICE: eth1
  16. 2017-06-16 14:36:22,773 CsHelper.py execute:184 Executing: ip addr show dev eth1
  17. 2017-06-16 14:36:22,776 CsAddress.py __init__:266 INSIDE CsIP init FINISHED for DEVICE: eth1
  18. 2017-06-16 14:36:22,776 CsAddress.py compare:628 INSIDE CsIP compare
  19. 2017-06-16 14:36:22,776 CsAddress.py compare:637 INSIDE CsIP compare 2
  20. 2017-06-16 14:36:22,776 CsAddress.py compare:645 INSIDE CsIP compare 3
  21. 2017-06-16 14:36:22,776 CsAddress.py compare:656 INSIDE CsIP compare FINISHED
  22. 2017-06-16 14:36:22,776 CsAddress.py compare:37 INSIDE CsAddress compare FINISHED for DEVICE: eth1
  23. 2017-06-16 14:36:22,776 CsAddress.py compare:34 INSIDE CsAddress compare for DEVICE: eth0
  24. 2017-06-16 14:36:22,776 CsAddress.py __init__:257 INSIDE CsIP init for DEVICE: eth0
  25. 2017-06-16 14:36:22,776 CsHelper.py execute:184 Executing: ip addr show dev eth0
  26. 2017-06-16 14:36:22,779 CsAddress.py __init__:266 INSIDE CsIP init FINISHED for DEVICE: eth0
  27. 2017-06-16 14:36:22,779 CsAddress.py compare:628 INSIDE CsIP compare
  28. 2017-06-16 14:36:22,779 CsAddress.py compare:637 INSIDE CsIP compare 2
  29. 2017-06-16 14:36:22,779 CsAddress.py compare:645 INSIDE CsIP compare 3
  30. 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
  31. 2017-06-16 14:36:22,779 CsAddress.py compare:656 INSIDE CsIP compare FINISHED
  32. 2017-06-16 14:36:22,779 CsAddress.py compare:37 INSIDE CsAddress compare FINISHED for DEVICE: eth0
  33. 2017-06-16 14:36:22,779 configure.py main:932 BEFORE CONFIG ADDRESS PROCESS()
  34. 2017-06-16 14:36:22,779 CsAddress.py __init__:257 INSIDE CsIP init for DEVICE: ethNone
  35. 2017-06-16 14:36:22,779 configure.py main:1027 Exception while configuring router
  36. Traceback (most recent call last):
  37. File "/opt/cloud/bin/configure.py", line 933, in main
  38. config.address().process()
  39. File "/opt/cloud/bin/cs/CsAddress.py", line 105, in process
  40. ip = CsIP(dev, self.config)
  41. File "/opt/cloud/bin/cs/CsAddress.py", line 259, in __init__
  42. self.dnum = hex(int(dev[3:]))
  43. ValueError: invalid literal for int() with base 10: 'None'
Advertisement
Add Comment
Please, Sign In to add comment