yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38309
[Bug 1494001] [NEW] /usr/share/openstack-dashboard/manage.py {check, syncdb} SystemCheckError: System check identified some issues:
Public bug reported:
Minor version update broke database checking and sync. A custom field in dlango's user model clashes? It appears there was a minor change somewhere in the dashboard app from version openstack-dashboard-2015.1.0-7.el7.noarch
to openstack-dashboard-2015.1.1-1.el7.noarch. The was a minor update to also from python-django-horizon-2015.1.0-7.el7.noarch
to python-django-horizon-2015.1.1-1.el7.noarch.
Working Config:
/etc/openstack-dashboard/local_settings
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
DATABASES = {
'default': {
# Database configuration here
'ENGINE': 'django.db.backends.mysql',
'NAME': 'dash',
'USER': 'dash',
'PASSWORD': 'password',
'HOST': '0.0.0.0',
'default-character-set': 'utf8'
}
}
rpm -qa |grep django
python-django-pyscss-1.0.5-2.el7.noarch
python-django-bash-completion-1.8.3-1.el7.noarch
python-django-appconf-0.6-1.el7.noarch
python-django-openstack-auth-1.2.0-4.el7.noarch
python-django-horizon-2015.1.0-7.el7.noarch
python-django-compressor-1.4-3.el7.noarch
python-django-1.8.3-1.el7.noarch
rpm -qa |grep dashboard
openstack-dashboard-2015.1.0-7.el7.noarch
/usr/share/openstack-dashboard/manage.py check
System check identified no issues (0 silenced).
Non Working:
/etc/openstack-dashboard/local_settings
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
DATABASES = {
'default': {
# Database configuration here
'ENGINE': 'django.db.backends.mysql',
'NAME': 'dash',
'USER': 'dash',
'PASSWORD': 'password',
'HOST': '0.0.0.0',
'default-character-set': 'utf8'
}
}
rpm -qa |grep django
python-django-appconf-0.6-1.el7.noarch
python-django-pyscss-1.0.5-2.el7.noarch
python-django-1.8.3-1.el7.noarch
python-django-bash-completion-1.8.3-1.el7.noarch
python-django-openstack-auth-1.2.0-4.el7.noarch
python-django-compressor-1.4-3.el7.noarch
python-django-horizon-2015.1.1-1.el7.noarch
rpm -qa |grep dashboard
openstack-dashboard-2015.1.1-1.el7.noarch
/usr/share/openstack-dashboard/manage.py check
SystemCheckError: System check identified some issues:
ERRORS:
auth.User.groups: (fields.E304) Reverse accessor for 'User.groups' clashes with reverse accessor for 'User.groups'.
HINT: Add or change a related_name argument to the definition for 'User.groups' or 'User.groups'.
auth.User.user_permissions: (fields.E304) Reverse accessor for 'User.user_permissions' clashes with reverse accessor for 'User.user_permissions'.
HINT: Add or change a related_name argument to the definition for 'User.user_permissions' or 'User.user_permissions'.
openstack_auth.User.groups: (fields.E304) Reverse accessor for 'User.groups' clashes with reverse accessor for 'User.groups'.
HINT: Add or change a related_name argument to the definition for 'User.groups' or 'User.groups'.
openstack_auth.User.user_permissions: (fields.E304) Reverse accessor for 'User.user_permissions' clashes with reverse accessor for 'User.user_permissions'.
HINT: Add or change a related_name argument to the definition for 'User.user_permissions' or 'User.user_permissions'.
System check identified 4 issues (0 silenced).
** 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/1494001
Title:
/usr/share/openstack-dashboard/manage.py {check,syncdb}
SystemCheckError: System check identified some issues:
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Minor version update broke database checking and sync. A custom field in dlango's user model clashes? It appears there was a minor change somewhere in the dashboard app from version openstack-dashboard-2015.1.0-7.el7.noarch
to openstack-dashboard-2015.1.1-1.el7.noarch. The was a minor update to also from python-django-horizon-2015.1.0-7.el7.noarch
to python-django-horizon-2015.1.1-1.el7.noarch.
Working Config:
/etc/openstack-dashboard/local_settings
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
DATABASES = {
'default': {
# Database configuration here
'ENGINE': 'django.db.backends.mysql',
'NAME': 'dash',
'USER': 'dash',
'PASSWORD': 'password',
'HOST': '0.0.0.0',
'default-character-set': 'utf8'
}
}
rpm -qa |grep django
python-django-pyscss-1.0.5-2.el7.noarch
python-django-bash-completion-1.8.3-1.el7.noarch
python-django-appconf-0.6-1.el7.noarch
python-django-openstack-auth-1.2.0-4.el7.noarch
python-django-horizon-2015.1.0-7.el7.noarch
python-django-compressor-1.4-3.el7.noarch
python-django-1.8.3-1.el7.noarch
rpm -qa |grep dashboard
openstack-dashboard-2015.1.0-7.el7.noarch
/usr/share/openstack-dashboard/manage.py check
System check identified no issues (0 silenced).
Non Working:
/etc/openstack-dashboard/local_settings
SESSION_ENGINE = 'django.contrib.sessions.backends.db'
DATABASES = {
'default': {
# Database configuration here
'ENGINE': 'django.db.backends.mysql',
'NAME': 'dash',
'USER': 'dash',
'PASSWORD': 'password',
'HOST': '0.0.0.0',
'default-character-set': 'utf8'
}
}
rpm -qa |grep django
python-django-appconf-0.6-1.el7.noarch
python-django-pyscss-1.0.5-2.el7.noarch
python-django-1.8.3-1.el7.noarch
python-django-bash-completion-1.8.3-1.el7.noarch
python-django-openstack-auth-1.2.0-4.el7.noarch
python-django-compressor-1.4-3.el7.noarch
python-django-horizon-2015.1.1-1.el7.noarch
rpm -qa |grep dashboard
openstack-dashboard-2015.1.1-1.el7.noarch
/usr/share/openstack-dashboard/manage.py check
SystemCheckError: System check identified some issues:
ERRORS:
auth.User.groups: (fields.E304) Reverse accessor for 'User.groups' clashes with reverse accessor for 'User.groups'.
HINT: Add or change a related_name argument to the definition for 'User.groups' or 'User.groups'.
auth.User.user_permissions: (fields.E304) Reverse accessor for 'User.user_permissions' clashes with reverse accessor for 'User.user_permissions'.
HINT: Add or change a related_name argument to the definition for 'User.user_permissions' or 'User.user_permissions'.
openstack_auth.User.groups: (fields.E304) Reverse accessor for 'User.groups' clashes with reverse accessor for 'User.groups'.
HINT: Add or change a related_name argument to the definition for 'User.groups' or 'User.groups'.
openstack_auth.User.user_permissions: (fields.E304) Reverse accessor for 'User.user_permissions' clashes with reverse accessor for 'User.user_permissions'.
HINT: Add or change a related_name argument to the definition for 'User.user_permissions' or 'User.user_permissions'.
System check identified 4 issues (0 silenced).
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1494001/+subscriptions
Follow ups