usharesoft / hammr

Command-line tool for building consistent and repeatable machine images for multiple cloud platforms
http://hammr.io
Apache License 2.0
28 stars 24 forks source link

publishing to openstack with keystoneVersion v3 using hammr fails #500

Closed ghost closed 5 years ago

ghost commented 5 years ago

Steps to reproduce

{
    "builders": [
        {
            "account": {
                "type": "OpenStack",
                "name": "test_publish_openstack_v3",
                "glanceUrl": "XXXXXXXX",
                "keystoneUrl": "XXXXXXXX",
                "keystoneVersion": "3.0",
                "login": "XXXXXXXX",
                "password": "XXXXXXXX"
            },
            "displayName": "hammr_test",
            "installation": {
                "diskSize": "12288"
            },
            "keystoneDomain": "Default",
            "keystoneProject": "XXXXXXXX",
            "type": "OpenStack QCOW2"
        }
    ],
    "stack": {
        "name": "515",
        "version": "1.0",
        "os": {
            "name": "Ubuntu",
            "version": "12.04",
            "arch": "x86_64",
            "profile": "Minimal",
            "pkgs": [{
                "name": "nginx"
            }]
        },
        "installation": {
            "diskSize": 12288
        }
    }
}

When publishing the next error message is displayed:

(ERROR: TenantName in openstack builder not found)

Expected result Publishing by Hammr OK

Actual result it seems Hammr does not know how to handle openstack with keystoneVersion v3 (UForge AppCenter UI does OK)

ghost commented 5 years ago

10457

AliceAlbano commented 5 years ago

This bug is no longer present in 3.8FP12, I can publish to openstack v3 using the same JSON as the one given in this ticket.