tgt does not auto-start on Vivid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Blake Rouse | ||
tgt (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
After upgrading to Vivid tgt does not start at boot. "service tgt start" does work. It looks like systemd startup files are missing.
dooferlad@
Failed to get unit file state for tgt.service: No such file or directory
dooferlad@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii tgt 1:1.0.43-0ubuntu4 amd64 Linux SCSI target user-space tools
dooferlad@
● tgt.service - LSB: iscsi target daemon
Loaded: loaded (/etc/init.d/tgt)
Active: active (running) since Wed 2015-04-29 15:13:21 BST; 55min ago
Docs: man:systemd-
Process: 4157 ExecStart=
Memory: 119.3M
CGroup: /system.
├─4164 tgtd
└─4166 tgtd
Apr 29 15:13:21 homework2 tgtd[4166]: device_mgmt(246) sz:104 params:
Apr 29 15:13:21 homework2 tgtd[4166]: bs_thread_open(412) 16
Apr 29 15:16:32 homework2 tgtd[4166]: conn_close(103) connection closed, 0x16f4fd0 1
Apr 29 15:16:32 homework2 tgtd[4166]: conn_close(109) session 0x16f92d0 1
Apr 29 15:18:26 homework2 tgtd[4166]: conn_close(103) connection closed, 0x16f4fd0 1
Apr 29 15:18:26 homework2 tgtd[4166]: conn_close(109) session 0x16f92d0 1
Apr 29 15:43:14 homework2 tgtd[4166]: conn_close(103) connection closed, 0x16f4fd0 1
Apr 29 15:43:14 homework2 tgtd[4166]: conn_close(109) session 0x16f92d0 1
Apr 29 15:44:44 homework2 tgtd[4166]: conn_close(103) connection closed, 0x16f4fd0 1
Apr 29 15:44:44 homework2 tgtd[4166]: conn_close(109) session 0x16f92d0 1
Hint: Some lines were ellipsized, use -l to show in full.
Related branches
- Gavin Panella (community): Approve
-
Diff: 220 lines (+131/-1)6 files modifiedsrc/provisioningserver/import_images/boot_resources.py (+5/-0)
src/provisioningserver/import_images/tests/test_boot_resources.py (+8/-0)
src/provisioningserver/plugin.py (+10/-0)
src/provisioningserver/pserv_services/service_monitor_service.py (+46/-0)
src/provisioningserver/pserv_services/tests/test_service_monitor_service.py (+49/-0)
src/provisioningserver/tests/test_plugin.py (+13/-1)
Changed in tgt (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → ubuntudotcom1 (ubuntudotcom1) |
Changed in maas: | |
status: | New → In Progress |
assignee: | nobody → Blake Rouse (blake-rouse) |
importance: | Undecided → Critical |
milestone: | none → 1.8.0 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in tgt (Ubuntu): | |
status: | In Progress → Confirmed |
assignee: | ubuntudotcom1 (ubuntudotcom1) → nobody |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in tgt (Ubuntu): | |
importance: | Undecided → Medium |
Ah, ugly, it seems that sudo systemctl enable tgt does work, even though some parts fail:
dooferlad@ homework2: /etc$ sudo systemctl enable tgt update- rc.d tgt defaults update- rc.d tgt enable
Synchronizing state for tgt.service with sysvinit using update-rc.d...
Executing /usr/sbin/
Executing /usr/sbin/
Failed to execute operation: No such file or directory
tgt is now starting.