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

Running rancher/server (or any container) on RancherOS on GCE needs MTU configured to 1460 #8910

Closed
GatoSnake opened this issue May 29, 2017 · 14 comments
Assignees
Labels
area/documentation kind/task Issues that represent work that needs to be done, but don't involve a code change

Comments

@GatoSnake
Copy link

Rancher versions:
rancher/server: 1.6.0 (latest)
rancher/agent: N/A

Infrastructure Stack versions:
healthcheck: N/A
ipsec: N/A
network-services: N/A
scheduler: N/A
kubernetes (if applicable): N/A

Docker version: (docker version,docker info preferred)

Containers: 1
 Running: 1
 Paused: 0
 Stopped: 0
Images: 1
Server Version: 17.03.1-ce
Storage Driver: overlay
 Backing Filesystem: extfs
 Supports d_type: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: 949e6fa
Security Options:
 seccomp
  Profile: default
Kernel Version: 4.9.24-rancher
Operating System: RancherOS v1.0.1
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 3.615 GiB
Name: rancheros-cotizador
ID: ...
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

Operating system and kernel: (cat /etc/os-release, uname -r preferred)

RancherOS v1.0.1
4.9.24-rancher

Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
GCE (Google Cloud Engine)

Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node rancher

Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
N/A

Steps to Reproduce:

  1. Boot in instance the rancheros-v1.0.1.tar.gz and install in a new disk using the next cloud-config.yml:
#cloud-config

hostname: rancheros-machine

rancher:
  network:
    dns:
      nameservers:
        - 8.8.8.8
        - 8.8.4.4

ssh_authorized_keys:
  - ssh-rsa ...
  1. Create a new instance using the new disk with RancheOS installed.

  2. Install Rancher server latest version with the next command:

sudo docker run -d --restart=unless-stopped -p 8080:8080 --name rancher-server rancher/server

Results:
Access from browser to http://x.x.x.x:8080/ and stuck in "Loading ..." UI with the page in white.

But ..
if I access to the machine via Tunnel SSH and I access to the url http://localhost:8080/, I can access to the rancher server UI and it works fine.

Logs

170529  5:03:47 [Note] /usr/sbin/mysqld (mysqld 5.5.53-0ubuntu0.14.04.1) starting as process 25 ...
Uptime: 2  Threads: 1  Questions: 2  Slow queries: 0  Opens: 33  Flush tables: 1  Open tables: 26  Queries per second avg: 1.000
Setting up database
Importing schema
CATTLE_AGENT_PACKAGE_HOST_API_URL=/usr/share/cattle/artifacts/host-api.tar.gz
CATTLE_AGENT_PACKAGE_PYTHON_AGENT_URL=/usr/share/cattle/artifacts/go-agent.tar.gz
CATTLE_API_UI_URL=//releases.rancher.com/api-ui/1.0.8
CATTLE_CATTLE_VERSION=v0.179.7
CATTLE_DB_CATTLE_DATABASE=mysql
CATTLE_DB_CATTLE_MYSQL_HOST=localhost
CATTLE_DB_CATTLE_MYSQL_NAME=cattle
CATTLE_DB_CATTLE_MYSQL_PORT=3306
CATTLE_DB_CATTLE_USERNAME=cattle
CATTLE_GRAPHITE_HOST=
CATTLE_GRAPHITE_PORT=
CATTLE_HOME=/var/lib/cattle
CATTLE_HOST_API_PROXY_MODE=embedded
CATTLE_LOGBACK_OUTPUT_GELF_HOST=
CATTLE_LOGBACK_OUTPUT_GELF_PORT=
CATTLE_RANCHER_CLI_VERSION=v0.6.0
CATTLE_RANCHER_COMPOSE_VERSION=v0.12.5
CATTLE_RANCHER_SERVER_IMAGE=rancher/server
CATTLE_RANCHER_SERVER_VERSION=v1.6.0
CATTLE_USE_LOCAL_ARTIFACTS=true
DEFAULT_CATTLE_API_UI_CSS_URL=/api-ui/ui.min.css
DEFAULT_CATTLE_API_UI_INDEX=//releases.rancher.com/ui/1.6.1
DEFAULT_CATTLE_API_UI_JS_URL=/api-ui/ui.min.js
DEFAULT_CATTLE_AUTH_SERVICE_EXECUTE=true
DEFAULT_CATTLE_CATALOG_EXECUTE=true
DEFAULT_CATTLE_CATALOG_URL={"catalogs":{"community":{"url":"https://git.rancher.io/community-catalog.git","branch":"master"},"library":{"url":"https://git.rancher.io/rancher-catalog.git","branch":"master"}}}
DEFAULT_CATTLE_COMPOSE_EXECUTOR_EXECUTE=true
DEFAULT_CATTLE_MACHINE_EXECUTE=true
DEFAULT_CATTLE_RANCHER_CLI_DARWIN_URL=https://releases.rancher.com/cli/v0.6.0/rancher-darwin-amd64-v0.6.0.tar.gz
DEFAULT_CATTLE_RANCHER_CLI_LINUX_URL=https://releases.rancher.com/cli/v0.6.0/rancher-linux-amd64-v0.6.0.tar.gz
DEFAULT_CATTLE_RANCHER_CLI_WINDOWS_URL=https://releases.rancher.com/cli/v0.6.0/rancher-windows-386-v0.6.0.zip
DEFAULT_CATTLE_RANCHER_COMPOSE_DARWIN_URL=https://releases.rancher.com/compose/v0.12.5/rancher-compose-darwin-amd64-v0.12.5.tar.gz
DEFAULT_CATTLE_RANCHER_COMPOSE_LINUX_URL=https://releases.rancher.com/compose/v0.12.5/rancher-compose-linux-amd64-v0.12.5.tar.gz
DEFAULT_CATTLE_RANCHER_COMPOSE_WINDOWS_URL=https://releases.rancher.com/compose/v0.12.5/rancher-compose-windows-386-v0.12.5.zip
DEFAULT_CATTLE_SECRETS_API_EXECUTE=true
DEFAULT_CATTLE_WEBHOOK_SERVICE_EXECUTE=true
05:04:14.234 [main] INFO  ConsoleStatus - Loading configuration
2017-05-29 05:04:27,556 INFO    [main] [ConsoleStatus] Starting DB migration
2017-05-29 05:04:32,981 WARN    [main] [liquibase] modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
2017-05-29 05:04:32,981 WARN    [main] [liquibase] modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
2017-05-29 05:04:32,981 WARN    [main] [liquibase] modifyDataType will lose primary key/autoincrement/not null settings for mysql.  Use <sql> and re-specify all configuration if this is the case
2017-05-29 05:04:42,178 INFO    [main] [ConsoleStatus] DB migration done
2017-05-29 05:04:43,012 INFO    [main] [ConsoleStatus] Cluster membership changed [127.0.0.1:9345]
2017-05-29 05:04:43,020 INFO    [main] [ConsoleStatus] Checking cluster state on start-up
2017-05-29 05:04:46,756 INFO    [main] [ConsoleStatus] Loading processes
2017-05-29 05:04:48,182 INFO    [main] [ConsoleStatus] Starting [1/88]: LockDelegatorImpl
2017-05-29 05:04:48,187 INFO    [main] [ConsoleStatus] Starting [2/88]: AnnotatedListenerRegistration
2017-05-29 05:04:48,313 INFO    [main] [ConsoleStatus] Starting [3/88]: EventService
2017-05-29 05:04:48,313 INFO    [main] [ConsoleStatus] Starting [4/88]: DefaultObjectMetaDataManager
2017-05-29 05:04:50,859 INFO    [main] [ConsoleStatus] Starting [5/88]: JsonDefaultsProvider
2017-05-29 05:04:51,127 INFO    [main] [ConsoleStatus] Starting [6/88]: ObjectDefaultsPostInstantiationHandler
2017-05-29 05:04:51,134 INFO    [main] [ConsoleStatus] Starting [7/88]: DefaultProcessManager
2017-05-29 05:04:51,144 INFO    [main] [ConsoleStatus] Starting [8/88]: SampleDataStartupV3
2017-05-29 05:04:52,693 INFO    [main] [ConsoleStatus] Starting [9/88]: TaskManagerImpl
2017-05-29 05:04:52,864 INFO    [main] [ConsoleStatus] Starting [10/88]: ServiceAccountCreateStartup
2017-05-29 05:04:54,880 INFO    [main] [ConsoleStatus] Starting [11/88]: WebsocketProxyLauncher
2017-05-29 05:04:54,884 INFO    [main] [ConsoleStatus] Starting [12/88]: SchemaFactory:v1-admin
2017-05-29 05:04:55,263 INFO    [main] [ConsoleStatus] Starting [13/88]: SchemaFactory:v1-agent
2017-05-29 05:04:55,275 INFO    [main] [ConsoleStatus] Starting [14/88]: SchemaFactory:v1-agentRegister
2017-05-29 05:04:55,284 INFO    [main] [ConsoleStatus] Starting [15/88]: SchemaFactory:v1-base
2017-05-29 05:04:55,837 INFO    [main] [ConsoleStatus] Starting [16/88]: SchemaFactory:v1-member
2017-05-29 05:04:56,164 INFO    [main] [ConsoleStatus] Starting [17/88]: SchemaFactory:v1-owner
2017-05-29 05:04:56,421 INFO    [main] [ConsoleStatus] Starting [18/88]: SchemaFactory:v1-project
2017-05-29 05:04:56,722 INFO    [main] [ConsoleStatus] Starting [19/88]: SchemaFactory:v1-projectadmin
time="2017-05-29T05:04:56Z" level=info msg="Downloading key from http://localhost:8081/v1/scripts/api.crt"
time="2017-05-29T05:04:56Z" level=fatal msg="Error getting config." error="Invalid key content"
2017-05-29 05:04:57,026 INFO    [main] [ConsoleStatus] Starting [20/88]: SchemaFactory:v1-readAdmin
2017-05-29 05:04:57,319 INFO    [main] [ConsoleStatus] Starting [21/88]: SchemaFactory:v1-readonly
2017-05-29 05:04:57,481 INFO    [main] [ConsoleStatus] Starting [22/88]: SchemaFactory:v1-register
2017-05-29 05:04:57,489 INFO    [main] [ConsoleStatus] Starting [23/88]: SchemaFactory:v1-restricted
2017-05-29 05:04:57,593 INFO    [main] [ConsoleStatus] Starting [24/88]: SchemaFactory:v1-service
2017-05-29 05:04:57,719 INFO    [main] [ConsoleStatus] Starting [25/88]: SchemaFactory:v1-token
2017-05-29 05:04:57,722 INFO    [main] [ConsoleStatus] Starting [26/88]: SchemaFactory:v1-user
2017-05-29 05:04:57,867 INFO    [main] [ConsoleStatus] Starting [27/88]: AgentBasedProcessHandler
2017-05-29 05:04:57,867 INFO    [main] [ConsoleStatus] Starting [28/88]: AgentHostStateUpdate
2017-05-29 05:04:57,868 INFO    [main] [ConsoleStatus] Starting [29/88]: AuthServiceLauncher
2017-05-29 05:04:57,871 INFO    [main] [ConsoleStatus] Starting [30/88]: BackupCreate
2017-05-29 05:04:57,875 INFO    [main] [ConsoleStatus] Starting [31/88]: BackupRemove
2017-05-29 05:04:57,878 INFO    [main] [ConsoleStatus] Starting [32/88]: CatalogLauncher
2017-05-29 05:04:57,879 INFO    [main] [ConsoleStatus] Starting [33/88]: ComposeExecutorLauncher
2017-05-29 05:04:57,879 INFO    [main] [ConsoleStatus] Starting [34/88]: ConfigItemRegistryImpl
2017-05-29 05:04:58,025 INFO    [main] [ConsoleStatus] Starting [35/88]: ConfigItemServerImpl
time="2017-05-29T05:04:59Z" level=info msg="Downloading key from http://localhost:8081/v1/scripts/api.crt"
time="2017-05-29T05:04:59Z" level=fatal msg="Error getting config." error="Invalid key content"
time="2017-05-29T05:04:59Z" level=info msg="Starting rancher-compose-executor" version=v0.14.6
time="2017-05-29T05:05:00Z" level=fatal msg="Unable to create event router" error="Get http://localhost:8080/v2-beta: dial tcp [::1]:8080: getsockopt: connection refused"
time="2017-05-29T05:05:00Z" level=info msg="Starting Catalog Service (port 8088, refresh interval 300 seconds)"
2017-05-29 05:05:00,150 INFO    [main] [ConsoleStatus] Starting [36/88]: ConfigUpdatePublisher
2017-05-29 05:05:00,151 INFO    [main] [ConsoleStatus] Starting [37/88]: DataManager
2017-05-29 05:05:00,153 INFO    [main] [ConsoleStatus] Starting [38/88]: DefaultAuthorizationProvider
time="2017-05-29T05:05:01Z" level=info msg="Downloading key from http://localhost:8081/v1/scripts/api.crt"
time="2017-05-29T05:05:01Z" level=fatal msg="Error getting config." error="Invalid key content"
2017-05-29 05:05:01,017 ERROR [:] [] [] [] [ecutorService-1] [o.a.c.m.context.NoExceptionRunnable ] Uncaught exception org.jooq.exception.DataAccessException: SQL [insert into `data` (`name`, `visible`, `value`) values (?, ?, ?)]; (conn:10) Duplicate entry 'host.api.key' for key 'idx_data_name'
Query is: insert into `data` (`name`, `visible`, `value`) values (?, ?, ?), parameters ['host.api.key',0,'-----BEGIN RSA PRIVATE KEY-----
...
        at org.jooq.impl.Utils.translate(Utils.java:1287) ~[jooq-3.3.0.jar:na]
        at org.jooq.impl.DefaultExecuteContext.sqlException(DefaultExecuteContext.java:495) ~[jooq-3.3.0.jar:na]
        at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:326) ~[jooq-3.3.0.jar:na]
        at org.jooq.impl.UpdatableRecordImpl.storeInsert0(UpdatableRecordImpl.java:230) ~[jooq-3.3.0.jar:na]
        at org.jooq.impl.UpdatableRecordImpl.access$100(UpdatableRecordImpl.java:90) ~[jooq-3.3.0.jar:na]
        at org.jooq.impl.UpdatableRecordImpl$2.operate(UpdatableRecordImpl.java:201) ~[jooq-3.3.0.jar:na]
        at org.jooq.impl.RecordDelegate.operate(RecordDelegate.java:123) ~[jooq-3.3.0.jar:na]
        at org.jooq.impl.UpdatableRecordImpl.storeInsert(UpdatableRecordImpl.java:196) ~[jooq-3.3.0.jar:na]
        at org.jooq.impl.UpdatableRecordImpl.insert(UpdatableRecordImpl.java:144) ~[jooq-3.3.0.jar:na]
        at io.cattle.platform.object.impl.JooqObjectManager$1.executeNoResult(JooqObjectManager.java:80) ~[cattle-framework-object-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.engine.idempotent.IdempotentExecutionNoReturn.execute(IdempotentExecutionNoReturn.java:7) ~[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.engine.idempotent.IdempotentExecutionNoReturn.execute(IdempotentExecutionNoReturn.java:3) ~[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.engine.idempotent.Idempotent.change(Idempotent.java:88) ~[cattle-framework-engine-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.object.impl.JooqObjectManager.insert(JooqObjectManager.java:77) ~[cattle-framework-object-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.object.impl.AbstractObjectManager.create(AbstractObjectManager.java:62) ~[cattle-framework-object-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.object.impl.AbstractObjectManager.create(AbstractObjectManager.java:72) ~[cattle-framework-object-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.core.dao.impl.DataDaoImpl$1.doWithLock(DataDaoImpl.java:53) ~[cattle-iaas-model-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.core.dao.impl.DataDaoImpl$1.doWithLock(DataDaoImpl.java:33) ~[cattle-iaas-model-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.lock.impl.AbstractLockManagerImpl$3.doWithLock(AbstractLockManagerImpl.java:40) ~[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.lock.impl.LockManagerImpl.doLock(LockManagerImpl.java:33) ~[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:13) ~[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.lock.impl.AbstractLockManagerImpl.lock(AbstractLockManagerImpl.java:37) ~[cattle-framework-lock-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.core.dao.impl.DataDaoImpl.getOrCreate(DataDaoImpl.java:33) ~[cattle-iaas-model-0.5.0-SNAPSHOT.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_72]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_72]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_72]
        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_72]
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333) ~[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
        at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.3.2.RELEASE.jar:4.3.2.RELEASE]
        at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:280) ~[spring-tx-4.3.2.RELEASE.jar:4.3.2.RELEASE]
        at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.3.2.RELEASE.jar:4.3.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92) ~[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) ~[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213) ~[spring-aop-4.3.2.RELEASE.jar:4.3.2.RELEASE]
        at com.sun.proxy.$Proxy46.getOrCreate(Unknown Source) ~[na:na]
        at io.cattle.platform.host.service.HostApiRSAKeyProvider.getKeyPair(HostApiRSAKeyProvider.java:52) ~[cattle-host-api-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.host.service.HostApiRSAKeyProvider.getPublicKeys(HostApiRSAKeyProvider.java:107) ~[cattle-host-api-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.docker.machine.launch.AuthServiceLauncher.getPublicKey(AuthServiceLauncher.java:94) ~[cattle-docker-machine-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.docker.machine.launch.AuthServiceLauncher.setEnvironment(AuthServiceLauncher.java:71) ~[cattle-docker-machine-0.5.0-SNAPSHOT.jar:na]
        at io.cattle.platform.service.launcher.GenericServiceLauncher.doRun(GenericServiceLauncher.java:200) ~[cattle-iaas-logic-common-0.5.0-SNAPSHOT.jar:na]
        at org.apache.cloudstack.managed.context.NoExceptionRunnable.runInContext(NoExceptionRunnable.java:15) ~[cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:108) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
        at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) [cattle-framework-managed-context-0.5.0-SNAPSHOT.jar:na]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_72]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_72]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_72]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_72]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_72]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_72]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_72]
Caused by: java.sql.SQLIntegrityConstraintViolationException: (conn:10) Duplicate entry 'host.api.key' for key 'idx_data_name'
Query is: insert into `data` (`name`, `visible`, `value`) values (?, ?, ?), parameters ['host.api.key',0,'-----BEGIN RSA PRIVATE KEY-----
...
        at org.mariadb.jdbc.internal.util.ExceptionMapper.get(ExceptionMapper.java:133) ~[mariadb-java-client-1.5.8.jar:na]
        at org.mariadb.jdbc.internal.util.ExceptionMapper.getException(ExceptionMapper.java:101) ~[mariadb-java-client-1.5.8.jar:na]
        at org.mariadb.jdbc.internal.util.ExceptionMapper.throwAndLogException(ExceptionMapper.java:77) ~[mariadb-java-client-1.5.8.jar:na]
        at org.mariadb.jdbc.MariaDbStatement.executeQueryEpilog(MariaDbStatement.java:224) ~[mariadb-java-client-1.5.8.jar:na]
        at org.mariadb.jdbc.MariaDbServerPreparedStatement.executeInternal(MariaDbServerPreparedStatement.java:411) ~[mariadb-java-client-1.5.8.jar:na]
        at org.mariadb.jdbc.MariaDbServerPreparedStatement.execute(MariaDbServerPreparedStatement.java:361) ~[mariadb-java-client-1.5.8.jar:na]
        at org.mariadb.jdbc.MariaDbServerPreparedStatement.executeUpdate(MariaDbServerPreparedStatement.java:350) ~[mariadb-java-client-1.5.8.jar:na]
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.4.jar:1.4]
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105) ~[commons-dbcp-1.4.jar:1.4]
        at org.jooq.tools.jdbc.DefaultPreparedStatement.executeUpdate(DefaultPreparedStatement.java:88) ~[jooq-3.3.0.jar:na]
        at org.jooq.impl.AbstractStoreQuery.execute(AbstractStoreQuery.java:346) ~[jooq-3.3.0.jar:na]
        at org.jooq.impl.AbstractQuery.execute(AbstractQuery.java:322) ~[jooq-3.3.0.jar:na]
        ... 53 common frames omitted
