You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "Chih80 (via GitHub)" <gi...@apache.org> on 2023/09/24 02:32:22 UTC

[GitHub] [cloudstack] Chih80 opened a new issue, #7994: 4.18.1 cannot access snapshot in GUI

Chih80 opened a new issue, #7994:
URL: https://github.com/apache/cloudstack/issues/7994

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   --> After updating from 4.180 to 4.18.1, I am unable to access and list snapshots in th gui.
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->UI - snapshot
   ~~~
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main branch.
   -->4.18.1
   
   ~~~
   
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->advance networking
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->management server/secondary/mysql on ubuntu 22.04
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   when trying to access snapshot in the gui, nothing gets display other than a red X at top of page.
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->UI, click storage -> snapshots
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   list snapshots
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   noting gets listed but an error symbol.
   
   From the mgm log:
   2023-09-24 02:31:41,015 ERROR [c.c.a.ApiServer] (qtp9190301-17:ctx-929f6bb9 ctx-afcecb42) (logid:f3a11c73) unhandled exception executing api command: [Ljava.lang.String;@6a2520b5
   java.lang.NullPointerException
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on issue #7994: 4.18.1 cannot access snapshot in GUI

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7994:
URL: https://github.com/apache/cloudstack/issues/7994#issuecomment-1735365899

   So both accounts are in the same domain @Chih80 ? if so, a workaround would be renaming one.
   
   You can use for instance cloudmonkey for that.  see https://cloudstack.apache.org/api/apidocs-4.18/apis/updateAccount.html
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on issue #7994: 4.18.1 cannot access snapshot in GUI

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7994:
URL: https://github.com/apache/cloudstack/issues/7994#issuecomment-1734989587

   @Chih80 , can you look in the database if the snapshots still exist? In my case they dissapeared. I created a new snapshot and this show as expected.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on issue #7994: 4.18.1 cannot access snapshot in GUI

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7994:
URL: https://github.com/apache/cloudstack/issues/7994#issuecomment-1740793279

   @Chih80 is this still an issue for you, or can we close?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 4.18.1 cannot access snapshot in GUI [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #7994:
URL: https://github.com/apache/cloudstack/issues/7994#issuecomment-1934690214

   Hi @Chih80 it appears you're hitting some bug, could you check and share the management server logs. For example, you can set the page size to 1 in the URL and try to go through the page -> you'll hit some API for some snapshot where the NPE is happening - chances are something in the DB is wrong for the specific snapshot.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 4.18.1 cannot access snapshot in GUI [cloudstack]

Posted by "Chih80 (via GitHub)" <gi...@apache.org>.
Chih80 commented on issue #7994:
URL: https://github.com/apache/cloudstack/issues/7994#issuecomment-1934998801

   This issue was resolve. After checking the db, I saw that a single user was also assign as admin, basically one account set as a user and also an admin. I have no idea how that happened. After manually deleting the admin assignment to the account, I was able to access snapshots.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on issue #7994: 4.18.1 cannot access snapshot in GUI

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #7994:
URL: https://github.com/apache/cloudstack/issues/7994#issuecomment-1734979615

   I can reproduce your issue @Chih80 , I'll have a look for a fix.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] Chih80 commented on issue #7994: 4.18.1 cannot access snapshot in GUI

Posted by "Chih80 (via GitHub)" <gi...@apache.org>.
Chih80 commented on issue #7994:
URL: https://github.com/apache/cloudstack/issues/7994#issuecomment-1735181151

   yes the snapshots still exist. In my case for what ever reason, their were two accounts with the same name when I checked mysql db. One being user and one being admin, that user account was never made with the admin role so how that came up in the db is a mystery. The UI only show the correct user account. I updated the user account with the admin role to user role and a min later, everything started working. Admins and users with admin roles can not access the snapshots in the UI. The only thing is, now I still have 2 user accounts with the same name. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 4.18.1 cannot access snapshot in GUI [cloudstack]

Posted by "Chih80 (via GitHub)" <gi...@apache.org>.
Chih80 commented on issue #7994:
URL: https://github.com/apache/cloudstack/issues/7994#issuecomment-1934999591

   This issue was resolve. After checking the db, I saw that a single user was also assign as admin, basically one account set as a user and also an admin. I have no idea how that happened. After manually deleting the admin assignment to the account, I was able to access snapshots.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] 4.18.1 cannot access snapshot in GUI [cloudstack]

Posted by "Chih80 (via GitHub)" <gi...@apache.org>.
Chih80 closed issue #7994: 4.18.1 cannot access snapshot in GUI
URL: https://github.com/apache/cloudstack/issues/7994


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org