Revision history [back]

click to hide/show revision 1
initial version

packstack --allineone not working

I am trying to setup open stack using packstack but getting errors.

[root@controller ~]# sudo packstack --gen-answer-file='date +"%d.%m.%y"'.conf ERROR:root:Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 959, in main initPluginsConfig() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 936, in initPluginsConfig plugin.initConfig(controller) File "/usr/lib/python2.7/site-packages/packstack/plugins/prescript_000.py", line 407, in initConfig "DEFAULT_VALUE": utils.get_localhost_ip(), File "/usr/lib/python2.7/site-packages/packstack/installer/utils/network.py", line 45, in get_localhost_ip raise NetworkError('Local IP address discovery failed. Please set ' NetworkError: Local IP address discovery failed. Please set a default gateway for your system.

packstack --allineone not working

I am trying to setup open stack using packstack but getting errors.

[root@controller ~]# sudo packstack --gen-answer-file='date +"%d.%m.%y"'.conf ERROR:root:Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 959, in main initPluginsConfig() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 936, in initPluginsConfig plugin.initConfig(controller) File "/usr/lib/python2.7/site-packages/packstack/plugins/prescript_000.py", line 407, in initConfig "DEFAULT_VALUE": utils.get_localhost_ip(), File "/usr/lib/python2.7/site-packages/packstack/installer/utils/network.py", line 45, in get_localhost_ip raise NetworkError('Local IP address discovery failed. Please set ' NetworkError: Local IP address discovery failed. Please set a default gateway for your system.

[root@controller ~]# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 8  bytes 790 (790.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 790 (790.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

venet0: flags=211<UP,BROADCAST,POINTOPOINT,RUNNING,NOARP>  mtu 1500
        inet 127.0.0.1  netmask 255.255.255.255  broadcast 0.0.0.0  destination 127.0.0.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 0  (UNSPEC)
        RX packets 125019  bytes 156201168 (148.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 69469  bytes 4512373 (4.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

venet0:0: flags=211<UP,BROADCAST,POINTOPOINT,RUNNING,NOARP>  mtu 1500
        inet 54.36.39.24  netmask 255.255.255.255  broadcast 54.36.39.24  destination 54.36.39.24
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 0  (UNSPEC)

[root@controller ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 venet0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 venet0

packstack --allineone not working

I am trying to setup open stack using packstack but getting errors.

 [root@controller ~]# sudo packstack
  packstack --gen-answer-file='date +"%d.%m.%y"'.conf +"%d.%m.%y"'.conf
ERROR:root:Traceback (most recent call last):   File
  "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py",
  last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 959, in main
      initPluginsConfig() initPluginsConfig()
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py",
  "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 936, in initPluginsConfig
      plugin.initConfig(controller)   File
  "/usr/lib/python2.7/site-packages/packstack/plugins/prescript_000.py",
  plugin.initConfig(controller)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/prescript_000.py", line 407, in initConfig
     "DEFAULT_VALUE": utils.get_localhost_ip(),   File
  "/usr/lib/python2.7/site-packages/packstack/installer/utils/network.py",
  utils.get_localhost_ip(),
  File "/usr/lib/python2.7/site-packages/packstack/installer/utils/network.py", line 45, in get_localhost_ip
     raise NetworkError('Local IP address discovery failed. Please set '
 NetworkError: Local IP address
  address discovery failed. Please set a default
  default gateway for your system.

system.


ERROR : Local IP address discovery failed. Please set a default gateway for your system.



[root@controller ~]# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 8  bytes 790 (790.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 790 (790.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

venet0: flags=211<UP,BROADCAST,POINTOPOINT,RUNNING,NOARP>  mtu 1500
        inet 127.0.0.1  netmask 255.255.255.255  broadcast 0.0.0.0  destination 127.0.0.1
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 0  (UNSPEC)
        RX packets 125019  bytes 156201168 (148.9 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 69469  bytes 4512373 (4.3 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

venet0:0: flags=211<UP,BROADCAST,POINTOPOINT,RUNNING,NOARP>  mtu 1500
        inet 54.36.39.24  netmask 255.255.255.255  broadcast 54.36.39.24  destination 54.36.39.24
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 0  (UNSPEC)

[root@controller ~]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 venet0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 venet0