[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-11-19 Thread Edward Hope-Morley
** Tags removed: sts-sru-needed ** Tags added: sts-sru-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775170 Title: [SRU] Fixing empty create swift container dialog after upgrading horizon

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-11 Thread Corey Bryant
Good work finding that out, Jared. I think we need some input from upstream horizon developers to determine if this is an upstream bug or not. I'll add upstream horizon to this bug. ** Also affects: horizon Importance: Undecided Status: New -- You received this bug notification

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-10 Thread Jared Baker
I did a bit more investigating and it seems to me like the contents of the defined memcached server can influence the generation of the javascript in '/var/lib/openstack-dashboard/static/dashboard/js' Is that assumption correct? If so, maybe the collect/compress should flush the memcached

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-10 Thread Jared Baker
Hey Corey, I believe I have found the source of my problem with bad javascript being generated at the compress and collect static stage and it has to do with whats in my /etc/openstack-dashboard/local_settings.py, specifically my memcached section. We run 3 controllers and 3 instances of

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-05 Thread Corey Bryant
It looks like you can use -v3: -v {0,1,2,3}, --verbosity {0,1,2,3} Verbosity level; 0=minimal output, 1=normal output, 2=verbose output, 3=very verbose output You mentioned 95f4db675ac3.js had an error. You might compare good vs bad versions of

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-04 Thread Jared Baker
I don't think it's necessary to go through the process of a pike -> queens upgrade to reproduce the issue. Reason I say that is because we can take our current install and purge & install the openstack-dashboard & related packages and without our customizations we still experience the problem.

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-03 Thread Corey Bryant
Jared, If I were to recreate this without your additional customizations, would I need to upgrade from pike->queens or just install openstack-dashboard for queens, or something else? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-03 Thread Corey Bryant
You might also try re-running the post-install script after the package is installed and after you've added your customizations: sudo sh /var/lib/dpkg/info/openstack-dashboard.postinst configure -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-03 Thread Jared Baker
Just to be clear, I've tried removing the following directories rm -rf /usr/share/openstack-dashboard/ rm -rf /var/lib/openstack-dashboard/static/ followed by an apt-get install --reinstall openstack-dashboard python- django-horizon Leaving the dashboard uncustomized, I am still getting a blank

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-03 Thread Jared Baker
We implement the following customizations of the openstack-horizon dashboard: - /usr/share/openstack-dashboard/openstack_dashboard/templates/_login_footer.html - /usr/share/openstack-dashboard/openstack_dashboard/templates/_footer.html -

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-03 Thread Corey Bryant
Hi Jared, Are you adding any of your own static assets? Otherwise the package should collect/compress static assets on it's own in the postinst script. For reference the fix for newton->ocata was:

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-10-03 Thread Jared Baker
This particular bug of the container creation modal being blank has plagued us for several OpenStack releases now. We are running Queens on Ubuntu 16.04 currently (http://ubuntu-cloud.archive.canonical.com/ubuntu xenial-updates/queens/main amd64 Packages) python-django-horizon

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-25 Thread Corey Bryant
This bug was fixed in the package horizon - 3:11.0.4-0ubuntu1~cloud2.5 --- horizon (3:11.0.4-0ubuntu1~cloud2.5) xenial-ocata; urgency=medium . * d/openstack-dashboard.preinst: Prior to installing package, ensure /usr/share/openstack-dashboard/horizon/static/ is removed. This

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-25 Thread Corey Bryant
I've also given an ocata-proposed deployment some manual testing and it looks good. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775170 Title: [SRU] Fixing empty create swift container dialog

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-23 Thread Seyeong Kim
Hello corey, Could you please check this case if you have time? Thanks a lot -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775170 Title: [SRU] Fixing empty create swift container dialog after

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-16 Thread Seyeong Kim
Hello, I verified this issue fixed. Below are steps I followed 1. deploy newton env. 2. upgrade it to ocata. 3. check if there is ui error ( it was ) 4. upgrade pkg from -proposed ocata 5. check if there is ui error ( it's gone ) Thanks a lot root@juju-4a8232-0-lxd-5:~# dpkg -l | grep

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-16 Thread Corey Bryant
** No longer affects: horizon (Ubuntu Bionic) ** No longer affects: horizon (Ubuntu Cosmic) ** Changed in: horizon (Ubuntu) Status: Triaged => Invalid ** Changed in: horizon (Ubuntu) Importance: Low => Undecided ** No longer affects: cloud-archive/queens ** No longer affects:

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-16 Thread Corey Bryant
I've triaged this for all releases >= ocata. While there are no issues surfacing currently for any release other than ocata, it seems we should make this change in all releases >= ocata. ** Also affects: horizon (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: horizon

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-16 Thread Corey Bryant
Please disregard comment #18. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775170 Title: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata To manage

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-16 Thread Corey Bryant
Actually, we only rm /usr/share/openstack-dashboard/static/ in <= ocata, so I think we can limit this fix to ocata, where we're seeing the issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775170

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-16 Thread Seyeong Kim
Hello, Could you please proceed this? or I can do it. Please let me know if you are ok. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775170 Title: [SRU] Fixing empty create swift

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-09 Thread Seyeong Kim
Hello Corey, I tested Ocata->Pike, Pike->Queens. and There is no issue like this. I could see container dialog properly. Please let me know if you need anything. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-09 Thread Seyeong Kim
ah I see, will check ASAP -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775170 Title: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata To manage

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-06 Thread Corey Bryant
Sorry, I wasn't referring to skipping a release on upgrade. I was referring to Ocata->Pike, Pike->Queens. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775170 Title: [SRU] Fixing empty create

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-06 Thread Seyeong Kim
Corey, Yes, possible. I thought upgrading 2 release at once is not recommended so I wanted to ask somebody it is needed. I'll test from Newton to Pike and Queens. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-05 Thread Corey Bryant
Seyeong, I took a look at this a bit today and was able to reproduce it. I think we can add the following. I'm curious if this exists for any other releases or if any similar issues exist elsewhere. Either way it seems like we'd want to fix this through for ocata and above. diff --git

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-03 Thread Seyeong Kim
right, source code itself doesn't have any differences ( if compare same file name ) but compressed js is different() because extra file is copied to /var/lib and it seems extra code inserted to compressed js (& broken, you can see broken(incomplete) source in compressed.js ) -- You received

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-07-02 Thread Corey Bryant
I've just compared jquery.bootstrap.wizard.js files from 2 installations: 1) installed openstack-dashboard newton and upgraded to ocata 2) installed openstack-dashboard ocata /usr/share/openstack-dashboard/horizon/static/horizon/lib/jquery/jquery.bootstrap.wizard.js and

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-06-19 Thread Seyeong Kim
Hello Corey I paste directory structure and result of python manage.py collectstatic --no-input https://pastebin.ubuntu.com/p/vjgmjHcTf6/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1775170

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-06-18 Thread Seyeong Kim
Hello Corey, If I don't remove horizon/static, compressed js has incomplete js file so UI show us javascript error when clicking container button. I think it can't get template for this dialog. I checked compressed js has more code( and broken ) than pure ocata I don't remember exact code so

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-06-18 Thread Corey Bryant
Seyeong, Can you tell if the files in /usr/share/openstack- dahsboard/openstack_dashboard/static get installed in /var/lib /openstack-dashboard/static/? If so, we likely want to add 'rm -rf /usr/share/openstack-dashboard/horizon/static/ || :' where we currently run 'rm -rf

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-06-14 Thread Seyeong Kim
** Patch added: "lp1775170_ocata_v2.debdiff" https://bugs.launchpad.net/ubuntu/+source/horizon/+bug/1775170/+attachment/5152549/+files/lp1775170_ocata_v2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-06-14 Thread Seyeong Kim
Hello Corey I've analyzed those. In preinst, below line there. rm -rf /usr/share/openstack-dashboard/static/ || : rm -rf /var/lib/openstack-dashboard/static/ || : it is not the same as find /usr/share/openstack-dashboard/horizon/static/horizon/lib/ ! -name 'jquery.bootstrap.wizard.js' -delete

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-06-11 Thread Seyeong Kim
@corey oh Thanks, I haven't noticed that. because there are remained files. so, In this case, rm -rf in preinst didn't work. I'll analyze this further. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-06-11 Thread Corey Bryant
Hi Seyeong, Something is wrong because the upgrade from newton->ocata should already drop static assets from /usr/share/openstack-dashboard/horizon/static/ and install them in /var/lib/openstack-dashboard/static. I don't think the attached patch is the correct fix. Is the existing preinst script

[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

2018-06-11 Thread Edward Hope-Morley
** Summary changed: - [SRU] Fixing empty create container dialog after upgrading horizon from newton to ocata + [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata -- You received this bug notification because you are a member of Ubuntu Bugs, which is