← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1938120] Re: keystone-protection-functional is failing because of missing demo project

 

After looking into this in detail now I have a feeling that this issue
was introduced by a change[1] in devstack and we should fix devstack.

[1]
https://opendev.org/openstack/devstack/commit/9dc2b88eb42a5f98f43bc8ad3dfa3962a4d44d74

** 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 Identity (keystone).
https://bugs.launchpad.net/bugs/1938120

Title:
  keystone-protection-functional is failing because of missing demo
  project

Status in devstack:
  New
Status in OpenStack Identity (keystone):
  New

Bug description:
  The keystone-protection-functional job is repeatedly failing because
  the demo project is not found.

  ```
  + ./stack.sh:main:1294                     :   echo_summary 'Creating initial neutron network elements'
  + ./stack.sh:echo_summary:422              :   [[ -t 3 ]]
  + ./stack.sh:echo_summary:428              :   echo -e Creating initial neutron network elements
  + ./stack.sh:main:1297                     :   type -p neutron_plugin_create_initial_networks
  + ./stack.sh:main:1300                     :   create_neutron_initial_network
  + lib/neutron_plugins/services/l3:create_neutron_initial_network:164 :   local project_id
  ++ lib/neutron_plugins/services/l3:create_neutron_initial_network:165 :   grep ' demo '
  ++ lib/neutron_plugins/services/l3:create_neutron_initial_network:165 :   oscwrap project list
  ++ lib/neutron_plugins/services/l3:create_neutron_initial_network:165 :   get_field 1
  ++ functions-common:get_field:726           :   local data field
  ++ functions-common:get_field:727           :   read data
  ++ functions-common:oscwrap:2349            :   return 0
  + lib/neutron_plugins/services/l3:create_neutron_initial_network:165 :   project_id=
  + lib/neutron_plugins/services/l3:create_neutron_initial_network:166 :   die_if_not_set 166 project_id 'Failure retrieving project_id for demo'
  + functions-common:die_if_not_set:216      :   local exitcode=0
  [Call Trace]
  ./stack.sh:1300:create_neutron_initial_network
  /opt/stack/devstack/lib/neutron_plugins/services/l3:166:die_if_not_set
  /opt/stack/devstack/functions-common:223:die
  [ERROR] /opt/stack/devstack/functions-common:166 Failure retrieving project_id for demo
  exit_trap: cleaning up child processes
  Error on exit
  *** FINISHED ***
  ```

  Example can be found here;
   https://zuul.opendev.org/t/openstack/build/90628c08f0f84927a0e547e5c9fc409e

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



References