Bug 1087715 - 'cloud-init status' returns backtrace with 'UnboundLocalError: local variable 'reason' referenced before assignment'
'cloud-init status' returns backtrace with 'UnboundLocalError: local variabl...
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kubic
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Robert Schweikert
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-04-01 11:30 UTC by Mikhail Kasimov
Modified: 2018-04-02 18:03 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
kubic_cloud-init_status (12.13 KB, image/png)
2018-04-01 11:30 UTC, Mikhail Kasimov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kasimov 2018-04-01 11:30:45 UTC
Created attachment 765647 [details]
kubic_cloud-init_status

Hello!

Subj

'UnboundLocalError: local variable 'reason' referenced before assignment'

See screenshot in attachment.
Comment 1 Thorsten Kukuk 2018-04-01 13:09:19 UTC
reason is not set in several cases, like if systemd is used.
Comment 2 Robert Schweikert 2018-04-02 18:03:09 UTC
Fixed in 18.1

~> cloud-init status
status: done

~> rpm -qa cloud-init
cloud-init-18.1-1.1.x86_64

18.1 is available from Cloud:Tools, has been submitted to :Factory