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

apache_postgresql/website_template.yml test failing #201

Open
russorat opened this issue Oct 20, 2020 · 1 comment
Open

apache_postgresql/website_template.yml test failing #201

russorat opened this issue Oct 20, 2020 · 1 comment
Assignees
Labels
Template Issue A problem with a specific Template

Comments

@russorat
Copy link
Contributor

Confirm removal of the stack[067dabd6fcd3f000] and all associated resources (y/n): 
yes: standard output: Broken pipe
Trying /home/runner/work/community-templates/community-templates/apache_postgresql/website_template.yml
LABELS    +add | -remove | unchanged
+-----+----------------------+----+---------------+---------+-------------+
| +/- |    METADATA NAME     | ID | RESOURCE NAME |  COLOR  | DESCRIPTION |
+-----+----------------------+----+---------------+---------+-------------+
| +   | angry-burnell-cc6001 |    | website       | #009f5f |             |
+-----+----------------------+----+---------------+---------+-------------+
|                                                    TOTAL  |      1      |
+-----+----------------------+----+---------------+---------+-------------+

BUCKETS    +add | -remove | unchanged
+-----+-----------------------+----+---------------+------------------+-------------+
| +/- |     METADATA NAME     | ID | RESOURCE NAME | RETENTION PERIOD | DESCRIPTION |
+-----+-----------------------+----+---------------+------------------+-------------+
| +   | rustling-gauss-cc6005 |    | website       | 720h0m0s         |             |
+-----+-----------------------+----+---------------+------------------+-------------+
|                                                         TOTAL       |      1      |
+-----+-----------------------+----+---------------+------------------+-------------+

CHECKS    +add | -remove | unchanged
+-----+------------------------------+----+---------------+-------------+
| +/- |        METADATA NAME         | ID | RESOURCE NAME | DESCRIPTION |
+-----+------------------------------+----+---------------+-------------+
| +   | condescending-faraday-0c6005 |    | Server Load   |             |
+-----+------------------------------+----+---------------+-------------+
+-----+------------------------------+----+---------------+-------------+
| +   | determined-wilson-0c6009     |    | Disk Space    |             |
+-----+------------------------------+----+---------------+-------------+
+-----+------------------------------+----+---------------+-------------+
| +   | spectacular-gagarin-0c6001   |    | Memory Usage  |             |
+-----+------------------------------+----+---------------+-------------+
|                                               TOTAL     |      3      |
+-----+------------------------------+----+---------------+-------------+

DASHBOARDS    +add | -remove | unchanged
+-----+---------------------------+----+-----------------+--------------------------------+------------+
| +/- |       METADATA NAME       | ID |  RESOURCE NAME  |          DESCRIPTION           | NUM CHARTS |
+-----+---------------------------+----+-----------------+--------------------------------+------------+
| +   | elastic-mirzakhani-8c6001 |    | Website Monitor | Dashboard for monitoring       | 6          |
|     |                           |    |                 | websites deployed on Apache +  |            |
|     |                           |    |                 | Postgresql                     |            |
+-----+---------------------------+----+-----------------+--------------------------------+------------+
|                                                                      TOTAL              |     1      |
+-----+---------------------------+----+-----------------+--------------------------------+------------+

TELEGRAF CONFIGURATIONS    +add | -remove | unchanged
+-----+------------------------+----+-----------------+--------------------------------+
| +/- |     METADATA NAME      | ID |  RESOURCE NAME  |          DESCRIPTION           |
+-----+------------------------+----+-----------------+--------------------------------+
| +   | magical-swanson-0c6003 |    | Website Monitor | A set of plugins for           |
|     |                        |    |                 | monitoring system resources,   |
|     |                        |    |                 | HTTP connection to Apache      |
|     |                        |    |                 |  and database queries from     |
|     |                        |    |                 | Postgresl                      |
+-----+------------------------+----+-----------------+--------------------------------+
|                                          TOTAL      |               1                |
+-----+------------------------+----+-----------------+--------------------------------+

VARIABLES    +add | -remove | unchanged
+-----+----------------------------+----+---------------+-------------+----------+-------------------------------------------------------------+
| +/- |       METADATA NAME        | ID | RESOURCE NAME | DESCRIPTION | ARG TYPE |                         ARG VALUES                          |
+-----+----------------------------+----+---------------+-------------+----------+-------------------------------------------------------------+
| +   | adventuring-neumann-0c600d |    | hostname      |             | query    | language="flux" query="import                               |
|     |                            |    |               |             |          | \"influxdata/influxdb/v1\"\nv1.measurementTagValues(bucket: |
|     |                            |    |               |             |          | \"website\", measurement: \"apache\", tag: \"host\")"       |
+-----+----------------------------+----+---------------+-------------+----------+-------------------------------------------------------------+
+-----+----------------------------+----+---------------+-------------+----------+-------------------------------------------------------------+
| +   | wonderful-buck-0c6011      |    | database      |             | query    | language="flux" query="import                               |
|     |                            |    |               |             |          | \"influxdata/influxdb/v1\"\nv1.measurementTagValues(bucket: |
|     |                            |    |               |             |          | \"website\", measurement: \"postgresql\", tag: \"db\")"     |
+-----+----------------------------+----+---------------+-------------+----------+-------------------------------------------------------------+
|                                                                        TOTAL   |                              2                              |
+-----+----------------------------+----+---------------+-------------+----------+-------------------------------------------------------------+

LABEL ASSOCIATIONS    +add | -remove | unchanged
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
| +/- | RESOURCE TYPE |      RESOURCE META NAME      |  RESOURCE NAME  | RESOURCE ID |  LABEL PACKAGE NAME  | LABEL NAME | LABEL ID |
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
| +   | buckets       | rustling-gauss-cc6005        | website         |             | angry-burnell-cc6001 | website    |          |
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
| +   | checks        | condescending-faraday-0c6005 | Server Load     |             | angry-burnell-cc6001 | website    |          |
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
| +   | checks        | determined-wilson-0c6009     | Disk Space      |             | angry-burnell-cc6001 | website    |          |
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
| +   | checks        | spectacular-gagarin-0c6001   | Memory Usage    |             | angry-burnell-cc6001 | website    |          |
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
| +   | dashboards    | elastic-mirzakhani-8c6001    | Website Monitor |             | angry-burnell-cc6001 | website    |          |
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
| +   | telegrafs     | magical-swanson-0c6003       | Website Monitor |             | angry-burnell-cc6001 | website    |          |
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
| +   | variables     | adventuring-neumann-0c600d   | hostname        |             | angry-burnell-cc6001 | website    |          |
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
| +   | variables     | wonderful-buck-0c6011        | database        |             | angry-burnell-cc6001 | website    |          |
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+
|                                                                                                               TOTAL    |    8     |
+-----+---------------+------------------------------+-----------------+-------------+----------------------+------------+----------+

Error: Resource_type="label_mapping" err="failed to apply resource"
	metadata_name="variables:067dabd7288aa000:067dabd7284aa000" err_msg="Cannot add label, label already exists on resource".
See 'influx apply -h' for help
Error: Process completed with exit code 1.
@russorat russorat added the Template Issue A problem with a specific Template label Oct 20, 2020
@mhall119
Copy link
Contributor

@russorat any idea what could be causing this? The template only has one label per resource, and it hasn't changed in months. Has the influx apply code changed? Or possibly there's a test isolation problem that's leaving previous template installs in place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Template Issue A problem with a specific Template
Projects
None yet
Development

No branches or pull requests

2 participants