Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3774

[6.2.1] Fabric Push rejected: [RemoteRefUpdate[remoteName=refs/heads/master, REJECTED_NONFASTFORWARD

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • jboss-fuse-6.3
    • None
    • Fabric8 v1
    • None
    • % %

      Happens from time to time to a freshly patched 6.2P1.

      I see while creating a new version: version-create --default

      Happening only from time to time:

      2015-08-06 09:13:30,638 | INFO  | pool-8-thread-3  | AuthenticationFilter             | 253 - io.hawt.hawtio-web - 1.4.0.redhat-133 | Starting hawtio authentication filter, JAAS realm: "karaf" authorized role(s): "admin,manager,viewer,Monitor, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser" role principal classes: "org.apache.karaf.jaas.boot.principal.RolePrincipal,org.apache.karaf.jaas.modules.RolePrincipal,org.apache.karaf.jaas.boot.principal.GroupPrincipal"
      2015-08-06 09:13:30,685 | INFO  | pool-8-thread-3  | hawtio-web - 253}                | 94 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | jolokia-agent: No access restrictor found at classpath:/jolokia-access.xml, access to all MBeans is allowed
      2015-08-06 09:13:30,717 | INFO  | pool-8-thread-3  | hawtio-web - 253}                | 94 - org.eclipse.jetty.aggregate.jetty-all-server - 8.1.17.v20150415 | jolokia-agent: Jolokia Discovery MBean registration is skipped because there is already one registered.
      2015-08-06 09:13:30,720 | INFO  | pool-8-thread-3  | LoginServlet                     | 253 - io.hawt.hawtio-web - 1.4.0.redhat-133 | hawtio login is using 1800 sec. HttpSession timeout
      2015-08-06 09:13:39,616 | INFO  | l Console Thread | ProfileServiceImpl               | 77 - io.fabric8.fabric-core - 1.2.0.redhat-133 | createVersion: 1.2 => 1.3
      2015-08-06 09:13:39,802 | INFO  | l Console Thread | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pushing last change to: http://172.17.0.2:8181/git/fabric/
      2015-08-06 09:13:39,915 | WARN  | l Console Thread | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Rejected push: {}RemoteRefUpdate[remoteName=refs/heads/master, REJECTED_NONFASTFORWARD, (null)...d060e560f69ffdb882f1775df2ac673a1b5c5df8, srcRef=refs/heads/master, message=null]
      2015-08-06 09:13:39,976 | INFO  | l Console Thread | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Push result: [accepted=4,rejected=1,error=null]
      2015-08-06 09:13:39,977 | ERROR | l Console Thread | Console                          | 34 - org.apache.karaf.shell.console - 2.4.0.redhat-620133 | Exception caught while executing command
      java.lang.IllegalStateException: Push rejected: [RemoteRefUpdate[remoteName=refs/heads/master, REJECTED_NONFASTFORWARD, (null)...d060e560f69ffdb882f1775df2ac673a1b5c5df8, srcRef=refs/heads/master, message=null]]
      	at io.fabric8.git.internal.GitDataStoreImpl.executeInternal(GitDataStoreImpl.java:1009)
      	at io.fabric8.git.internal.GitDataStoreImpl.createVersion(GitDataStoreImpl.java:523)
      	at io.fabric8.git.internal.GitDataStoreImpl.createVersion(GitDataStoreImpl.java:500)
      	at io.fabric8.internal.ProfileServiceImpl.createVersionFrom(ProfileServiceImpl.java:107)
      	at io.fabric8.commands.VersionCreateAction.doExecute(VersionCreateAction.java:84)
      	at org.apache.karaf.shell.console.AbstractAction.execute(AbstractAction.java:33)
      	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_51]
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_51]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_51]
      	at java.lang.reflect.Method.invoke(Method.java:497)[:1.8.0_51]
      	at org.apache.aries.proxy.impl.ProxyHandler$1.invoke(ProxyHandler.java:54)[18:org.apache.aries.proxy.impl:1.0.4]
      	at org.apache.aries.proxy.impl.ProxyHandler.invoke(ProxyHandler.java:119)[18:org.apache.aries.proxy.impl:1.0.4]
      	at io.fabric8.commands.$VersionCreate540724934.execute(Unknown Source)[mvn:org.apache.aries.proxy/org.apache.aries.proxy.impl/1.0.4:]
      	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133]
      	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133]
      	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133]
      	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133]
      	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133]
      	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:92)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133]
      	at org.apache.karaf.shell.console.jline.Console.run(Console.java:195)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133]
      	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:79)[34:org.apache.karaf.shell.console:2.4.0.redhat-620133]
      2015-08-06 09:13:39,977 | INFO  | pool-26-thread-1 | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Performing a pull on remote URL: http://172.17.0.2:8181/git/fabric/
      2015-08-06 09:13:39,991 | INFO  | pool-26-thread-1 | DefaultPullPushPolicy            | 79 - io.fabric8.fabric-git - 1.2.0.redhat-133 | Pull result: [localUpdate=false,remoteUpdate=false,versions=[1.0, 1.1, 1.2, 1.3, master],error=null]
      

              pantinor@redhat.com Paolo Antinori
              pantinor@redhat.com Paolo Antinori
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: