Questions tagged [confd]

A tool to manage local configuration files using templates and data from distributed storage

confd is a lightweight configuration management tool focused on:

  • synchronizing configuration files by polling etcd or consul and processing template resources
  • reloading applications to pick up new configuration file changes

Find out more about the project on Github or the official site.

34 questions
1
vote
1 answer

Environment variable for nginx conf extrapolation

I'm using confd to render my configuration files depending on my environments $ ls -R /etc/confd /etc/confd/: conf.d templates /etc/confd/conf.d: my_app.toml /etc/confd/templates: my_app.tmpl My configurations: $ cat…
Pierre de LESPINAY
  • 44,700
  • 57
  • 210
  • 307
1
vote
1 answer

Docker failing to add remote file with 'too many redirects'

I'm trying to build the following Dockerfile: FROM ubuntu-debootstrap:trusty ENV CONFD_VERSION 0.6.3 ENV CONFD_INTERVAL 30 ENV CONFD_NODE 172.17.42.1:4001 ENV CONFD_BACKEND etcd RUN apt-get update -q \ && DEBIAN_FRONTEND=noninteractive apt-get…
Andy Shinn
  • 26,561
  • 8
  • 75
  • 93
0
votes
0 answers

How to decode the Netconf messages captured by Wireshark?

My Netconf client communicates with a Confd Netconf server over SSH. I see encrypted packets (of type SSHv2 and TCP) captured by Wireshark whenever the client communicates with the server. How to decode these packets?
Bhuvan
  • 370
  • 9
0
votes
0 answers

How to set log level to trace for Confd logs such as netconfTraceLog, netconfLog, etc?

Setup: I have developed a Netconf client. It connects to a Confd server over SSH. My Netconf client is able to establish an SSH connection and SSH channel. I see related Confd logs as listed below. 19-May-2023::20:41:38.554 vm-alarm…
Bhuvan
  • 370
  • 9
0
votes
0 answers

Custom yang module usage (ConfD_basic 7.8.3)

I have written 3 function get_temperature(),get_ddr() and get_cpu_load() to calculate temperature,ddr usage and cpu load of an ubuntu system.These functions store the value into a structure.I have also written a custom YANG module…
nanthi
  • 11
  • 3
0
votes
0 answers

Confd Command not found in docker Artifactory

I am trying to deploy the application via docker in atrifactory after upgrading the application to dot net core 6.0. Earlier my application was build in .Net 3.1 and was working fine. After doing dot net upgrade I am facing issue while deploying…
0
votes
1 answer

Key exchange was not finished, connection is closed with ganymed-ssh-2 and Cisco Confd

I am using JNC 1.0 & ganymed-ssh-2 v262 to establish a Netconf session over SSH to a Cisco Confd node and getting the following error. What could be the reason? java.io.IOException: Key exchange was not finished, connection is closed. at…
Mohan
  • 129
  • 8
0
votes
1 answer

Config or operational data from pyang confd

Can we determine if it is a configuration or operational data model from the pyang model in confD, If I do not have permission to read the actual yang file Eg: module: my-test +--rw something +--rw leaf1? string +--rw leaf2? …
Sravya
  • 661
  • 8
  • 9
0
votes
1 answer

Set both ipv4 and ipv6 for confd netconf ssh connection

I am using confd version 6.3. I'm trying to set it up to be able to ssh with netconf over ipv4 and ipv6. My related configuration looks as follows: true true
szaman
  • 6,666
  • 13
  • 53
  • 81
0
votes
1 answer

confd configuration with HashiCorp Vault KV v2

I'm creating a Vault Dev Server with sudo vault server -dev and putting a simple KV v2 secret with: vault kv put secret/database url=db.example.com I wish confd pick that value whenever value is changed in KV store in Vault. But I'm getting the…
Janshair Khan
  • 2,577
  • 4
  • 20
  • 44
0
votes
1 answer

does `getvs` in confd work with yaml list?

I have set a yml file as confd backend. I have a yaml list to process something as below. otherargs: - "-Xmx256m" - "-Xmn128m" and trying to read the value from the list below. As this is a list I am using getvs to get all values in string[] and…
pmunshi
  • 21
  • 4
0
votes
1 answer

Confd ignores the role set on my aws config?

I'm currently trying to setup a confd POC using SSM as provider for the keys, we currently have one account on AWS which is the root account and multiples roles to separate the environments. currently my AWS config looks like…
Eric Nascimento
  • 381
  • 3
  • 15
0
votes
1 answer

What is the json body in post request in order to fetch all rows from an operation list with key?

I have defined a list for operational data in yang model as: list listener-state { key “listener-name”; config false; description “common statistics for given listener (i.e sent messages)”; uses listener-state-info; … } I use opendaylight api…
bubu0321
  • 497
  • 1
  • 6
  • 18
0
votes
0 answers

How to perform input validation on bash arguments injected with \r?

I have a bash file, that takes one argument. This is used within ConfD CLI, for a command. However, if the user uses \r metacharacter, it throws my program off. Example (on ConfD shell): somecommand hellooooo\rtest On displaying $@ within my bash…
Shravan J Kumar
  • 158
  • 1
  • 1
  • 10
0
votes
1 answer

Retrieving endpoints from kubernetes-etcd for haproxy

I trying to retrieve kubernetes endpoints from my kubernetes-etcd-cluster for haproxy using confd. When executing confd it always returns an error, that key '/registry' cant be found: $ ./confd-0.12.0-linux-amd64 -config-file confd.toml ... INFO…
Volker S.
  • 1
  • 2