NC fails to start when running as non-root with HYPERVISOR=xen

Bug #354895 reported by Dmitrii Zagorodnov
2
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
High
Dmitrii Zagorodnov

Bug Description

In xen < 3.3 the 'xm' command is 'taintable' and therefore one cannot run it with EUID=0, which means get_xen_info cannot run as non-root, which means NC cannot run as non-root with HYPERVISOR="xen".

/opt/eucalyptus//usr/share/eucalyptus/euca_rootwrap /opt/eucalyptus//usr/share/eucalyptus/get_xen_info
Error: Most commands need root access. Please try again as root.
inputs are tainted
Error: Most commands need root access. Please try again as root.
inputs are tainted
Error: Most commands need root access. Please try again as root.
inputs are tainted
...

Revision history for this message
Dmitrii Zagorodnov (dmitrii) wrote :

solution: removed all 'xm' invocations, using virNodeGetInfo() instead

------------------------------------------------------------
revno: 259
committer: Dmitrii Zagorodnov <email address hidden>
branch nick: 1.5
timestamp: Fri 2009-04-03 18:42:48 -0700
message:
  merging
    ------------------------------------------------------------
    revno: 250.1.1
    committer: Dmitrii Zagorodnov <email address hidden>
    branch nick: 1.5_testing
    timestamp: Fri 2009-04-03 18:40:23 -0700
    message:
      fixing lp:354846, lp:352896, and 354895: increasing per-instance limit of attached volumes in NC, verifying HYPERVISOR in nc_test, removing 'xm' invocations
------------------------------------------------------------

Changed in eucalyptus:
assignee: nobody → dmitrii
importance: Undecided → High
status: New → Fix Committed
Changed in eucalyptus:
status: Fix Committed → Fix Released
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.