fabric8io / fabric8

fabric8 is an open source microservices platform based on Docker, Kubernetes and Jenkins
http://fabric8.io/
1.76k stars 504 forks source link

Case-Sensitivity Issues Joining Fabric from a Mac Client to a Linux Server 1.x #2135

Open RangerRick opened 10 years ago

RangerRick commented 10 years ago

Related to issue https://github.com/fabric8io/fabric8/issues/2134, I now have things provisioning, but looking at the logs on my b client, it appears there are bugs with conflicting files and case-sensitivity. Mac OS X is case-preserving but case-sensitive, so you can't have a file called "README.md" in the same place as "ReadMe.md".

Here are the errors I'm getting in the logs, repeating over and over:

2014-07-28 11:54:46,775 | WARN  | pool-25-thread-1 | GitDataStore                     | ?                                   ? | 88 - io.fabric8.fabric-git - 1.1.0.CR5 | Failed to pull from the remote git repo /opt/fabric8-karaf-1.1.0.CR5/data/git/local/fabric due Checkout conflict with files: 
fabric/profiles/quickstarts/java/cxf.cdi.profile/README.md
fabric/profiles/quickstarts/karaf/cxf/rest.profile/ReadMe.md. This exception is ignored.
2014-07-28 11:54:47,761 | WARN  | pool-25-thread-1 | GitDataStore                     | ?                                   ? | 88 - io.fabric8.fabric-git - 1.1.0.CR5 | Failed to pull from the remote git repo /opt/fabric8-karaf-1.1.0.CR5/data/git/local/fabric due Checkout conflict with files: 
fabric/profiles/quickstarts/java/cxf.cdi.profile/ReadMe.md
fabric/profiles/quickstarts/karaf/cxf/rest.profile/README.md. This exception is ignored.
2014-07-28 11:54:48,291 | WARN  | pool-25-thread-1 | GitDataStore                     | ?                                   ? | 88 - io.fabric8.fabric-git - 1.1.0.CR5 | Failed to pull from the remote git repo /opt/fabric8-karaf-1.1.0.CR5/data/git/local/fabric due Checkout conflict with files: 
fabric/profiles/quickstarts/java/cxf.cdi.profile/README.md
fabric/profiles/quickstarts/karaf/cxf/rest.profile/ReadMe.md. This exception is ignored.
2014-07-28 11:54:48,854 | WARN  | ad-1-EventThread | GitDataStore                     | ?                                   ? | 88 - io.fabric8.fabric-git - 1.1.0.CR5 | Failed to pull from the remote git repo /opt/fabric8-karaf-1.1.0.CR5/data/git/local/fabric due Checkout conflict with files: 
fabric/profiles/quickstarts/java/cxf.cdi.profile/ReadMe.md
fabric/profiles/quickstarts/karaf/cxf/rest.profile/README.md. This exception is ignored.
2014-07-28 11:54:55,552 | WARN  | ad-1-EventThread | GitDataStore                     | ?                                   ? | 88 - io.fabric8.fabric-git - 1.1.0.CR5 | Failed to pull from the remote git repo /opt/fabric8-karaf-1.1.0.CR5/data/git/local/fabric due Checkout conflict with files: 
fabric/profiles/quickstarts/java/cxf.cdi.profile/README.md
fabric/profiles/quickstarts/karaf/cxf/rest.profile/ReadMe.md. This exception is ignored.
2014-07-28 11:54:58,482 | WARN  | ad-1-EventThread | GitDataStore                     | ?                                   ? | 88 - io.fabric8.fabric-git - 1.1.0.CR5 | Failed to pull from the remote git repo /opt/fabric8-karaf-1.1.0.CR5/data/git/local/fabric due Checkout conflict with files: 
fabric/profiles/quickstarts/java/cxf.cdi.profile/README.md
fabric/profiles/quickstarts/karaf/cxf/rest.profile/ReadMe.md. This exception is ignored.

In a's UI, it shows b as "Running", but it is spinning forever in "Provision Status". It's been stuck in this state for 20 minutes now.

RangerRick commented 10 years ago

Just confirmed by making and mounting a case-sensitive disk image on my mac, recreating the container there, and re-connecting to the fabric. Provisioning finishes, status is "success".