Launchpad build of master branch failed because of typo in actions.yaml

Bug #2030677 reported by Jadon Naas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceph RADOS Gateway Charm
Fix Committed
Undecided
Jadon Naas
OpenStack Ceilometer Charm
Fix Committed
Undecided
Jadon Naas
OpenStack Cinder Charm
Fix Committed
Undecided
Jadon Naas
OpenStack Dashboard Charm
Fix Committed
Undecided
Jadon Naas
OpenStack HA Cluster Charm
Fix Committed
Undecided
Jadon Naas
OpenStack Neutron Gateway Charm
Fix Committed
Undecided
Jadon Naas
OpenStack Neutron Open vSwitch Charm
Fix Committed
Undecided
Jadon Naas
OpenStack RabbitMQ Server Charm
Fix Committed
Undecided
Jadon Naas

Bug Description

A recent build of the master branch of the OpenStack Dashboard Charm failed because of a typo in the description of one of the actions in actions.yaml.

This is the failing build: https://launchpad.net/~openstack-charmers/charm-openstack-dashboard/+charm/charm-openstack-dashboard.master.latest/+build/11049.

This is the relevant log snippet:

charmcraft (2.x/stable) 2.4.0 from Canonical** installed
Running repo phase...
Cloning into 'openstack-dashboard'...
Running build phase...
Starting charmcraft version 2.4.0
Logging execution to '/root/.local/state/charmcraft/log/charmcraft-20230807-174658.276416.log'
Bad charmcraft.yaml content:
- '{'descrpition': 'Resume the openstack-dashboard unit.'}' is missing a description in field 'actions.actions.resume'
Full execution log: '/root/.local/state/charmcraft/log/charmcraft-20230807-174658.276416.log'
Build failed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/lpbuildd/target/build_charm.py", line 119, in run
    self.build()
  File "/usr/lib/python3/dist-packages/lpbuildd/target/build_charm.py", line 109, in build
    self.run_build_command(args, env=env, cwd=build_context_path)
  File "/usr/lib/python3/dist-packages/lpbuildd/target/operation.py", line 62, in run_build_command
    return self.backend.run(args, cwd=cwd, env=full_env, **kwargs)
  File "/usr/lib/python3/dist-packages/lpbuildd/target/lxd.py", line 716, in run
    subprocess.check_call(cmd, **kwargs)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['lxc', 'exec', 'lp-jammy-amd64', '--env', 'LANG=C.UTF-8', '--env', 'SHELL=/bin/sh', '--env', 'http_proxy=http://10.10.10.1:8222/', '--env', 'https_proxy=http://10.10.10.1:8222/', '--env', 'GIT_PROXY_COMMAND=/usr/local/bin/lpbuildd-git-proxy', '--env', 'SNAPPY_STORE_NO_CDN=1', '--', '/bin/sh', '-c', 'cd /home/buildd/openstack-dashboard/. && linux64 charmcraft pack -v --destructive-mode']' returned non-zero exit status 1.

I replicated this is currently happening on the master branch locally.

I will work on submitting a fix.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-openstack-dashboard (master)
Changed in charm-openstack-dashboard:
status: New → In Progress
Revision history for this message
Jadon Naas (jadonn) wrote :

I found this typo in several other repos on OpenDev using this search query:

https://opendev.org/openstack/-/code?q=descrpition&t=

I added the affected projects to this bug report.

Changed in charm-cinder:
assignee: nobody → Jadon Naas (jadonn)
Changed in charm-ceilometer:
assignee: nobody → Jadon Naas (jadonn)
Changed in charm-ceph-radosgw:
assignee: nobody → Jadon Naas (jadonn)
Changed in charm-hacluster:
assignee: nobody → Jadon Naas (jadonn)
Changed in charm-neutron-gateway:
assignee: nobody → Jadon Naas (jadonn)
Changed in charm-neutron-openvswitch:
assignee: nobody → Jadon Naas (jadonn)
Changed in charm-rabbitmq-server:
assignee: nobody → Jadon Naas (jadonn)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceph-radosgw (master)
Changed in charm-ceph-radosgw:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-ceilometer (master)
Changed in charm-ceilometer:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-radosgw (master)

Reviewed: https://review.opendev.org/c/openstack/charm-ceph-radosgw/+/890800
Committed: https://opendev.org/openstack/charm-ceph-radosgw/commit/ac9c22c3df161533a1fd80d4d4c12981ba7e9767
Submitter: "Zuul (22348)"
Branch: master

commit ac9c22c3df161533a1fd80d4d4c12981ba7e9767
Author: Jadon Naas <email address hidden>
Date: Tue Aug 8 10:30:15 2023 -0400

    Fix typo in actions.yaml

    There was a typo in actions.yaml for the resume action that was breaking
    builds. This change fixes that typo. The charm will build.

    Closes-Bug: 2030677
    Change-Id: I4501c3142620dc6bff87f554a9f26b39ac4c927d

Changed in charm-ceph-radosgw:
status: In Progress → Fix Committed
Changed in charm-openstack-dashboard:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-openstack-dashboard (master)

Reviewed: https://review.opendev.org/c/openstack/charm-openstack-dashboard/+/890695
Committed: https://opendev.org/openstack/charm-openstack-dashboard/commit/21c1ab037e759c8825991a1fd3b731a3742bf8d1
Submitter: "Zuul (22348)"
Branch: master

commit 21c1ab037e759c8825991a1fd3b731a3742bf8d1
Author: Jadon Naas <email address hidden>
Date: Mon Aug 7 15:59:26 2023 -0400

    Fix typo in actions.yaml

    There was a typo in actions.yaml for the resume action that was breaking
    builds. This change fixes that typo. The charm will build.

    Closes-Bug: 2030677
    Change-Id: I470c5f340cbc1282d80396af3d19b9016bb10e2f

Changed in charm-ceilometer:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceilometer (master)

Reviewed: https://review.opendev.org/c/openstack/charm-ceilometer/+/890803
Committed: https://opendev.org/openstack/charm-ceilometer/commit/2f55acb06a1c86584e2a7c1144127c59215f0978
Submitter: "Zuul (22348)"
Branch: master

commit 2f55acb06a1c86584e2a7c1144127c59215f0978
Author: Jadon Naas <email address hidden>
Date: Tue Aug 8 11:18:14 2023 -0400

    Fix typo in actions.yaml

    There was a typo in actions.yaml for the resume action that was breaking
    builds. This change fixes that typo. The charm will build.

    Closes-Bug: 2030677
    Change-Id: Iffc178326f880682ad3e1baf992bae86ba365f0a

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-cinder (master)
Changed in charm-cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-hacluster (master)
Changed in charm-hacluster:
status: New → In Progress
Changed in charm-neutron-gateway:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-gateway (master)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-openvswitch (master)
Changed in charm-neutron-openvswitch:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-rabbitmq-server (master)
Changed in charm-rabbitmq-server:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-rabbitmq-server (master)

Reviewed: https://review.opendev.org/c/openstack/charm-rabbitmq-server/+/890863
Committed: https://opendev.org/openstack/charm-rabbitmq-server/commit/f9e1f451bf11782a7bc119e3e63b5fc10bf83fcc
Submitter: "Zuul (22348)"
Branch: master

commit f9e1f451bf11782a7bc119e3e63b5fc10bf83fcc
Author: Jadon Naas <email address hidden>
Date: Tue Aug 8 20:54:14 2023 -0400

    Fix typo in actions.yaml

    There was a typo in actions.yaml for the resume action that was breaking
    builds. This change fixes that typo. The charm will build.

    Closes-Bug: 2030677
    Change-Id: I2fb654eb176318e9e72e84bf41650e878b989528

Changed in charm-rabbitmq-server:
status: In Progress → Fix Committed
Changed in charm-hacluster:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-hacluster (master)

Reviewed: https://review.opendev.org/c/openstack/charm-hacluster/+/890840
Committed: https://opendev.org/openstack/charm-hacluster/commit/a127f12516033cfb1eef10341853aa2cef02f7e5
Submitter: "Zuul (22348)"
Branch: master

commit a127f12516033cfb1eef10341853aa2cef02f7e5
Author: Jadon Naas <email address hidden>
Date: Tue Aug 8 20:33:26 2023 -0400

    Fix typo in actions.yaml

    There was a typo in actions.yaml for the resume action that was breaking
    builds. This change fixes that typo. The charm will build.

    Closes-Bug: 2030677
    Change-Id: I08dcbec009b392ea0346c2f44a4dd27b2ab90c9c

Changed in charm-neutron-openvswitch:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-openvswitch (master)

Reviewed: https://review.opendev.org/c/openstack/charm-neutron-openvswitch/+/890862
Committed: https://opendev.org/openstack/charm-neutron-openvswitch/commit/d0731306393840e24e98b52a31977fe16d7aee54
Submitter: "Zuul (22348)"
Branch: master

commit d0731306393840e24e98b52a31977fe16d7aee54
Author: Jadon Naas <email address hidden>
Date: Tue Aug 8 20:43:51 2023 -0400

    Fix typo in actions.yaml

    There was a typo in actions.yaml for the resume action that was breaking
    builds. This change fixes that typo. The charm will build.

    Closes-Bug: 2030677
    Change-Id: Ic3a1427a73f89f0e0b8d279e0ab9b221e74d0d52

Changed in charm-cinder:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-cinder (master)

Reviewed: https://review.opendev.org/c/openstack/charm-cinder/+/890839
Committed: https://opendev.org/openstack/charm-cinder/commit/32ceddef866d041e0235007af9e59d83a89dbc48
Submitter: "Zuul (22348)"
Branch: master

commit 32ceddef866d041e0235007af9e59d83a89dbc48
Author: Jadon Naas <email address hidden>
Date: Tue Aug 8 20:20:49 2023 -0400

    Fix typo in actions.yaml

    There was a typo in actions.yaml for the resume action that was breaking
    builds. This change fixes that typo. The charm will build.

    Closes-Bug: 2030677
    Change-Id: Iebded9db63ace1d70a21c1b2e72f88f57044047f

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-gateway (master)

Reviewed: https://review.opendev.org/c/openstack/charm-neutron-gateway/+/890861
Committed: https://opendev.org/openstack/charm-neutron-gateway/commit/500a8bd029be78558b84fa3a7d1552e82e8970eb
Submitter: "Zuul (22348)"
Branch: master

commit 500a8bd029be78558b84fa3a7d1552e82e8970eb
Author: Jadon Naas <email address hidden>
Date: Tue Aug 8 20:37:46 2023 -0400

    Fix typo in actions.yaml

    There was a typo in actions.yaml for the resume action that was breaking
    builds. This change fixes that typo. The charm will build.

    Closes-Bug: 2030677
    Change-Id: I8c63674a9d0af597da139abf67ba929d39614311

Changed in charm-neutron-gateway:
status: In Progress → Fix Committed
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.