Bug 1798829 - Not able to create a vm on softserve
Summary: Not able to create a vm on softserve
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: project-infrastructure
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Deepshikha khandelwal
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-06 05:32 UTC by Mohit Agrawal
Modified: 2023-09-14 05:51 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-02-12 06:19:11 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Mohit Agrawal 2020-02-06 05:32:25 UTC
Description of problem:
On this patch https://review.gluster.org/#/c/glusterfs/+/23783/ one of the test is getting crash so I want to reproduce the issue on softserve vm. I am not ableto create a vm on softserve infrastructure.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Deepshikha khandelwal 2020-02-06 05:47:26 UTC
What issue you're facing?

I 'm able to create a machine on softserve.

Comment 2 Mohit Agrawal 2020-02-06 05:50:38 UTC
After creating the VM VM is not showing on the dashboard.

Comment 3 Kotresh HR 2020-02-07 03:50:11 UTC
Same here, Creation of says successful but won't appear in dashboard

Comment 4 sankarshan 2020-02-07 03:53:41 UTC
Deepshikha, the login/user you tried for the reproducer - is that an elevated privileges or, similar to user logins from Mohit and Kotresh?

Screengrabs of the dashboard might be good to have attached with this report.

Comment 5 Deepshikha khandelwal 2020-02-10 04:44:57 UTC
Machine did create for me but did not delete after an hour.

There's an issue with the psycopg2 package in python. Looking more into it.

Comment 6 Deepshikha khandelwal 2020-02-10 09:22:11 UTC
From the celery logs:
Feb 10 06:25:04 softserve.int.rht.gluster.org celery[16460]: "Can't reconnect until invalid "
Feb 10 06:25:04 softserve.int.rht.gluster.org celery[16460]: StatementError: (sqlalchemy.exc.InvalidRequestError) Can't reconnect until invalid transaction is rolled back [SQL: u'SELECT vm.id AS vm_id, vm.ip_address AS vm_ip_address, vm.vm_name AS vm_vm_name, vm.details_id AS vm_details_id, vm.created_at AS vm_created_at, vm.deleted_at AS vm_deleted_at, vm.state AS vm_state \nFROM vm \nWHERE vm.vm_name = %(vm_name_1)s AND vm.state = %(state_1)s \n LIMIT %(param_1)s'] [parameters: [{}]]

Need to rollback the last commit.

Comment 7 Deepshikha khandelwal 2020-02-10 11:02:47 UTC
It seems to be fixed. Please check and confirm.

Comment 8 Mohit Agrawal 2020-02-10 13:45:11 UTC
I am not able to see VM on dashboard.

Comment 9 Michael S. 2020-02-10 16:25:08 UTC
I see that error in the log:

févr. 10 12:42:59 softserve.int.rht.gluster.org celery[30617]: <Response><Errors><Error><Code>InvalidKeyPair.Duplicate</Code><Message>The keypair 'moagrawa_test' already exists.</Message></Error></Errors><Reques

And I can't find it in the interface for some reasons.

Comment 10 Deepshikha khandelwal 2020-02-10 16:39:42 UTC
Michael, I fixed it. The deletion process did not happen because of sudden disconnect from db server.

We can close the bug now.

Comment 11 Red Hat Bugzilla 2023-09-14 05:51:13 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.