Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Devstack installation fails on Debian 8

Below the output of stack.sh

++functions-common:is_service_enabled:2155  set +o
++functions-common:is_service_enabled:2155  grep xtrace
+functions-common:is_service_enabled:2155  xtrace='set -o xtrace'
+functions-common:is_service_enabled:2156  set +o xtrace
+functions-common:is_service_enabled:2184  return 1
+lib/keystone:start_keystone:575           restart_service memcached
+functions-common:restart_service:2393     '[' -x /bin/systemctl ']'
+functions-common:restart_service:2394     sudo /bin/systemctl restart memcached
+./stack.sh:main:1125                      bootstrap_keystone
+lib/keystone:bootstrap_keystone:604       /usr/local/bin/keystone-manage bootstrap --bootstrap-username admin --bootstrap-password secret --bootstrap-project-name admin --bootstrap-role-name admin --bootstrap-service-name keystone --bootstrap-region-id RegionOne --bootstrap-admin-url http://192.168.3.20/identity --bootstrap-public-url http://192.168.3.20/identity
DEBUG keystone.notifications [-] Callback: `keystone.assignment.core.Manager._delete_domain_assignments` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.identity.core.Manager._unset_default_project` subscribed to event `identity.project.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.identity.core.Manager._domain_deleted` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._trust_callback` subscribed to event `identity.OS-TRUST:trust.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._consumer_callback` subscribed to event `identity.OS-OAUTH1:consumer.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._project_callback` subscribed to event `identity.project.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.user.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._project_callback` subscribed to event `identity.project.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._domain_callback` subscribed to event `identity.domain.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.invalidate_user_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.trust.core.Manager._on_user_delete` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._trust_deleted_event_callback` subscribed to event `identity.OS-TRUST:trust.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_domain_tokens_callback` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.user.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_domain_tokens_callback` subscribed to event `identity.domain.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_project_tokens_callback` subscribed to event `identity.project.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.invalidate_user_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_project_tokens_callback` subscribed to event `identity.invalidate_user_project_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_oauth_consumer_tokens_callback` subscribed to event `identity.invalidate_user_consumer_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG oslo_db.sqlalchemy.engines [-] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION {{(pid=6598) _check_effective_sql_mode /usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py:285}}
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created domain default
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created project admin
DEBUG passlib.handlers.bcrypt [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] detected 'bcrypt' backend, version u'3.1.3' {{(pid=6598) _load_backend_mixin /usr/local/lib/python2.7/dist-packages/passlib/handlers/bcrypt.py:564}}
DEBUG passlib.handlers.bcrypt [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] 'bcrypt' backend lacks $2$ support, enabling workaround {{(pid=6598) _finalize_backend_mixin /usr/local/lib/python2.7/dist-packages/passlib/handlers/bcrypt.py:379}}
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created user admin
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created role admin
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Granted admin on admin to user admin.
WARNING py.warnings [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] /usr/local/lib/python2.7/dist-packages/pycadf/identifier.py:80: UserWarning: Invalid uuid: RegionOne. To ensure interoperability, identifiers should be a valid uuid.
  'identifiers should be a valid uuid.' % (value)))

INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created region RegionOne
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created admin endpoint http://192.168.3.20/identity
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created public endpoint http://192.168.3.20/identity
INFO keystone.assignment.core [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Creating the default role 9fe2ff9ee4384b1894a90878d3e92bab because it does not exist.
+./stack.sh:main:1128                      create_keystone_accounts
+lib/keystone:create_keystone_accounts:329  local admin_project
++lib/keystone:create_keystone_accounts:330  oscwrap project show admin -f value -c id
++functions-common:oscwrap:2530             local out
++functions-common:oscwrap:2531             local rc
++functions-common:oscwrap:2532             local start
++functions-common:oscwrap:2533             local end
+++functions-common:oscwrap:2537             date +%s%3N
++functions-common:oscwrap:2537             start=1502286459648
+++functions-common:oscwrap:2538             command openstack project show admin -f value -c id
+++functions-common:oscwrap:2538             openstack project show admin -f value -c id
Failed to discover available identity versions when contacting http://192.168.3.20/identity. Attempting to parse version from URL.
Could not determine a suitable URL for the plugin
++functions-common:oscwrap:2538             out=
++functions-common:oscwrap:2539             rc=1
+++functions-common:oscwrap:2540             date +%s%3N
++functions-common:oscwrap:2540             end=1502286461271
++functions-common:oscwrap:2541             echo 1623
++functions-common:oscwrap:2543             echo ''
++functions-common:oscwrap:2544             return 1
+lib/keystone:create_keystone_accounts:330  admin_project=
+lib/keystone:create_keystone_accounts:1   exit_trap
+./stack.sh:exit_trap:521                  local r=1
++./stack.sh:exit_trap:522                  jobs -p
+./stack.sh:exit_trap:522                  jobs=
+./stack.sh:exit_trap:525                  [[ -n '' ]]
+./stack.sh:exit_trap:531                  '[' -f /tmp/tmp.2npKvucQKG ']'
+./stack.sh:exit_trap:532                  rm /tmp/tmp.2npKvucQKG
+./stack.sh:exit_trap:536                  kill_spinner
+./stack.sh:kill_spinner:417               '[' '!' -z '' ']'
+./stack.sh:exit_trap:538                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:539                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:540                  generate-subunit 1502286271 190 fail
+./stack.sh:exit_trap:541                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:544                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-08-09-134741.txt for details
+./stack.sh:exit_trap:550                  exit 1

Devstack installation fails on Debian 8

Below the output of stack.sh

++functions-common:is_service_enabled:2155  set +o
++functions-common:is_service_enabled:2155  grep xtrace
+functions-common:is_service_enabled:2155  xtrace='set -o xtrace'
+functions-common:is_service_enabled:2156  set +o xtrace
+functions-common:is_service_enabled:2184  return 1
+lib/keystone:start_keystone:575           restart_service memcached
+functions-common:restart_service:2393     '[' -x /bin/systemctl ']'
+functions-common:restart_service:2394     sudo /bin/systemctl restart memcached
+./stack.sh:main:1125                      bootstrap_keystone
+lib/keystone:bootstrap_keystone:604       /usr/local/bin/keystone-manage bootstrap --bootstrap-username admin --bootstrap-password secret --bootstrap-project-name admin --bootstrap-role-name admin --bootstrap-service-name keystone --bootstrap-region-id RegionOne --bootstrap-admin-url http://192.168.3.20/identity --bootstrap-public-url http://192.168.3.20/identity
DEBUG keystone.notifications [-] Callback: `keystone.assignment.core.Manager._delete_domain_assignments` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.identity.core.Manager._unset_default_project` subscribed to event `identity.project.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.identity.core.Manager._domain_deleted` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._trust_callback` subscribed to event `identity.OS-TRUST:trust.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._consumer_callback` subscribed to event `identity.OS-OAUTH1:consumer.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._project_callback` subscribed to event `identity.project.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.user.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._project_callback` subscribed to event `identity.project.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._domain_callback` subscribed to event `identity.domain.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.invalidate_user_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.trust.core.Manager._on_user_delete` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._trust_deleted_event_callback` subscribed to event `identity.OS-TRUST:trust.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_domain_tokens_callback` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.user.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_domain_tokens_callback` subscribed to event `identity.domain.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_project_tokens_callback` subscribed to event `identity.project.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.invalidate_user_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_project_tokens_callback` subscribed to event `identity.invalidate_user_project_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_oauth_consumer_tokens_callback` subscribed to event `identity.invalidate_user_consumer_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG oslo_db.sqlalchemy.engines [-] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION {{(pid=6598) _check_effective_sql_mode /usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py:285}}
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created domain default
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created project admin
DEBUG passlib.handlers.bcrypt [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] detected 'bcrypt' backend, version u'3.1.3' {{(pid=6598) _load_backend_mixin /usr/local/lib/python2.7/dist-packages/passlib/handlers/bcrypt.py:564}}
DEBUG passlib.handlers.bcrypt [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] 'bcrypt' backend lacks $2$ support, enabling workaround {{(pid=6598) _finalize_backend_mixin /usr/local/lib/python2.7/dist-packages/passlib/handlers/bcrypt.py:379}}
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created user admin
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created role admin
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Granted admin on admin to user admin.
WARNING py.warnings [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] /usr/local/lib/python2.7/dist-packages/pycadf/identifier.py:80: UserWarning: Invalid uuid: RegionOne. To ensure interoperability, identifiers should be a valid uuid.
  'identifiers should be a valid uuid.' % (value)))

INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created region RegionOne
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created admin endpoint http://192.168.3.20/identity
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created public endpoint http://192.168.3.20/identity
INFO keystone.assignment.core [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Creating the default role 9fe2ff9ee4384b1894a90878d3e92bab because it does not exist.
+./stack.sh:main:1128                      create_keystone_accounts
+lib/keystone:create_keystone_accounts:329  local admin_project
++lib/keystone:create_keystone_accounts:330  oscwrap project show admin -f value -c id
++functions-common:oscwrap:2530             local out
++functions-common:oscwrap:2531             local rc
++functions-common:oscwrap:2532             local start
++functions-common:oscwrap:2533             local end
+++functions-common:oscwrap:2537             date +%s%3N
++functions-common:oscwrap:2537             start=1502286459648
+++functions-common:oscwrap:2538             command openstack project show admin -f value -c id
+++functions-common:oscwrap:2538             openstack project show admin -f value -c id
Failed to discover available identity versions when contacting http://192.168.3.20/identity. Attempting to parse version from URL.
Could not determine a suitable URL for the plugin
++functions-common:oscwrap:2538             out=
++functions-common:oscwrap:2539             rc=1
+++functions-common:oscwrap:2540             date +%s%3N
++functions-common:oscwrap:2540             end=1502286461271
++functions-common:oscwrap:2541             echo 1623
++functions-common:oscwrap:2543             echo ''
++functions-common:oscwrap:2544             return 1
+lib/keystone:create_keystone_accounts:330  admin_project=
+lib/keystone:create_keystone_accounts:1   exit_trap
+./stack.sh:exit_trap:521                  local r=1
++./stack.sh:exit_trap:522                  jobs -p
+./stack.sh:exit_trap:522                  jobs=
+./stack.sh:exit_trap:525                  [[ -n '' ]]
+./stack.sh:exit_trap:531                  '[' -f /tmp/tmp.2npKvucQKG ']'
+./stack.sh:exit_trap:532                  rm /tmp/tmp.2npKvucQKG
+./stack.sh:exit_trap:536                  kill_spinner
+./stack.sh:kill_spinner:417               '[' '!' -z '' ']'
+./stack.sh:exit_trap:538                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:539                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:540                  generate-subunit 1502286271 190 fail
+./stack.sh:exit_trap:541                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:544                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-08-09-134741.txt for details
+./stack.sh:exit_trap:550                  exit 1

ifconfig output: (I am using wireless networking to connect to the internet)

eth0      Link encap:Ethernet  HWaddr fc:aa:14:e9:fa:f8  
          inet addr:192.168.255.250  Bcast:192.168.255.250  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0:avahi Link encap:Ethernet  HWaddr fc:aa:14:e9:fa:f8  
          inet addr:169.254.13.78  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:877 errors:0 dropped:0 overruns:0 frame:0
          TX packets:877 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:47410 (46.2 KiB)  TX bytes:47410 (46.2 KiB)

wlan0     Link encap:Ethernet  HWaddr f4:06:69:38:76:5b  
          inet addr:192.168.3.20  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13477 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5834226 (5.5 MiB)  TX bytes:1257697 (1.1 MiB)

systemctl status apache2:

● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─forking.conf
   Active: inactive (dead) since Fri 2017-08-11 10:02:03 CEST; 1min 52s ago
  Process: 18597 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
  Process: 18581 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)

