Bug 1087715

Summary: 'cloud-init status' returns backtrace with 'UnboundLocalError: local variable 'reason' referenced before assignment'
Product: [openSUSE] openSUSE Tumbleweed Reporter: Mikhail Kasimov <mikhail.kasimov>
Component: KubicAssignee: Robert Schweikert <rjschwei>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: kubic_cloud-init_status

Description Mikhail Kasimov 2018-04-01 11:30:45 UTC
Created attachment 765647 [details]



'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

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