Caused by: org.mariadb.jdbc.internal.util.dao.QueryException: Duplicate entry 'host.api.key' for key 'idx_data_name'
Query is: insert into `data` (`name`, `visible`, `value`) values (?, ?, ?), parameters ['host.api.key',0,'-----BEGIN RSA PRIVATE KEY-----
...
        at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readErrorPacket(AbstractQueryProtocol.java:1115) ~[mariadb-java-client-1.5.8.jar:na]
        at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.readPacket(AbstractQueryProtocol.java:1047) ~[mariadb-java-client-1.5.8.jar:na]
        at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.getResult(AbstractQueryProtocol.java:1002) ~[mariadb-java-client-1.5.8.jar:na]
        at org.mariadb.jdbc.internal.protocol.AbstractQueryProtocol.executePreparedQuery(AbstractQueryProtocol.java:588) ~[mariadb-java-client-1.5.8.jar:na]
        at org.mariadb.jdbc.MariaDbServerPreparedStatement.executeInternal(MariaDbServerPreparedStatement.java:399) ~[mariadb-java-client-1.5.8.jar:na]
        ... 60 common frames omitted

time="2017-05-29T05:05:02Z" level=info msg="Starting rancher-compose-executor" version=v0.14.6
time="2017-05-29T05:05:02Z" level=fatal msg="Unable to create event router" error="Get http://localhost:8080/v2-beta: dial tcp [::1]:8080: getsockopt: connection refused"
time="2017-05-29T05:05:03Z" level=info msg="Downloading key from http://localhost:8081/v1/scripts/api.crt"
time="2017-05-29T05:05:03Z" level=fatal msg="Error getting config." error="Invalid key content"
time="2017-05-29T05:05:03Z" level=fatal msg="Failed to configure cattle client: Get http://localhost:8080/v1: dial tcp [::1]:8080: getsockopt: connection refused"
time="2017-05-29T05:05:04Z" level=info msg="Starting rancher-compose-executor" version=v0.14.6
time="2017-05-29T05:05:04Z" level=fatal msg="Unable to create event router" error="Get http://localhost:8080/v2-beta: dial tcp [::1]:8080: getsockopt: connection refused"
time="2017-05-29T05:05:05Z" level=info msg="Downloading key from http://localhost:8081/v1/scripts/api.crt"
time="2017-05-29T05:05:05Z" level=fatal msg="Error getting config." error="Invalid key content"
time="2017-05-29T05:05:05Z" level=fatal msg="Failed to configure cattle client: Get http://localhost:8080/v1: dial tcp [::1]:8080: getsockopt: connection refused"
2017-05-29 05:05:06,019 INFO    [main] [ConsoleStatus] Starting [39/88]: DefaultJooqResourceManager
2017-05-29 05:05:06,028 INFO    [main] [ConsoleStatus] Starting [40/88]: DefaultObjectSerializerFactoryImpl
2017-05-29 05:05:06,029 INFO    [main] [ConsoleStatus] Starting [41/88]: DockerComposeStackHandler
2017-05-29 05:05:06,030 INFO    [main] [ConsoleStatus] Starting [42/88]: DynamicExtensionManager
2017-05-29 05:05:06,032 INFO    [main] [ConsoleStatus] Starting [43/88]: ExtensionResourceManagerLocator
2017-05-29 05:05:06,033 INFO    [main] [ConsoleStatus] Starting [44/88]: HostApiRSAKeyProvider
2017-05-29 05:05:06,036 INFO    [main] [ConsoleStatus] Starting [45/88]: HostTemplateManager
2017-05-29 05:05:06,037 INFO    [main] [ConsoleStatus] Starting [46/88]: ImageStoragePoolMapActivate
2017-05-29 05:05:06,041 INFO    [main] [ConsoleStatus] Starting [47/88]: InstanceHostMapActivate
2017-05-29 05:05:06,042 INFO    [main] [ConsoleStatus] Starting [48/88]: InstanceHostMapDeactivate
2017-05-29 05:05:06,043 INFO    [main] [ConsoleStatus] Starting [49/88]: InstanceManager
2017-05-29 05:05:06,043 INFO    [main] [ConsoleStatus] Starting [50/88]: MachineDriverLoader
2017-05-29 05:05:06,048 INFO    [main] [ConsoleStatus] Starting [51/88]: MachineLauncher
2017-05-29 05:05:06,048 INFO    [main] [ConsoleStatus] Starting [52/88]: MetadataConfigItemFactory
time="2017-05-29T05:05:06Z" level=info msg="Starting rancher-compose-executor" version=v0.14.6
2017-05-29 05:05:06,058 INFO    [main] [ConsoleStatus] Starting [53/88]: MountRemove
2017-05-29 05:05:06,058 INFO    [main] [ConsoleStatus] Starting [54/88]: PostInstancePurge
2017-05-29 05:05:06,059 INFO    [main] [ConsoleStatus] Starting [55/88]: PostStartLabelsProviders
2017-05-29 05:05:06,059 INFO    [main] [ConsoleStatus] Starting [56/88]: ProjectMemberResourceManager
2017-05-29 05:05:06,060 INFO    [main] [ConsoleStatus] Starting [57/88]: ProjectResourceManager
2017-05-29 05:05:06,060 INFO    [main] [ConsoleStatus] Starting [58/88]: PullTaskCreate
2017-05-29 05:05:06,061 INFO    [main] [ConsoleStatus] Starting [59/88]: RestoreFromBackup
2017-05-29 05:05:06,061 INFO    [main] [ConsoleStatus] Starting [60/88]: RevertToSnapshot
2017-05-29 05:05:06,062 INFO    [main] [ConsoleStatus] Starting [61/88]: SampleDataStartupV10
time="2017-05-29T05:05:06Z" level=fatal msg="Unable to create event router" error="Get http://localhost:8080/v2-beta: dial tcp [::1]:8080: getsockopt: connection refused"
2017-05-29 05:05:06,139 INFO    [main] [ConsoleStatus] Starting [62/88]: SampleDataStartupV11
2017-05-29 05:05:06,147 INFO    [main] [ConsoleStatus] Starting [63/88]: SampleDataStartupV12
2017-05-29 05:05:06,167 INFO    [main] [ConsoleStatus] Starting [64/88]: SampleDataStartupV13
2017-05-29 05:05:06,219 INFO    [main] [ConsoleStatus] Starting [65/88]: SampleDataStartupV14
2017-05-29 05:05:06,227 INFO    [main] [ConsoleStatus] Starting [66/88]: SampleDataStartupV5
2017-05-29 05:05:06,303 INFO    [main] [ConsoleStatus] Starting [67/88]: SampleDataStartupV6
2017-05-29 05:05:06,317 INFO    [main] [ConsoleStatus] Starting [68/88]: SampleDataStartupV7
2017-05-29 05:05:06,324 INFO    [main] [ConsoleStatus] Starting [69/88]: SampleDataStartupV8
2017-05-29 05:05:06,334 INFO    [main] [ConsoleStatus] Starting [70/88]: SampleDataStartupV9
2017-05-29 05:05:06,343 INFO    [main] [ConsoleStatus] Starting [71/88]: SecretManager
2017-05-29 05:05:06,344 INFO    [main] [ConsoleStatus] Starting [72/88]: SecretsApiLauncher
2017-05-29 05:05:06,344 INFO    [main] [ConsoleStatus] Starting [73/88]: ServiceManager
2017-05-29 05:05:06,345 INFO    [main] [ConsoleStatus] Starting [74/88]: SettingManager
2017-05-29 05:05:06,345 INFO    [main] [ConsoleStatus] Starting [75/88]: SnapshotCreate
2017-05-29 05:05:06,348 INFO    [main] [ConsoleStatus] Starting [76/88]: SnapshotRemove
2017-05-29 05:05:06,348 INFO    [main] [ConsoleStatus] Starting [77/88]: StackAgentHandler
2017-05-29 05:05:06,348 INFO    [main] [ConsoleStatus] Starting [78/88]: StackAgentHandler
2017-05-29 05:05:06,348 INFO    [main] [ConsoleStatus] Starting [79/88]: StackAgentHandler
2017-05-29 05:05:06,348 INFO    [main] [ConsoleStatus] Starting [80/88]: StackAgentHandler
2017-05-29 05:05:06,349 INFO    [main] [ConsoleStatus] Starting [81/88]: StackAgentHandler
2017-05-29 05:05:06,349 INFO    [main] [ConsoleStatus] Starting [82/88]: TelemetryLauncher
2017-05-29 05:05:06,349 INFO    [main] [ConsoleStatus] Starting [83/88]: VolumeManager
2017-05-29 05:05:06,350 INFO    [main] [ConsoleStatus] Starting [84/88]: VolumeRemove
2017-05-29 05:05:06,350 INFO    [main] [ConsoleStatus] Starting [85/88]: VolumeStoragePoolMapActivate
2017-05-29 05:05:06,351 INFO    [main] [ConsoleStatus] Starting [86/88]: VolumeStoragePoolMapRemove
2017-05-29 05:05:06,356 INFO    [main] [ConsoleStatus] Starting [87/88]: WebhookServiceLauncher
2017-05-29 05:05:06,356 INFO    [main] [ConsoleStatus] Starting [88/88]: project.template.reload
2017-05-29 05:05:06,516 INFO    [main] [ConsoleStatus] [DONE ] [60334ms] Startup Succeeded, Listening on port 8081
time="2017-05-29T05:05:07Z" level=info msg="Downloading key from http://localhost:8081/v1/scripts/api.crt"
time="2017-05-29T05:05:07Z" level=fatal msg="Failed to configure cattle client: Get http://localhost:8080/v1: dial tcp [::1]:8080: getsockopt: connection refused"
time="2017-05-29T05:05:07Z" level=error msg="Failed to update existing repo cache: exit status 1"
time="2017-05-29T05:05:07Z" level=info msg="Starting websocket proxy. Listening on [:8080], Proxying to cattle API at [localhost:8081], Monitoring parent pid [8]."
time="2017-05-29T05:05:07Z" level=info msg="Configured http API filter"
time="2017-05-29T05:05:07Z" level=info msg="Configured authTokenValidator API filter"
time="2017-05-29T05:05:07Z" level=info msg="Master config file: master.conf"
time="2017-05-29T05:05:07Z" level=info msg="Downloading certificate from http://localhost:8081/v1/credentials/1c1/certificate"
time="2017-05-29T05:05:08Z" level=info msg="Starting rancher-compose-executor" version=v0.14.6
time="2017-05-29T05:05:08Z" level=info msg="Starting go-machine-service..." gitcommit=v0.38.1 service=gms
time="2017-05-29T05:05:08Z" level=info msg="Waiting for handler registration (1/2)" service=gms
time="2017-05-29T05:05:08Z" level=info msg="Webhook service listening on 8085"
time="2017-05-29T05:05:12Z" level=info msg="Starting Rancher Auth service"
time="2017-05-29T05:05:12Z" level=info msg="No Auth provider configured"
time="2017-05-29T05:05:12Z" level=info msg="Listening on :8090"
time="2017-05-29T05:05:13Z" level=error msg="Failed to update existing repo cache: exit status 1"
time="2017-05-29T05:05:14Z" level=info msg="Initializing event router" workerCount=5
time="2017-05-29T05:05:14Z" level=info msg="Initializing event router" workerCount=10
time="2017-05-29T05:05:14Z" level=info msg="Initializing event router" workerCount=250
time="2017-05-29T05:05:14Z" level=info msg="Connection established"
time="2017-05-29T05:05:14Z" level=info msg="Starting websocket pings"
time="2017-05-29T05:05:14Z" level=info msg="Waiting for handler registration (2/2)" service=gms
time="2017-05-29T05:05:14Z" level=info msg="Connection established"
time="2017-05-29T05:05:14Z" level=info msg="Starting websocket pings"
time="2017-05-29T05:05:14Z" level=info msg="Connection established"
time="2017-05-29T05:05:14Z" level=info msg="Starting websocket pings"
time="2017-05-29T05:05:15Z" level=info msg="Installing builtin drivers" service=gms
time="2017-05-29T05:05:15Z" level=info msg="Initializing event router" workerCount=250
time="2017-05-29T05:05:15Z" level=info msg="Connection established"
time="2017-05-29T05:05:15Z" level=info msg="Starting websocket pings"
time="2017-05-29T05:05:15Z" level=info msg="Activating driver packet" service=gms
time="2017-05-29T05:05:15Z" level=info msg="Activating driver amazonec2" service=gms
time="2017-05-29T05:05:15Z" level=info msg=Event eventId=b0b96561-2037-410a-a725-df9f18a4324b name="machinedriver.activate;handler=goMachineService-machine" resourceId=1md1 service=gms
time="2017-05-29T05:05:15Z" level=info msg="Download https://github.com/packethost/docker-machine-driver-packet/releases/download/v0.1.2/docker-machine-driver-packet_linux-amd64.zip" service=gms
time="2017-05-29T05:05:15Z" level=info msg="Activating driver azure" service=gms
time="2017-05-29T05:05:15Z" level=info msg=Event eventId=98ea3451-677f-4916-a0d8-eb99ec5ccc63 name="machinedriver.activate;handler=goMachineService-machine" resourceId=1md2 service=gms
time="2017-05-29T05:05:15Z" level=info msg="Activating driver digitalocean" service=gms
time="2017-05-29T05:05:15Z" level=info msg=Event eventId=8cacdd5e-912e-4bee-9088-b9005c66c71f name="machinedriver.activate;handler=goMachineService-machine" resourceId=1md3 service=gms
time="2017-05-29T05:05:15Z" level=info msg="Installing builtin driver exoscale" service=gms
time="2017-05-29T05:05:15Z" level=info msg=Event eventId=e122d654-817d-4a5d-a1ce-e04e3395b0a6 name="machinedriver.activate;handler=goMachineService-machine" resourceId=1md4 service=gms
time="2017-05-29T05:05:15Z" level=info msg="Installing builtin driver generic" service=gms
time="2017-05-29T05:05:16Z" level=info msg="Installing builtin driver google" service=gms
time="2017-05-29T05:05:16Z" level=info msg="Installing builtin driver openstack" service=gms
time="2017-05-29T05:05:16Z" level=info msg="Installing builtin driver rackspace" service=gms
time="2017-05-29T05:05:16Z" level=info msg="Installing builtin driver softlayer" service=gms
time="2017-05-29T05:05:16Z" level=info msg="Installing builtin driver vmwarevcloudair" service=gms
time="2017-05-29T05:05:16Z" level=info msg="Installing builtin driver vmwarevsphere" service=gms
time="2017-05-29T05:05:16Z" level=info msg="Downloading all drivers" service=gms
time="2017-05-29T05:05:16Z" level=info msg="Creating schema amazonec2Config, roles [service member owner project admin user readAdmin readonly restricted]" id=1ds1 service=gms
time="2017-05-29T05:05:17Z" level=info msg="Done downloading all drivers" service=gms
time="2017-05-29T05:05:17Z" level=info msg="Found driver docker-machine-driver-packet" service=gms
time="2017-05-29T05:05:17Z" level=info msg="Copying /var/lib/cattle/machine-drivers/1f7058341420e2f525168052818c3f819ff78e9ca5f57d5a650a049bcd5945e9-docker-machine-driver-packet => /usr/local/bin/docker-machine-driver-packet-tmp" service=gms
time="2017-05-29T05:05:17Z" level=info msg="Creating schema azureConfig, roles [service member owner project admin user readAdmin readonly restricted]" id=1ds2 service=gms
time="2017-05-29T05:05:18Z" level=info msg="Creating schema digitaloceanConfig, roles [service member owner project admin user readAdmin readonly restricted]" id=1ds3 service=gms
time="2017-05-29T05:05:18Z" level=info msg="Updating machine jsons for  [amazonec2 packet amazonec2 azure digitalocean]" service=gms
time="2017-05-29T05:05:19Z" level=info msg="Creating schema machine, roles [service]" id=1ds4 service=gms
time="2017-05-29T05:05:19Z" level=info msg="Stack Create Event Received" eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:19Z" level=info msg="Stack Create Event Received" eventId=2f1fc423-cb82-4a93-8cc4-09b00a0359cc resourceId=1st2
time="2017-05-29T05:05:19Z" level=info msg="Stack Create Event Received" eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:19Z" level=info msg="Stack Create Event Received" eventId=e99e290d-0262-4943-9540-c16f2ddabaf2 resourceId=1st1
time="2017-05-29T05:05:19Z" level=info msg="Creating schema host, roles [service]" id=1ds5 service=gms
time="2017-05-29T05:05:20Z" level=info msg="Creating schema machine, roles [project member owner]" id=1ds6 service=gms
time="2017-05-29T05:05:21Z" level=info msg="[scheduler:]: Creating project " eventId=2f1fc423-cb82-4a93-8cc4-09b00a0359cc resourceId=1st2
time="2017-05-29T05:05:21Z" level=info msg="[scheduler:scheduler]: Creating " eventId=2f1fc423-cb82-4a93-8cc4-09b00a0359cc resourceId=1st2
time="2017-05-29T05:05:21Z" level=info msg="[network-services:]: Creating project " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:21Z" level=info msg="[network-services:network-manager]: Creating " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:21Z" level=info msg="[network-services:metadata]: Creating " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:21Z" level=info msg="Creating service network-manager"
time="2017-05-29T05:05:21Z" level=info msg="Creating service metadata"
time="2017-05-29T05:05:21Z" level=info msg="Creating service scheduler"
time="2017-05-29T05:05:21Z" level=info msg="[healthcheck:]: Creating project " eventId=e99e290d-0262-4943-9540-c16f2ddabaf2 resourceId=1st1
time="2017-05-29T05:05:21Z" level=info msg="[healthcheck:healthcheck]: Creating " eventId=e99e290d-0262-4943-9540-c16f2ddabaf2 resourceId=1st1
time="2017-05-29T05:05:21Z" level=info msg="[ipsec:]: Creating project " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:21Z" level=info msg="[ipsec:ipsec]: Creating " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:21Z" level=info msg="Creating service healthcheck"
time="2017-05-29T05:05:21Z" level=info msg="Creating service ipsec"
time="2017-05-29T05:05:21Z" level=info msg="Creating schema host, roles [project member owner]" id=1ds7 service=gms
time="2017-05-29T05:05:22Z" level=info msg="[scheduler:scheduler]: Created " eventId=2f1fc423-cb82-4a93-8cc4-09b00a0359cc resourceId=1st2
time="2017-05-29T05:05:22Z" level=info msg="[scheduler:]: Project created " eventId=2f1fc423-cb82-4a93-8cc4-09b00a0359cc resourceId=1st2
time="2017-05-29T05:05:22Z" level=info msg="[scheduler:]: Creating project " eventId=2f1fc423-cb82-4a93-8cc4-09b00a0359cc resourceId=1st2
time="2017-05-29T05:05:22Z" level=info msg="[scheduler:scheduler]: Creating " eventId=2f1fc423-cb82-4a93-8cc4-09b00a0359cc resourceId=1st2
time="2017-05-29T05:05:22Z" level=info msg="[network-services:network-manager]: Created " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:metadata]: Created " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:dns]: Creating " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:dns]: Created " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:]: Project created " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:]: Creating project " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:network-manager]: Creating " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:metadata]: Creating " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[healthcheck:healthcheck]: Created " eventId=e99e290d-0262-4943-9540-c16f2ddabaf2 resourceId=1st1
time="2017-05-29T05:05:22Z" level=info msg="[healthcheck:]: Project created " eventId=e99e290d-0262-4943-9540-c16f2ddabaf2 resourceId=1st1
time="2017-05-29T05:05:22Z" level=info msg="[healthcheck:]: Creating project " eventId=e99e290d-0262-4943-9540-c16f2ddabaf2 resourceId=1st1
time="2017-05-29T05:05:22Z" level=info msg="[healthcheck:healthcheck]: Creating " eventId=e99e290d-0262-4943-9540-c16f2ddabaf2 resourceId=1st1
time="2017-05-29T05:05:22Z" level=info msg="[scheduler:scheduler]: Created " eventId=2f1fc423-cb82-4a93-8cc4-09b00a0359cc resourceId=1st2
time="2017-05-29T05:05:22Z" level=info msg="[scheduler:]: Project created " eventId=2f1fc423-cb82-4a93-8cc4-09b00a0359cc resourceId=1st2
time="2017-05-29T05:05:22Z" level=info msg="Stack Create Event Done" eventId=2f1fc423-cb82-4a93-8cc4-09b00a0359cc resourceId=1st2
time="2017-05-29T05:05:22Z" level=info msg="[ipsec:ipsec]: Created " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:22Z" level=info msg="[ipsec:router]: Creating " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:22Z" level=info msg="[ipsec:router]: Created " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:22Z" level=info msg="[ipsec:cni-driver]: Creating " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:22Z" level=info msg="[ipsec:cni-driver]: Created " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:22Z" level=info msg="[ipsec:]: Project created " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:22Z" level=info msg="[ipsec:]: Creating project " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:22Z" level=info msg="[ipsec:ipsec]: Creating " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:22Z" level=info msg="[network-services:metadata]: Created " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:dns]: Creating " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:dns]: Created " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:network-manager]: Created " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[network-services:]: Project created " eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="Stack Create Event Done" eventId=97a7142c-d3b0-4e99-8d49-0e4bd8c7a8d3 resourceId=1st4
time="2017-05-29T05:05:22Z" level=info msg="[healthcheck:healthcheck]: Created " eventId=e99e290d-0262-4943-9540-c16f2ddabaf2 resourceId=1st1
time="2017-05-29T05:05:22Z" level=info msg="[healthcheck:]: Project created " eventId=e99e290d-0262-4943-9540-c16f2ddabaf2 resourceId=1st1
time="2017-05-29T05:05:22Z" level=info msg="Stack Create Event Done" eventId=e99e290d-0262-4943-9540-c16f2ddabaf2 resourceId=1st1
time="2017-05-29T05:05:23Z" level=info msg="Creating schema machine, roles [admin user readAdmin]" id=1ds8 service=gms
time="2017-05-29T05:05:23Z" level=info msg="[ipsec:ipsec]: Created " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:23Z" level=info msg="[ipsec:cni-driver]: Creating " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:23Z" level=info msg="[ipsec:router]: Creating " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:23Z" level=info msg="[ipsec:router]: Created " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:23Z" level=info msg="[ipsec:cni-driver]: Created " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:23Z" level=info msg="[ipsec:]: Project created " eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:23Z" level=info msg="Stack Create Event Done" eventId=b9b14625-35b9-461c-af19-bf3cb41a7d04 resourceId=1st3
time="2017-05-29T05:05:23Z" level=info msg="Creating schema host, roles [admin user readAdmin]" id=1ds9 service=gms
time="2017-05-29T05:05:23Z" level=info msg="Creating schema machine, roles [readonly]" id=1ds10 service=gms
time="2017-05-29T05:05:24Z" level=info msg="Creating schema host, roles [readonly]" id=1ds11 service=gms
time="2017-05-29T05:05:24Z" level=info msg="Creating schema packetConfig, roles [service member owner project admin user readAdmin readonly restricted]" id=1ds12 service=gms
time="2017-05-29T05:05:24Z" level=info msg="Updating machine jsons for  [azure packet amazonec2 azure digitalocean]" service=gms
time="2017-05-29T05:05:25Z" level=info msg="Creating schema machine, roles [service]" id=1ds13 service=gms
time="2017-05-29T05:05:26Z" level=info msg="Creating schema host, roles [service]" id=1ds14 service=gms
time="2017-05-29T05:05:27Z" level=info msg="Creating schema machine, roles [project member owner]" id=1ds15 service=gms
time="2017-05-29T05:05:27Z" level=info msg="Creating schema host, roles [project member owner]" id=1ds16 service=gms
time="2017-05-29T05:05:28Z" level=info msg="Creating schema machine, roles [admin user readAdmin]" id=1ds17 service=gms
time="2017-05-29T05:05:28Z" level=info msg="Creating schema host, roles [admin user readAdmin]" id=1ds18 service=gms
time="2017-05-29T05:05:28Z" level=info msg="Creating schema machine, roles [readonly]" id=1ds19 service=gms
time="2017-05-29T05:05:29Z" level=info msg="Creating schema host, roles [readonly]" id=1ds20 service=gms
time="2017-05-29T05:05:29Z" level=info msg="Updating machine jsons for  [digitalocean packet amazonec2 azure digitalocean]" service=gms
time="2017-05-29T05:05:30Z" level=info msg="Creating schema machine, roles [service]" id=1ds21 service=gms
time="2017-05-29T05:05:31Z" level=info msg="Creating schema host, roles [service]" id=1ds22 service=gms
time="2017-05-29T05:05:31Z" level=info msg="Creating schema machine, roles [project member owner]" id=1ds23 service=gms
time="2017-05-29T05:05:32Z" level=info msg="Creating schema host, roles [project member owner]" id=1ds24 service=gms
time="2017-05-29T05:05:32Z" level=info msg="Creating schema machine, roles [admin user readAdmin]" id=1ds25 service=gms
time="2017-05-29T05:05:32Z" level=info msg="Creating schema host, roles [admin user readAdmin]" id=1ds26 service=gms
time="2017-05-29T05:05:33Z" level=info msg="Creating schema machine, roles [readonly]" id=1ds27 service=gms
time="2017-05-29T05:05:33Z" level=info msg="Creating schema host, roles [readonly]" id=1ds28 service=gms
time="2017-05-29T05:05:33Z" level=info msg="Updating machine jsons for  [packet packet amazonec2 azure digitalocean]" service=gms
time="2017-05-29T05:05:34Z" level=info msg="Creating schema machine, roles [service]" id=1ds29 service=gms
time="2017-05-29T05:05:35Z" level=info msg="Creating schema host, roles [service]" id=1ds30 service=gms
time="2017-05-29T05:05:35Z" level=info msg="Creating schema machine, roles [project member owner]" id=1ds31 service=gms
time="2017-05-29T05:05:36Z" level=info msg="Creating schema host, roles [project member owner]" id=1ds32 service=gms
time="2017-05-29T05:05:36Z" level=info msg="Creating schema machine, roles [admin user readAdmin]" id=1ds33 service=gms
time="2017-05-29T05:05:36Z" level=info msg="Creating schema host, roles [admin user readAdmin]" id=1ds34 service=gms
time="2017-05-29T05:05:37Z" level=info msg="Creating schema machine, roles [readonly]" id=1ds35 service=gms
time="2017-05-29T05:05:37Z" level=info msg="Creating schema host, roles [readonly]" id=1ds36 service=gms
@AlexSwtlsk
Copy link

