Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-10283

Use sudo to execute keystore setup/import for kvm agents, and fail on keystore setup failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.12.0.0, 4.11.1.0
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Addition of a KVM host creates keystore on the KVM host's /etc/cloudstack/agent path. The current scripts and codebase assumes that it will be the root user which is why the script don't call keytool with 'sudo'. To allow addition of host using a sudo-enabled/admin user, make suitable changes to the script, and also fail the addHost execution if keystore scripts fail (say due to permission issues etc).

      Attachments

        Issue Links

          Activity

            People

              bhaisaab Rohit Yadav
              bhaisaab Rohit Yadav
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: