same tags are being created multiple times

Bug #1718449 reported by Greg Lutostanski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CDO QA System Tests
Won't Fix
Low
Unassigned

Bug Description

The same tags are being created multiple times.

Leading to tracebacks in the enlist_maas_nodes

2017-09-19-06:48:46 INFO 'maas 140019266597104 tags create name=beartic comment=beartic tag'
2017-09-19-06:48:48 INFO 'maas 140019266597104 tag update-nodes beartic add=kxg7er'
2017-09-19-06:48:52 INFO 'maas 140019266597104 tags create name=compute comment=compute tag'
2017-09-19-06:48:54 INFO 'maas 140019266597104 tag update-nodes compute add=kxg7er'
2017-09-19-06:48:55 INFO 'maas 140019266597104 machines create architecture=amd64/generic mac_addresses=ec:b1:d7:73:1d:58 hostname=duision power_parameters_power_address=192.168.246.112 power_type=ipmi power_parameters_power_user=Administrator power_parameters_power_pass=insecure power_parameters_power_driver=LAN_2_0'
2017-09-19-06:49:00 INFO 'maas 140019266597104 tags create name=duision comment=duision tag'
2017-09-19-06:49:02 INFO 'maas 140019266597104 tag update-nodes duision add=f4qxtm'
2017-09-19-06:49:06 INFO 'maas 140019266597104 tags create name=control comment=control tag'
2017-09-19-06:49:08 INFO 'maas 140019266597104 tag update-nodes control add=f4qxtm'
2017-09-19-06:49:11 INFO 'maas 140019266597104 tags create name=compute comment=compute tag'
2017-09-19-06:49:13 ERROR Failed maas command: ('maas', '140019266597104', 'tags', 'create', 'name=compute', 'comment=compute tag')
Traceback (most recent call last):
  File "/home/cdoqa/cdoqa-system-tests/cdoqa/maas.py", line 58, in _run
    output = subprocess.check_output(cmd)
  File "/usr/lib/python2.7/subprocess.py", line 574, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '('maas', '140019266597104', 'tags', 'create', 'name=compute', 'comment=compute tag')' returned non-zero exit status 2
2017-09-19-06:49:13 ERROR Output: {"name": ["Tag with this Name already exists."]}

from:
https://10.245.162.101/artifacts/73817516-e3b6-4146-aade-0c95eeffd947/enlist_maas_nodes_582/enlist_maas_nodes_582_console.out

Even happens on good runs, and does not effect build status.

Changed in cdoqa-system-tests:
importance: Undecided → Low
Revision history for this message
Jason Hobbs (jason-hobbs) wrote :

We no longer use this stack.

Changed in cdoqa-system-tests:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.