Devstack installation fails on Debian 8

Below the output of stack.sh

++functions-common:is_service_enabled:2155  set +o
++functions-common:is_service_enabled:2155  grep xtrace
+functions-common:is_service_enabled:2155  xtrace='set -o xtrace'
+functions-common:is_service_enabled:2156  set +o xtrace
+functions-common:is_service_enabled:2184  return 1
+lib/keystone:start_keystone:575           restart_service memcached
+functions-common:restart_service:2393     '[' -x /bin/systemctl ']'
+functions-common:restart_service:2394     sudo /bin/systemctl restart memcached
+./stack.sh:main:1125                      bootstrap_keystone
+lib/keystone:bootstrap_keystone:604       /usr/local/bin/keystone-manage bootstrap --bootstrap-username admin --bootstrap-password secret --bootstrap-project-name admin --bootstrap-role-name admin --bootstrap-service-name keystone --bootstrap-region-id RegionOne --bootstrap-admin-url http://192.168.3.20/identity --bootstrap-public-url http://192.168.3.20/identity
DEBUG keystone.notifications [-] Callback: `keystone.assignment.core.Manager._delete_domain_assignments` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.identity.core.Manager._unset_default_project` subscribed to event `identity.project.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.identity.core.Manager._domain_deleted` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._trust_callback` subscribed to event `identity.OS-TRUST:trust.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._consumer_callback` subscribed to event `identity.OS-OAUTH1:consumer.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._project_callback` subscribed to event `identity.project.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.user.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._project_callback` subscribed to event `identity.project.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._domain_callback` subscribed to event `identity.domain.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.revoke.core.Manager._user_callback` subscribed to event `identity.invalidate_user_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.trust.core.Manager._on_user_delete` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._trust_deleted_event_callback` subscribed to event `identity.OS-TRUST:trust.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.user.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_domain_tokens_callback` subscribed to event `identity.domain.deleted`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.user.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_domain_tokens_callback` subscribed to event `identity.domain.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_project_tokens_callback` subscribed to event `identity.project.disabled`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_tokens_callback` subscribed to event `identity.invalidate_user_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_project_tokens_callback` subscribed to event `identity.invalidate_user_project_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG keystone.notifications [-] Callback: `keystone.token.provider.Manager._delete_user_oauth_consumer_tokens_callback` subscribed to event `identity.invalidate_user_consumer_tokens.internal`. {{(pid=6598) register_event_callback /opt/stack/keystone/keystone/notifications.py:235}}
DEBUG oslo_db.sqlalchemy.engines [-] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION {{(pid=6598) _check_effective_sql_mode /usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py:285}}
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created domain default
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created project admin
DEBUG passlib.handlers.bcrypt [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] detected 'bcrypt' backend, version u'3.1.3' {{(pid=6598) _load_backend_mixin /usr/local/lib/python2.7/dist-packages/passlib/handlers/bcrypt.py:564}}
DEBUG passlib.handlers.bcrypt [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] 'bcrypt' backend lacks $2$ support, enabling workaround {{(pid=6598) _finalize_backend_mixin /usr/local/lib/python2.7/dist-packages/passlib/handlers/bcrypt.py:379}}
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created user admin
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created role admin
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Granted admin on admin to user admin.
WARNING py.warnings [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] /usr/local/lib/python2.7/dist-packages/pycadf/identifier.py:80: UserWarning: Invalid uuid: RegionOne. To ensure interoperability, identifiers should be a valid uuid.
  'identifiers should be a valid uuid.' % (value)))

INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created region RegionOne
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created admin endpoint http://192.168.3.20/identity
INFO keystone.cmd.cli [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Created public endpoint http://192.168.3.20/identity
INFO keystone.assignment.core [None req-acc4b0da-b1a3-4ac5-be49-3532fd23be20 None None] Creating the default role 9fe2ff9ee4384b1894a90878d3e92bab because it does not exist.
+./stack.sh:main:1128                      create_keystone_accounts
+lib/keystone:create_keystone_accounts:329  local admin_project
++lib/keystone:create_keystone_accounts:330  oscwrap project show admin -f value -c id
++functions-common:oscwrap:2530             local out
++functions-common:oscwrap:2531             local rc
++functions-common:oscwrap:2532             local start
++functions-common:oscwrap:2533             local end
+++functions-common:oscwrap:2537             date +%s%3N
++functions-common:oscwrap:2537             start=1502286459648
+++functions-common:oscwrap:2538             command openstack project show admin -f value -c id
+++functions-common:oscwrap:2538             openstack project show admin -f value -c id
Failed to discover available identity versions when contacting http://192.168.3.20/identity. Attempting to parse version from URL.
Could not determine a suitable URL for the plugin
++functions-common:oscwrap:2538             out=
++functions-common:oscwrap:2539             rc=1
+++functions-common:oscwrap:2540             date +%s%3N
++functions-common:oscwrap:2540             end=1502286461271
++functions-common:oscwrap:2541             echo 1623
++functions-common:oscwrap:2543             echo ''
++functions-common:oscwrap:2544             return 1
+lib/keystone:create_keystone_accounts:330  admin_project=
+lib/keystone:create_keystone_accounts:1   exit_trap
+./stack.sh:exit_trap:521                  local r=1
++./stack.sh:exit_trap:522                  jobs -p
+./stack.sh:exit_trap:522                  jobs=
+./stack.sh:exit_trap:525                  [[ -n '' ]]
+./stack.sh:exit_trap:531                  '[' -f /tmp/tmp.2npKvucQKG ']'
+./stack.sh:exit_trap:532                  rm /tmp/tmp.2npKvucQKG
+./stack.sh:exit_trap:536                  kill_spinner
+./stack.sh:kill_spinner:417               '[' '!' -z '' ']'
+./stack.sh:exit_trap:538                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:539                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:540                  generate-subunit 1502286271 190 fail
+./stack.sh:exit_trap:541                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:544                  /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-08-09-134741.txt for details
+./stack.sh:exit_trap:550                  exit 1

ifconfig output: (I am using wireless networking to connect to the internet)

eth0      Link encap:Ethernet  HWaddr fc:aa:14:e9:fa:f8  
          inet addr:192.168.255.250  Bcast:192.168.255.250  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0:avahi Link encap:Ethernet  HWaddr fc:aa:14:e9:fa:f8  
          inet addr:169.254.13.78  Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:877 errors:0 dropped:0 overruns:0 frame:0
          TX packets:877 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:47410 (46.2 KiB)  TX bytes:47410 (46.2 KiB)

wlan0     Link encap:Ethernet  HWaddr f4:06:69:38:76:5b  
          inet addr:192.168.3.20  Bcast:192.168.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13477 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11154 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5834226 (5.5 MiB)  TX bytes:1257697 (1.1 MiB)

systemctl status apache2:

● apache2.service - LSB: Apache2 web server
   Loaded: loaded (/etc/init.d/apache2)
  Drop-In: /lib/systemd/system/apache2.service.d
           └─forking.conf
   Active: inactive (dead) since Fri 2017-08-11 10:02:03 CEST; 1min 52s ago
  Process: 18597 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
  Process: 18581 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)

local.conf file

[[local|localrc]] ADMIN_PASSWORD=secret DATABASE_PASSWORD=$ADMIN_PASSWORD RABBIT_PASSWORD=$ADMIN_PASSWORD SERVICE_PASSWORD=$ADMIN_PASSWORD

CINDER_BRANCH=milestone-proposed GLANCE_BRANCH=milestone-proposed KEYSTONE_BRANCH=milestone-proposed KEYSTONECLIENT_BRANCH=milestone-proposed NOVA_BRANCH=milestone-proposed NOVACLIENT_BRANCH=milestone-proposed NEUTRON_BRANCH=milestone-proposed SWIFT_BRANCH=milestone-proposed