← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1860021] Re: nova-live-migration fails 100% with "mysql: command not found" on subnode

 

** Also affects: devstack
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1860021

Title:
  nova-live-migration fails 100% with "mysql: command not found" on
  subnode

Status in devstack:
  In Progress
Status in OpenStack Compute (nova):
  New

Bug description:
  Since [1] nova-live-migration failures can be seen in devstack-
  subnodes-early.txt.gz like

   + ./stack.sh:main:1158                     :   is_glance_enabled
   + lib/glance:is_glance_enabled:90          :   [[ , =~ ,glance ]]
   + lib/glance:is_glance_enabled:91          :   [[ ,c-bak,c-vol,dstat,g-api,n-cpu,peakmem_tracker,placement-client,q-agt =~ ,g- ]]
   + lib/glance:is_glance_enabled:91          :   return 0
   + ./stack.sh:main:1159                     :   echo_summary 'Configuring Glance'
   + ./stack.sh:echo_summary:452              :   [[ -t 3 ]]
   + ./stack.sh:echo_summary:458              :   echo -e Configuring Glance
   + ./stack.sh:main:1160                     :   init_glance
   + lib/glance:init_glance:276               :   rm -rf /opt/stack/data/glance/images
   + lib/glance:init_glance:277               :   mkdir -p /opt/stack/data/glance/images
   + lib/glance:init_glance:280               :   recreate_database glance
   + lib/database:recreate_database:110       :   local db=glance
   + lib/database:recreate_database:111       :   recreate_database_mysql glance
   + lib/databases/mysql:recreate_database_mysql:63 :   local db=glance
   + lib/databases/mysql:recreate_database_mysql:64 :   mysql -uroot -psecretmysql -h127.0.0.1 -e 'DROP DATABASE IF EXISTS glance;'
  /opt/stack/new/devstack/lib/databases/mysql: line 64: mysql: command not found
   + lib/databases/mysql:recreate_database_mysql:1 :   exit_trap

  [1] https://review.opendev.org/#/c/702707/

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1860021/+subscriptions


References