Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression due to commit : created a new function define_HPSSACLI to find proper Smart Storage ... #351

Closed
Florent38 opened this issue Dec 19, 2013 · 0 comments
Assignees
Labels
bug The code does not do what it is meant to do
Milestone

Comments

@Florent38
Copy link
Contributor

Hi,
Running rear mkbackup -Sv

Press ENTER to include '/usr/share/rear/layout/save/GNU/Linux/27_hpraid_layout.sh' ...
ERROR: HP Smart Storage Administrator CLI not found: hpacucli nor hpssacli
Aborting due to an error, check /var/log/rear/rear-cuba13.log for details

The beginning of /usr/share/rear/layout/save/GNU/Linux/27_hpraid_layout.sh

 # Code to recreate HP SmartArray controllers

define_HPSSACLI  # call function to find proper Smart Storage Administrator CLI command - define $HPSSACLI var

Rear call the define_HPSSACLI command.

function define_HPSSACLI() {
    # HP Smart Storage Administrator CLI is either hpacucli or hpssacli
    if has_binary hpacucli ; then
        HPSSACLI=hpacucli
    elif has_binary hpssacli ; then
        HPSSACLI=hpssacli
    else
        Error "HP Smart Storage Administrator CLI not found: hpacucli nor hpssacli"
    fi
}

On my workstation :

type hpacucli
type: hpacucli : not found

type hpssacli
type: hpssacli : not found

So I always get this error message.

See 4ddb027

@ghost ghost assigned gdha Dec 19, 2013
@gdha gdha closed this as completed in 4252e2c Dec 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The code does not do what it is meant to do
Projects
None yet
Development

No branches or pull requests

2 participants