Skip to content
This repository was archived by the owner on Apr 4, 2026. It is now read-only.
This repository was archived by the owner on Apr 4, 2026. It is now read-only.

The script should fail when the StorageArray isn't available #2

@asosso

Description

@asosso

In this example I've used the wrong StorageArray ip address.

nodeid= is empty, but the script didn't failed:

$ ./dcscsi -installcsi=datacoreinstall.json
[...]
2019-10-18T18:43:56+02:00 |INFO| checking array to ensure this host is registered storageserver=192.168.0.2
2019-10-18T18:44:56+02:00 |INFO| host is registered in storage array nodeid= storagearray=192.168.0.2
2019-10-18T18:44:57+02:00 |INFO| creating secrets
2019-10-18T18:44:57+02:00 |INFO| creating configmap
2019-10-18T18:44:58+02:00 |INFO| creating storageclass
2019-10-18T18:44:58+02:00 |INFO| creating cdp storageclass
2019-10-18T18:44:58+02:00 |INFO| creating rbac
2019-10-18T18:44:59+02:00 |INFO| creating attacher
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions