Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epel5/6 don't mash right due to config name #276

Closed
nirik opened this issue Aug 20, 2015 · 2 comments
Closed

epel5/6 don't mash right due to config name #276

nirik opened this issue Aug 20, 2015 · 2 comments
Labels
Composer Issues related to the composer

Comments

@nirik
Copy link
Member

nirik commented Aug 20, 2015

Aug 20 20:52:59 bodhi-backend01.phx2.fedoraproject.org fedmsg-hub[31188]: [2015-08-20 20:52:59][ fedmsg ERROR] ERROR: No configuration named 'dist-6E-epel'!

We should rename the configs in ansible or adjust bodhi to use the names mash uses upstream.

@ralphbean ralphbean added the Composer Issues related to the composer label Aug 21, 2015
@lmacken
Copy link
Contributor

lmacken commented Aug 22, 2015

Since the bodhi2 masher does everything based on koji tags, the /mnt/koji/mash/updates/el6-epel is not consistent with epel7 & fedora repos.

I /think/ this will solve the problem.

--- a/roles/bodhi2/backend/files/fedora-epel-push                                          
+++ b/roles/bodhi2/backend/files/fedora-epel-push                                          
@@ -8,9 +8,9 @@ OPTIONS="-rlptDvHh --stats --delay-updates $RSYNC_OPTS"                    
 for rel in 5 6; do                                                                        

     OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" --exclude "headers/*" \               
-            $SOURCE/el$rel-epel/ $DEST/$rel/)                                             
+            $SOURCE/dist-$relE-epel/ $DEST/$rel/)                                         
     OUTPUT2=$(rsync $OPTIONS --delete --delete-delay \                                    
-            $SOURCE/el$rel-epel/ $DEST/$rel/)                                             
+            $SOURCE/dist-$relE-epel/ $DEST/$rel/)                                         

     # Grep out some signals from the stats                                                
     bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ')                 
@@ -26,9 +26,9 @@ for rel in 5 6; do                                                       
     fi                                                                                    

     OUTPUT1=$(rsync $OPTIONS --exclude "repodata/*" --exclude "headers/*" \               
-            $SOURCE/el$rel-epel-testing/ $DEST/testing/$rel/)                             
+            $SOURCE/dist-$relE-epel-testing/ $DEST/testing/$rel/)                         
     OUTPUT2=$(rsync $OPTIONS --delete --delete-delay \                                    
-            $SOURCE/el$rel-epel-testing/ $DEST/testing/$rel/)                             
+            $SOURCE/dist-$relE-epel-testing/ $DEST/testing/$rel/)                         

     # Grep out some signals from the stats                                                
     bytes=$(echo "$OUTPUT1" | grep "Literal data" | awk ' { print $3 } ')                 

@lmacken
Copy link
Contributor

lmacken commented Aug 23, 2015

Fixed in puppet.

@lmacken lmacken closed this as completed Aug 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Composer Issues related to the composer
Projects
None yet
Development

No branches or pull requests

3 participants