Hi,
I was playing with GitLab Omnibus and a simple active/passive HA setup via
DRBD.
This is with GitLab Omnibus 6.9.2 on a CentOS 6 x86_64.
DRBD is setup for the following 3 disks.
/opt/gitlab
/var/opt/gitlab
/etc/gitlab
Everything works fine so far, except when I failover to the second node
that creating a new project does not work.
Creating a new project after a failover produces a 404 error.
The logs do not have any detailed error except the 404. I mean nothing to
me that indicates the source of the 404.
The rails production.log has the following.
---------
Started POST "/projects" for 127.0.0.1 at 2014-09-16 07:39:39 +0200
Processing by ProjectsController#create as JS
Parameters: {"utf8"=>"✓", "project"=>{"name"=>"MarcoTest1",
"namespace_id"=>"3", "path"=>"", "import_url"=>"", "description"=>"",
"visibility_level"=>"0"}, "commit"=>"Create project"
}
Completed 200 OK in 539ms (Views: 22.3ms | ActiveRecord: 44.9ms)
Started GET "/marco.schirrmeister/marcotest1" for 127.0.0.1 at 2014-09-16
07:39:40 +0200
Processing by ProjectsController#show as HTML
Parameters: {"id"=>"marco.schirrmeister/marcotest1"}
Filter chain halted as :project rendered or redirected
Completed 404 Not Found in 49ms (Views: 29.3ms | ActiveRecord: 10.7ms)
--------
Does someone has an idea what could cause this 404 error on project
creation?
The only difference I can see right now is the ip address and the hostname
of the server itself.
Does something in GitLab itself rely on the hostname of the server?
Thanks
Marco
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/c5cd628a-91b3-4143-97da-354154e057f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.