Same here…

@GatoSnake GatoSnake changed the title Problem access Rancher Server UI via browser, stuck in "Loading..." GCE: Problem access Rancher Server UI via browser, stuck in "Loading..." May 29, 2017
@GatoSnake
Copy link
Author

Now I installed rancher in CoreOS stable provided by GCE and rancher works nice, I can access to UI via browser with the public IP.

I think that the problem is RancherOS with GCE.

@ulm0
Copy link

ulm0 commented May 30, 2017 via email

@GatoSnake
Copy link
Author

Hi @klud1 ,

  1. I can't access to the WEB UI with the public IP of the instance. RancherOS start fine.

The specifications of the instance is:

n1-standard-1 (1 vCPU, 3,75 GB memory)
Intel Sandy Bridge

@ulm0
Copy link

ulm0 commented May 30, 2017 via email

@GatoSnake
Copy link
Author

I have opened the http ports, specially the 8080. I use same firewall rules for CoreOS and it works.

captura de pantalla 2017-05-29 a la s 22 21 39

The problem just happened using rancher with RancherOS in GCE :/

@ulm0
Copy link

ulm0 commented May 30, 2017

Your're right. Altough i faced a similar problem yesterday, i was giving a try to GCE to host some personal projects and stuff, thing is i was trying to serve some services behind nginx, the containers were running, i was able to reach nginx on the VM's public ip but i couldn't reach the vhosts, not even with curl, i finally gave up. :( But in your case, you're just using the public ip, so it shouldn't be a problem, that's pretty weird actually.

