# General

**URL:** https://forums.suse.com/c/general/1.md?page=46

[Latest](https://forums.suse.com/latest.md) · [Categories](https://forums.suse.com/categories.md)

**Page:** 47

---

## [Rancher HA setup - can't upgrade without DT](https://forums.suse.com/t/rancher-ha-setup-cant-upgrade-without-dt/9460)

<div class="topic-metadata">

**Author:** [@Tarun\_Prakash](https://forums.suse.com/u/Tarun_Prakash)\
**Replies:** 0\
**Last updated:** [February 13, 2018, 6:09am UTC](https://forums.suse.com/t/rancher-ha-setup-cant-upgrade-without-dt/9460 "2018-02-13T06:09:54Z")

</div>

Looks like we can’t upgrade rancher without DT? We are running rancher server inside aws ECS, when we upgrade we came to know this limitation. Scenario - Two container instances running ( only one of them running task…

---

## [How to expose x-forwarded-for host ip instead of container ip](https://forums.suse.com/t/how-to-expose-x-forwarded-for-host-ip-instead-of-container-ip/9449)

<div class="topic-metadata">

**Author:** [@Ross](https://forums.suse.com/u/Ross)\
**Replies:** 0\
**Last updated:** [February 12, 2018, 9:24am UTC](https://forums.suse.com/t/how-to-expose-x-forwarded-for-host-ip-instead-of-container-ip/9449 "2018-02-12T09:24:32Z")

</div>

Hi everybody, is there a way to make haproxy always expose the host ip in x-forwarded-for header instead of container internal ip when connecting to other containers in the same environment? It works fine most of the t…

---

## [Rancher + hyper or hypercontainer.io?](https://forums.suse.com/t/rancher-hyper-or-hypercontainer-io/9391)

<div class="topic-metadata">

**Author:** [@SoreGums](https://forums.suse.com/u/SoreGums)\
**Replies:** 2\
**Last updated:** [February 9, 2018, 9:12am UTC](https://forums.suse.com/t/rancher-hyper-or-hypercontainer-io/9391 "2018-02-09T09:12:24Z")

</div>

The Rancher 2.0 looks great. I want to run containers on hyper hosts. Exploring the whole openstack+hypercontainer.io+kubernetes\[1\] thing and while it will work it is complex and not so straight forward to setup and I …

---

## [Managed container IP used for external communications?](https://forums.suse.com/t/managed-container-ip-used-for-external-communications/9131)

<div class="topic-metadata">

**Author:** [@terozio](https://forums.suse.com/u/terozio)\
**Replies:** 0\
**Last updated:** [February 6, 2018, 2:11pm UTC](https://forums.suse.com/t/managed-container-ip-used-for-external-communications/9131 "2018-02-06T14:11:16Z")

</div>

Hi, We have an overlay network with Rancher IPSec. We have multiple environments for different types of containers and access between the environments goes through external LB and is controlled with an external firewall…

---

## [Prometheus not collecting Rancher server metrics](https://forums.suse.com/t/prometheus-not-collecting-rancher-server-metrics/8465)

<div class="topic-metadata">

**Author:** [@pkaramol](https://forums.suse.com/u/pkaramol)\
**Replies:** 1\
**Last updated:** [February 6, 2018, 8:37am UTC](https://forums.suse.com/t/prometheus-not-collecting-rancher-server-metrics/8465 "2018-02-06T08:37:06Z")

</div>

I have restarted my Rancher Server (using external MySQL) with the following command: docker run -d --restart=unless-stopped -e CATTLE\_PROMETHEUS\_EXPORTER=true -p 9108:9108 -p 8080:8080 rancher/server:stable --db-host \<r…

---

## [How do I publish a web api/site?](https://forums.suse.com/t/how-do-i-publish-a-web-api-site/9110)

<div class="topic-metadata">

**Author:** [@st3fan](https://forums.suse.com/u/st3fan)\
**Replies:** 0\
**Last updated:** [February 6, 2018, 1:47am UTC](https://forums.suse.com/t/how-do-i-publish-a-web-api-site/9110 "2018-02-06T01:47:06Z")

</div>

I’m looking for a tutorial that explains how to expose a web api (or web app). Sorry for the noob question, but I am a new Racher user and I am having a hard time wrapping my head around all the moving parts. I have a …

---

## [Setting Host specific environment variables for a container](https://forums.suse.com/t/setting-host-specific-environment-variables-for-a-container/9098)

<div class="topic-metadata">

**Author:** [@Todd\_Spurlock](https://forums.suse.com/u/Todd_Spurlock)\
**Replies:** 0\
**Last updated:** [February 5, 2018, 9:30pm UTC](https://forums.suse.com/t/setting-host-specific-environment-variables-for-a-container/9098 "2018-02-05T21:30:06Z")

</div>

I am using rancher 1.6 and I need to have the host provide certain environment variables to any containers running on it. How is this done? Documentation seems a bit sparse in this area.

---

## [Floating IPs, Load Balancers or what would be the best practice in Rancher?](https://forums.suse.com/t/floating-ips-load-balancers-or-what-would-be-the-best-practice-in-rancher/8819)

<div class="topic-metadata">

**Author:** [@philippbussche](https://forums.suse.com/u/philippbussche)\
**Replies:** 1\
**Last updated:** [February 5, 2018, 7:39am UTC](https://forums.suse.com/t/floating-ips-load-balancers-or-what-would-be-the-best-practice-in-rancher/8819 "2018-02-05T07:39:18Z")

</div>

Hi there, I am mainly using AWS EC2 at the moment to provide servers which are then powering my Rancher estate. Up until now I would also make use of floating IPs but when adding a new server (which had a floating IP ass…

---

## [Private message from system](https://forums.suse.com/t/private-message-from-system/35856)

<div class="topic-metadata">

**Author:** [@system](https://forums.suse.com/u/system)\
**Replies:** 0\
**Last updated:** [February 3, 2018, 10:41am UTC](https://forums.suse.com/t/private-message-from-system/35856 "2018-02-03T10:41:38Z")

</div>

Hi, did you somehow resolve your issue with Adaptec driver and SLES12 SP2 ?

---

## [Kubernetes pods pending, nodes not registered](https://forums.suse.com/t/kubernetes-pods-pending-nodes-not-registered/8193)

<div class="topic-metadata">

**Author:** [@kaosmonk](https://forums.suse.com/u/kaosmonk)\
**Replies:** 3\
**Last updated:** [February 2, 2018, 8:31pm UTC](https://forums.suse.com/t/kubernetes-pods-pending-nodes-not-registered/8193 "2018-02-02T20:31:31Z")

</div>

Hi guys, I’m having an issue with running k8s with Rancher. Here’s what’s going on: I am deploying everything on Azure with Terraform and am later on provisioning the Rancher server with simple script that creates k8s e…

---

## [Add ENV vars to running Rancher Server container](https://forums.suse.com/t/add-env-vars-to-running-rancher-server-container/8464)

<div class="topic-metadata">

**Author:** [@pkaramol](https://forums.suse.com/u/pkaramol)\
**Replies:** 2\
**Last updated:** [January 31, 2018, 4:28pm UTC](https://forums.suse.com/t/add-env-vars-to-running-rancher-server-container/8464 "2018-01-31T16:28:18Z")

</div>

I have started a Rancher server (external MySQL) on AWS. However after several operational days, I just found out that for the Rancher server node statistics to be exported to prometheus (and from there to grafana ) I n…

---

## [Host not deleting in Opennebula after deleting it in Rancher Host issue](https://forums.suse.com/t/host-not-deleting-in-opennebula-after-deleting-it-in-rancher-host-issue/8441)

<div class="topic-metadata">

**Author:** [@Aravind](https://forums.suse.com/u/Aravind)\
**Replies:** 0\
**Last updated:** [January 30, 2018, 1:12pm UTC](https://forums.suse.com/t/host-not-deleting-in-opennebula-after-deleting-it-in-rancher-host-issue/8441 "2018-01-30T13:12:35Z")

</div>

I tried to delete Host in Rancher, so that eventually the related VM from Opennebula should be deleted automatically. But its not working. Why?

---

## [How to generate environment api token for Kubernetes 1.6](https://forums.suse.com/t/how-to-generate-environment-api-token-for-kubernetes-1-6/6954)

<div class="topic-metadata">

**Author:** [@hiscal](https://forums.suse.com/u/hiscal)\
**Replies:** 5\
**Last updated:** [January 30, 2018, 8:37am UTC](https://forums.suse.com/t/how-to-generate-environment-api-token-for-kubernetes-1-6/6954 "2018-01-30T08:37:59Z")

</div>

Hi, all After upgraded to rancher 1.6.5, kubectl config authentication was changed to token instead of username and paasword, so then how to generate an environment token for kubectl? Thanks.

---

## [API for setting username and password for account](https://forums.suse.com/t/api-for-setting-username-and-password-for-account/8362)

<div class="topic-metadata">

**Author:** [@ranjith](https://forums.suse.com/u/ranjith)\
**Replies:** 1\
**Last updated:** [January 30, 2018, 8:28am UTC](https://forums.suse.com/t/api-for-setting-username-and-password-for-account/8362 "2018-01-30T08:28:41Z")

</div>

I have created account in my current rancher setup. I need to set username and password for that account using REST API. I couldn’t find it in the API documentation. What is the url or link for creating username and pass…

---

## [How to add new stack using rancher RestAPI](https://forums.suse.com/t/how-to-add-new-stack-using-rancher-restapi/8404)

<div class="topic-metadata">

**Author:** [@Aravind](https://forums.suse.com/u/Aravind)\
**Replies:** 1\
**Last updated:** [January 30, 2018, 8:14am UTC](https://forums.suse.com/t/how-to-add-new-stack-using-rancher-restapi/8404 "2018-01-30T08:14:49Z")

</div>

Hai, i am trying to add new stack in rancher, i am not able to find any rest API to add new stack in rancher

---

## [Add raspberry as a host](https://forums.suse.com/t/add-raspberry-as-a-host/8281)

<div class="topic-metadata">

**Author:** [@samouds](https://forums.suse.com/u/samouds)\
**Replies:** 1\
**Last updated:** [January 30, 2018, 8:03am UTC](https://forums.suse.com/t/add-raspberry-as-a-host/8281 "2018-01-30T08:03:15Z")

</div>

Hello, Is there any way to add raspberry as host to an existing rancher server ? If not, is there any alternative supporting arm ? Thanks

---

## [Define external (RDS) service](https://forums.suse.com/t/define-external-rds-service/8397)

<div class="topic-metadata">

**Author:** [@pkaramol](https://forums.suse.com/u/pkaramol)\
**Replies:** 0\
**Last updated:** [January 29, 2018, 12:01pm UTC](https://forums.suse.com/t/define-external-rds-service/8397 "2018-01-29T12:01:52Z")

</div>

How can I define an external service (and also its endpoint of course) using docker-compose.yml ? The example here only indicates how to provide the endpoint url for rancher-compose.yml How do we go about it in docker-…

---

## [Add Host on Azure Error 400](https://forums.suse.com/t/add-host-on-azure-error-400/5992)

<div class="topic-metadata">

**Author:** [@smago](https://forums.suse.com/u/smago)\
**Replies:** 3\
**Last updated:** [January 26, 2018, 9:19pm UTC](https://forums.suse.com/t/add-host-on-azure-error-400/5992 "2018-01-26T21:19:51Z")

</div>

Hi Rancher community, I try to add Azure Host using Rancher. In Configuration page Rancher request: - SubscriptionID : my subscription ID - ClientID : I use Account in my Azure AD (admin on my subscriptionà - Client S…

---

## [Private message from Johnfm3](https://forums.suse.com/t/private-message-from-johnfm3/35855)

<div class="topic-metadata">

**Author:** [@Johnfm3](https://forums.suse.com/u/Johnfm3)\
**Replies:** 0\
**Last updated:** [January 26, 2018, 8:56pm UTC](https://forums.suse.com/t/private-message-from-johnfm3/35855 "2018-01-26T20:56:38Z")

</div>

https://forums.suse.com/showthread.php?11615-Home-privately-used-lab-environment-Overkill-hardware-but its a novel lol

---

## [Private message from Johnfm3](https://forums.suse.com/t/private-message-from-johnfm3/35854)

<div class="topic-metadata">

**Author:** [@Johnfm3](https://forums.suse.com/u/Johnfm3)\
**Replies:** 0\
**Last updated:** [January 26, 2018, 5:36pm UTC](https://forums.suse.com/t/private-message-from-johnfm3/35854 "2018-01-26T17:36:56Z")

</div>

Good Morning. In the thread you asked a lot of good questions and also made a good suggestion about keeping the thread on topic. As such, I hope you don’t mind if I answer your questions via PM. What situation do y…

---

## [Etcd server times out after unsuccessful election](https://forums.suse.com/t/etcd-server-times-out-after-unsuccessful-election/8277)

<div class="topic-metadata">

**Author:** [@galioy](https://forums.suse.com/u/galioy)\
**Replies:** 0\
**Last updated:** [January 23, 2018, 3:17pm UTC](https://forums.suse.com/t/etcd-server-times-out-after-unsuccessful-election/8277 "2018-01-23T15:17:44Z")

</div>

I | flags: recognized and used environment variable ETCD\_DATA\_DIR=/data/etcd W | flags: unrecognized environment variable ETCDCTL\_ENDPOINT=http://etcd.etcd-ha:2379 W | flags: unrecognized environment variable ETCDCTL\_…

---

## [Load balancer with multiple hosts](https://forums.suse.com/t/load-balancer-with-multiple-hosts/8262)

<div class="topic-metadata">

**Author:** [@AreGroot](https://forums.suse.com/u/AreGroot)\
**Replies:** 0\
**Last updated:** [January 21, 2018, 10:04pm UTC](https://forums.suse.com/t/load-balancer-with-multiple-hosts/8262 "2018-01-21T22:04:49Z")

</div>

I have an environment with multiple stacks. Let’s say: Stack A: web app Stack B: load balancer only If I also have multiple hosts (Let’s say 10). Currently on each host there is a load balancer container running per t…

---

## [Maximum number of Secrets allowed](https://forums.suse.com/t/maximum-number-of-secrets-allowed/8251)

<div class="topic-metadata">

**Author:** [@grattoni](https://forums.suse.com/u/grattoni)\
**Replies:** 1\
**Last updated:** [January 19, 2018, 9:53pm UTC](https://forums.suse.com/t/maximum-number-of-secrets-allowed/8251 "2018-01-19T21:53:01Z")

</div>

we were in the process of deploying containers, the first step of which was to create new secrets in Rancher which hold sensitive information, but creation of new secrets is not allowed, unless we delete some now unused …

---

## [Rancher Server + ELB very slow (solved)](https://forums.suse.com/t/rancher-server-elb-very-slow-solved/8220)

<div class="topic-metadata">

**Author:** [@paulohms](https://forums.suse.com/u/paulohms)\
**Replies:** 1\
**Last updated:** [January 15, 2018, 5:53pm UTC](https://forums.suse.com/t/rancher-server-elb-very-slow-solved/8220 "2018-01-15T17:53:34Z")

</div>

Hi everyone, I have a Rancher Server enabled on HA in AWS environment where there is one ELB in front of two ec2 instance. The problem is that the access from the ELB to my UI is extremely slow in relation to the direct…

---

## [Point container logs to a centralized logging container](https://forums.suse.com/t/point-container-logs-to-a-centralized-logging-container/8217)

<div class="topic-metadata">

**Author:** [@galioy](https://forums.suse.com/u/galioy)\
**Replies:** 0\
**Last updated:** [January 15, 2018, 12:55pm UTC](https://forums.suse.com/t/point-container-logs-to-a-centralized-logging-container/8217 "2018-01-15T12:55:07Z")

</div>

I’ve got a LogDNA container (as shown here) that is supposed to collect the logs of all containers (on the host or the environment, not sure). I’ve spun it up but receive no logs, which leads me to the thought that I ne…

---

## [Copy file to rancher cattle](https://forums.suse.com/t/copy-file-to-rancher-cattle/8216)

<div class="topic-metadata">

**Author:** [@galioy](https://forums.suse.com/u/galioy)\
**Replies:** 0\
**Last updated:** [January 15, 2018, 9:53am UTC](https://forums.suse.com/t/copy-file-to-rancher-cattle/8216 "2018-01-15T09:53:24Z")

</div>

I want to copy a file to some of my cattles - a simple script to set up in a cronjob. But I cannot find a command in the rancher-cli that does something like scp and I don’t have user access to the cattles, so it has to …

---

## [Pure-ftpd under Rancher?](https://forums.suse.com/t/pure-ftpd-under-rancher/8212)

<div class="topic-metadata">

**Author:** [@stormerider](https://forums.suse.com/u/stormerider)\
**Replies:** 0\
**Last updated:** [January 14, 2018, 3:30am UTC](https://forums.suse.com/t/pure-ftpd-under-rancher/8212 "2018-01-14T03:30:52Z")

</div>

Has anyone set up https://hub.docker.com/r/stilliard/pure-ftpd/ underneath Rancher? Did you run the db volume as a sidekick container, or how did you get that to work and persist the user data?

---

## [Private message from Jens-U](https://forums.suse.com/t/private-message-from-jens-u/35853)

<div class="topic-metadata">

**Author:** [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Replies:** 0\
**Last updated:** [January 12, 2018, 3:43pm UTC](https://forums.suse.com/t/private-message-from-jens-u/35853 "2018-01-12T15:43:44Z")

</div>

Hi, it seems you were the one creating https://wiki.microfocus.com/index.php/SUSE\_Manager/Migration\_21\_31 in July last year, hence this message to you. “We are currently in the process of testing this (and fixing the c…

---

## [Run custom script with cron in cattles](https://forums.suse.com/t/run-custom-script-with-cron-in-cattles/8183)

<div class="topic-metadata">

**Author:** [@galioy](https://forums.suse.com/u/galioy)\
**Replies:** 0\
**Last updated:** [January 9, 2018, 1:54pm UTC](https://forums.suse.com/t/run-custom-script-with-cron-in-cattles/8183 "2018-01-09T13:54:58Z")

</div>

I have found the rancher-cron repo and other topics about running containers on a scheduled basis, but what I want is to run a custom made script with a simple cron schedule inside my cattles. Is there a way to do that t…

---

## [Adding Windows Hosts Best Practices](https://forums.suse.com/t/adding-windows-hosts-best-practices/8175)

<div class="topic-metadata">

**Author:** [@jbonilla](https://forums.suse.com/u/jbonilla)\
**Replies:** 0\
**Last updated:** [January 8, 2018, 8:38pm UTC](https://forums.suse.com/t/adding-windows-hosts-best-practices/8175 "2018-01-08T20:38:04Z")

</div>

I am trying to add a Windows host to RancherOS with little success. I am able to add a Windows host however the network containers continuously restart and eventually stop. Is there a guide I can follow for adding a Wind…

[Previous page](https://forums.suse.com/c/general/1.md?page=45)

[Next page](https://forums.suse.com/c/general/1.md?page=47)
