Hello everyone

hammer console or WebGUI end up with the same error

Environment with id 1-4 could not be found.


So, if I want to promote from Library to the next lifecycle environment 
that is "Development" or remove a version or whatever action will fail with 
the error above.  I used foreman console to remove the task and the lock 
and I reimport (reindex) but no success.  

I have 2 environment (environment list) 


hammer> environment list

---|-----------

ID | NAME      

---|-----------

1  | production

13 | MYENV    

---|-----------

I have 4 lifecycle-environment

hammer> lifecycle-environment list

---|----------------|---------------

ID | NAME           | PRIOR         

---|----------------|---------------

2  | Developpement  | Library       

1  | Library        |               

3  | Pre-Production | Developpement 

4  | Production     | Pre-Production

---|----------------|---------------


and 5 content-view


hammer> content-view list

----------------|---------------------------|---------------------------|-----------|---------------------|--------------------------------------------

CONTENT VIEW ID | NAME                      | LABEL                     | 
COMPOSITE | LAST PUBLISHED      | REPOSITORY IDS                            
 

----------------|---------------------------|---------------------------|-----------|---------------------|--------------------------------------------

2               | CentOS 6                  | CentOS_6                  |   
        | 2017/12/20 14:59:42 | 21, 167, 25, 32, 27, 35, 31, 36, 257       

3               | CentOS 7                  | CentOS_7                  |   
        | 2017/12/20 13:15:41 | 22, 168, 26, 28, 30, 34, 33, 256, 427      

1               | Default Organization View | Default_Organization_View |   
        | 2017/11/28 14:04:57 |                                            

5               | RHEL 6                    | RHEL_6                    |   
        | 2017/12/21 19:18:56 | 17, 1, 9, 21, 23, 167, 32, 27, 31, 3, 257  

4               | RHEL 7                    | RHEL_7                    |   
        | 2017/12/21 19:18:23 | 2, 16, 13, 10, 22, 24, 168, 28, 30, 256, 18

----------------|---------------------------|---------------------------|-----------|---------------------|--------------------------------------------


Is there a way to fix this ... it happened when the server was on a hi load 
and I cancel the promote of a content view.


Thanks






-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to