@GatoSnake
Copy link
Author

Well, thanks you @klud1 .. for this moment I will use CoreOS, works nice with rancher.

@ulm0
Copy link

ulm0 commented May 30, 2017

De nada, perro! I'll give a try to your use-case (when i get some free time) and see if i can get it working, i'm using RancherOS on premises atm, i'm launching a couple of instances these days and then give you some feedback in case i succeed (^_^)

@GatoSnake
Copy link
Author

@klud1 excelente compa! ... thanks for all 😄

@aemneina aemneina added area/server kind/question Issues that just require an answer. No code change needd labels Jun 1, 2017
@ulm0
Copy link

ulm0 commented Jun 27, 2017

Sorry for the delay, been a bit busy, i'm trying this now...and you're right, can't reach the UI on GCE even though firewall rules are ok.

@superseb
Copy link
Contributor

Can you please try the following so we can get this fixed.

  1. Launch your instance like you would normally do, with the correct firewall rules
  2. Execute the following command to set the correct MTU on the Docker daemon:
    echo -e "{\n \"mtu\": 1460\n}" > /etc/docker/daemon.json
  3. Restart the user docker
    system-docker restart docker
  4. Run the rancher/server container and let it start
  5. Try to reach the UI on the mapped port

@superseb superseb self-assigned this Jul 25, 2017
@superseb superseb marked this as a duplicate of #9526 Jul 31, 2017
@ulm0
Copy link

ulm0 commented Aug 1, 2017

Alright, that did the trick! tysm, @superseb

@superseb superseb changed the title GCE: Problem access Rancher Server UI via browser, stuck in "Loading..." Running rancher/server (or any container) on RancherOS on GCE needs MTU configured to 1460 Aug 1, 2017
@superseb superseb added area/documentation kind/task Issues that represent work that needs to be done, but don't involve a code change and removed area/server kind/question Issues that just require an answer. No code change needd labels Aug 1, 2017
@superseb
Copy link
Contributor

This should be fixed via rancher/os#2027

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation kind/task Issues that represent work that needs to be done, but don't involve a code change
Projects
None yet
Development

No branches or pull requests

5 participants