Revision history [back]

click to hide/show revision 1
initial version

devstack exit with some fault at executing install_prereqs.sh in stack.sh

 - List item
     devstack exit with some fault at executing install_prereqs.sh in stack.sh

    2018-07-01 05:51:08.600 | Get:4 http://cn.archive.ubuntu.com trusty-updates/main Sources [417 kB]
    2018-07-01 05:51:09.818 | Get:5 http://security.ubuntu.com trusty-security/restricted Sources [4931 B]
    2018-07-01 05:51:10.351 | Get:6 http://security.ubuntu.com trusty-security/universe Sources [73.7 kB]
    2018-07-01 05:51:12.123 | Get:7 http://security.ubuntu.com trusty-security/multiverse Sources [3201 B]
    2018-07-01 05:51:12.430 | Get:8 http://security.ubuntu.com trusty-security/main amd64 Packages [739 kB]
    2018-07-01 05:51:15.031 | Get:9 http://cn.archive.ubuntu.com trusty-updates/restricted Sources [6322 B]
    2018-07-01 05:51:16.623 | Get:10 http://cn.archive.ubuntu.com trusty-updates/universe Sources [201 kB]
    2018-07-01 05:51:19.498 | Get:11 http://security.ubuntu.com trusty-security/restricted amd64 Packages [14.2 kB]
    2018-07-01 05:51:19.882 | Get:12 http://security.ubuntu.com trusty-security/universe amd64 Packages [230 kB]
    2018-07-01 05:51:22.046 | Get:13 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4795 B]
    2018-07-01 05:51:22.345 | Get:14 http://security.ubuntu.com trusty-security/main i386 Packages [688 kB]
    2018-07-01 05:51:31.780 | Get:15 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.9 kB]
    2018-07-01 05:51:32.646 | Get:16 http://security.ubuntu.com trusty-security/universe i386 Packages [220 kB]
    2018-07-01 05:51:35.587 | Get:17 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4951 B]
    2018-07-01 05:51:35.983 | Hit http://security.ubuntu.com trusty-security/main Translation-en
    2018-07-01 05:51:36.335 | Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
    2018-07-01 05:51:36.644 | Hit http://security.ubuntu.com trusty-security/restricted Translation-en
    2018-07-01 05:51:36.955 | Hit http://security.ubuntu.com trusty-security/universe Translation-en
    2018-07-01 05:51:50.561 | Get:18 http://cn.archive.ubuntu.com trusty-updates/multiverse Sources [7364 B]
    2018-07-01 05:51:50.919 | Get:19 http://cn.archive.ubuntu.com trusty-updates/main amd64 Packages [1082 kB]
    2018-07-01 05:51:58.731 | Get:20 http://cn.archive.ubuntu.com trusty-updates/restricted amd64 Packages [17.2 kB]
    2018-07-01 05:51:59.163 | Get:21 http://cn.archive.ubuntu.com trusty-updates/universe amd64 Packages [455 kB]
    2018-07-01 05:52:06.047 | Get:22 http://cn.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [14.6 kB]
    2018-07-01 05:52:08.845 | Get:23 http://cn.archive.ubuntu.com trusty-updates/main i386 Packages [1024 kB]
    2018-07-01 05:56:04.488 | ++ functions-common:apt_get_update:1075     :   die 1075 'Failed to update apt repos, we'\''re dead now
    '
    2018-07-01 05:56:04.500 | ++ functions-common:die:186                 :   local exitcode=0
    2018-07-01 05:56:04.515 | [Call Trace]
    2018-07-01 05:56:04.515 | ./stack.sh:732:source
    2018-07-01 05:56:04.515 | /home/stack/devstack/tools/install_prereqs.sh:72:install_package
    2018-07-01 05:56:04.515 | /home/stack/devstack/functions-common:1285:update_package_repo
    2018-07-01 05:56:04.515 | /home/stack/devstack/functions-common:1266:apt_get_update
    2018-07-01 05:56:04.516 | /home/stack/devstack/functions-common:1075:die
    2018-07-01 05:56:04.599 | [ERROR] /home/stack/devstack/functions-common:1075 Failed to update apt repos, we're dead now
    2018-07-01 05:56:05.709 | Error on exit`enter code here`
    2018-07-01 05:58:15.262 | Get:24 http://cn.archive.ubuntu.com trusty-updates/main i386 Packages [1024 kB]
    2018-07-01 05:59:00.868 | Get:25 http://cn.archive.ubuntu.com trusty-updates/restricted i386 Packages [17.1 kB]
    2018-07-01 05:59:01.777 | Get:26 http://cn.archive.ubuntu.com trusty-updates/universe i386 Packages [447 kB]
    2018-07-01 05:59:06.244 | Get:27 http://cn.archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.0 kB]
    2018-07-01 05:59:06.696 | Hit http://cn.archive.ubuntu.com trusty-updates/main Translation-en
    2018-07-01 05:59:07.003 | Hit http://cn.archive.ubuntu.com trusty-updates/multiverse Translation-en
    2018-07-01 05:59:07.313 | Hit http://cn.archive.ubuntu.com trusty-updates/restricted Translation-en
    2018-07-01 05:59:07.628 | Hit http://cn.archive.ubuntu.com trusty-updates/universe Translation-en

I'm wondering if we can skip the operation before install_prereqs.sh in stack.sh, as you know it takes long time to redo the operations. and if yes, is that a good idea to add script to optimize the installation in case exit with fault to devstack repository.