influxdata / influxdata/influxdb

InfluxCLI 2.2.1 returns org not found upon dbrp mapping creation

Open
#23,129 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

Hi,

I'm trying to setup database mappings so I can use InfluxQL in Grafana, installed default setup of InfluxDB 2.1, completed the initial setup, created sample config which produces the below:

influx config list:

![image](https://user-images.githubusercontent.com/31248804/154316742-af56106c-adac-4e19-9671-b6bcab44f5ca.png)

However, when trying to create the mapping, it always says that organization not found where it is recognized in the config setup:

![image](https://user-images.githubusercontent.com/31248804/154316933-f24c20cb-8dcb-414a-a73a-079bf66b5657.png)

I've double-checked and the organization name is definitely correct:

![image](https://user-images.githubusercontent.com/31248804/154317290-48989b13-fdce-4645-bdfd-96d3463787dd.png)

This is a local install on Ubuntu 20.04 VM, not a container image.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing dbrp mapping creation with InfluxCLI 2.2.1 using the configured organization on Ubuntu 20.04, then trace how the CLI resolves that organization. The work is done when a valid organization from the existing configuration can create the mapping successfully, with a regression test if the relevant test location is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
grafana, ubuntu
Domain
cli, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.