← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1826114] [NEW] Errors creating users and projects

 

Public bug reported:

After a fresh install of OpenStack Stein using Juju Charms I'm getting
errors and items not appearing when creating new users and projects.
Here are several tests I made:

When creating ONLY a new user in a domain different than admin_domain,
the user creates successfully but is not shown in the user list on the
GUI even after a refresh/logout. Using the CLI shows that it was created
successfully.


When creating ONLY a project in a domain different than admin_domain, the project creates successfully but is not shown in the user list on the GUI even after a refresh/logout. Using the CLI shows that it was created successfully.

When creating a user in a domain different than admin_domain, the
project list in the form is empty.


When creating a user AND a project in any domain (using the "+" icon in the user creation form), after creating the project the GIU hangs on a "Working..." spinning wheel and the following error appears on the web console:

Uncaught SyntaxError: Unexpected token < in JSON at position 53
    at JSON.parse (<anonymous>)
    at Function.jQuery.parseJSON (439e79e74c16.js:567)
    at Function.jQuery.parseJSON (439e79e74c16.js:720)
    at processServerSuccess (c1b8ea0c3a19.js:80)
    at Object.success (c1b8ea0c3a19.js:84)
    at fire (439e79e74c16.js:210)
    at Object.fireWith [as resolveWith] (439e79e74c16.js:216)
    at done (439e79e74c16.js:626)
    at XMLHttpRequest.callback (439e79e74c16.js:653)

After a refresh, the project is created but not the user.


When creating a new user and a project separately in admin_domain everything works OK. After that I can see both and assign the project to the user.

In all the pages I load from Horizon I get the following warning on the
web console:

439e79e74c16.js:700 JQMIGRATE: $(html) HTML strings must start with '<' character
migrateWarn @ 439e79e74c16.js:700
jQuery.fn.init @ 439e79e74c16.js:714
jQuery @ 439e79e74c16.js:15
success @ c1b8ea0c3a19.js:204
fire @ 439e79e74c16.js:210
fireWith @ 439e79e74c16.js:216
done @ 439e79e74c16.js:626
callback @ 439e79e74c16.js:653
439e79e74c16.js:700 console.trace
migrateWarn @ 439e79e74c16.js:700
jQuery.fn.init @ 439e79e74c16.js:714
jQuery @ 439e79e74c16.js:15
success @ c1b8ea0c3a19.js:204
fire @ 439e79e74c16.js:210
fireWith @ 439e79e74c16.js:216
done @ 439e79e74c16.js:626
callback @ 439e79e74c16.js:653

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Errors creating users and projects

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  After a fresh install of OpenStack Stein using Juju Charms I'm getting
  errors and items not appearing when creating new users and projects.
  Here are several tests I made:

  When creating ONLY a new user in a domain different than admin_domain,
  the user creates successfully but is not shown in the user list on the
  GUI even after a refresh/logout. Using the CLI shows that it was
  created successfully.

  
  When creating ONLY a project in a domain different than admin_domain, the project creates successfully but is not shown in the user list on the GUI even after a refresh/logout. Using the CLI shows that it was created successfully.

  When creating a user in a domain different than admin_domain, the
  project list in the form is empty.

  
  When creating a user AND a project in any domain (using the "+" icon in the user creation form), after creating the project the GIU hangs on a "Working..." spinning wheel and the following error appears on the web console:

  Uncaught SyntaxError: Unexpected token < in JSON at position 53
      at JSON.parse (<anonymous>)
      at Function.jQuery.parseJSON (439e79e74c16.js:567)
      at Function.jQuery.parseJSON (439e79e74c16.js:720)
      at processServerSuccess (c1b8ea0c3a19.js:80)
      at Object.success (c1b8ea0c3a19.js:84)
      at fire (439e79e74c16.js:210)
      at Object.fireWith [as resolveWith] (439e79e74c16.js:216)
      at done (439e79e74c16.js:626)
      at XMLHttpRequest.callback (439e79e74c16.js:653)

  After a refresh, the project is created but not the user.

  
  When creating a new user and a project separately in admin_domain everything works OK. After that I can see both and assign the project to the user.

  In all the pages I load from Horizon I get the following warning on
  the web console:

  439e79e74c16.js:700 JQMIGRATE: $(html) HTML strings must start with '<' character
  migrateWarn @ 439e79e74c16.js:700
  jQuery.fn.init @ 439e79e74c16.js:714
  jQuery @ 439e79e74c16.js:15
  success @ c1b8ea0c3a19.js:204
  fire @ 439e79e74c16.js:210
  fireWith @ 439e79e74c16.js:216
  done @ 439e79e74c16.js:626
  callback @ 439e79e74c16.js:653
  439e79e74c16.js:700 console.trace
  migrateWarn @ 439e79e74c16.js:700
  jQuery.fn.init @ 439e79e74c16.js:714
  jQuery @ 439e79e74c16.js:15
  success @ c1b8ea0c3a19.js:204
  fire @ 439e79e74c16.js:210
  fireWith @ 439e79e74c16.js:216
  done @ 439e79e74c16.js:626
  callback @ 439e79e74c16.js:653

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


Follow ups