teocherasco opened a new issue, #33347:
URL: https://github.com/apache/superset/issues/33347

   ### Bug description
   
   I change the password of my DB (AWS RDS), when I try to update the configs, 
it won´t (basically the configuration show that the last time I changed it was 
a month ago).
   
   I deleted the connection and the datasets attached to it, but I still cannot 
make it work. I am using and SQL Alchemy URI.
   
   
![Image](https://github.com/user-attachments/assets/54845454-663f-4ea9-9ab4-033089d2cd23)
   
   Note that when I test connection, it looks good, so it is not a credentials 
problem.
   
   
   
   ### Screenshots/recordings
   
   
![Image](https://github.com/user-attachments/assets/5e8e5c6e-b8d2-4981-a006-412f1177a3a0)
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.10
   
   ### Node version
   
   Not applicable
   
   ### Browser
   
   Firefox
   
   ### Additional context
   
   This is what I am seeing in the logs of the pod:
   
   ```
   sqlalchemy.exc.ProgrammingError: (raised as a result of Query-invoked 
autoflush; consider using a session.no_autoflush block if this flush is 
occurring prematurely)
   (psycopg2.errors.UndefinedTable) relation "ab_view_menu_id_seq" does not 
exist
   LINE 1: ...SERT INTO ab_view_menu (id, name) VALUES (nextval('ab_view_m...
                                                                ^
   ```
   
   ```
   
   Traceback (most recent call last):
     File "/app/superset/databases/api.py", line 447, in post
       new_model = CreateDatabaseCommand(item).run()
     File "/app/superset/utils/decorators.py", line 266, in wrapped
       return on_error(ex)
     File "/app/superset/utils/decorators.py", line 236, in on_error
       raise ex
     File "/app/superset/utils/decorators.py", line 259, in wrapped
       result = func(*args, **kwargs)
     File "/app/superset/commands/database/create.py", line 124, in run
       raise DatabaseCreateFailedError() from ex
   superset.commands.database.exceptions.DatabaseCreateFailedError: Database 
could not be created.
   ```
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to