Bug 1512967 - Smartstate Analysis Snapshot of Azure Managed Disks fails with "The value of parameter snapshot.name is invalid. (cause: 400 Bad Request) creating SSA Snapshot" if the disk name exceeds 60 characters.
Summary: Smartstate Analysis Snapshot of Azure Managed Disks fails with "The value of ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.8.3
Assignee: Jerry Keselman
QA Contact: Satyajit Bulage
URL:
Whiteboard:
Depends On: 1508577
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-14 14:18 UTC by Satoe Imaishi
Modified: 2022-07-09 09:10 UTC (History)
6 users (show)

Fixed In Version: 5.8.3.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1508577
Environment:
Last Closed: 2018-02-28 13:09:19 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0374 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2018-02-28 18:04:37 UTC

Comment 2 CFME Bot 2017-11-14 14:22:58 UTC
New commit detected on ManageIQ/manageiq-providers-azure/fine:
https://github.com/ManageIQ/manageiq-providers-azure/commit/dd70691735386c387183f899e15d2ac47037ee3e

commit dd70691735386c387183f899e15d2ac47037ee3e
Author:     Daniel Berger <djberg96>
AuthorDate: Fri Nov 3 11:37:15 2017 -0600
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Nov 14 09:15:35 2017 -0500

    Merge pull request #157 from jerryk55/snapshot_disknames_longer_than_60chars
    
    Smart state Snapshot Managed Disk Name 80 Char Limit
    (cherry picked from commit e6d33b9bec96a69f48e1a356dc2060765069a2a8)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1512967

 .../providers/azure/cloud_manager/vm_or_template_shared.rb     | 10 ++++++++--
 .../azure/cloud_manager/vm_or_template_shared/scanning.rb      |  2 +-
 2 files changed, 9 insertions(+), 3 deletions(-)

Comment 3 CFME Bot 2017-11-14 14:27:55 UTC
New commit detected on ManageIQ/manageiq-gems-pending/fine:
https://github.com/ManageIQ/manageiq-gems-pending/commit/9a76effbec67c302b852917251594237c4b3ad25

commit 9a76effbec67c302b852917251594237c4b3ad25
Author:     Richard Oliveri <oliveri.richard.github>
AuthorDate: Mon Nov 6 11:45:14 2017 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Nov 14 09:26:47 2017 -0500

    Merge pull request #44 from jerryk55/diskname_longer_than_60chars_fails_snap
    
    Use the Smartstate Snapshot Name Built by the Provider
    (cherry picked from commit 02ebbc23a57ef8283c113199847cf4092c66466a)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1512967

 lib/gems/pending/MiqVm/miq_azure_vm.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 4 Satyajit Bulage 2018-01-10 08:41:31 UTC
As discussed with Jerry, counted disk/blob chars and perform SSA which retrieves required data.

Verified Version: 5.8.3.0.20171213193853_f1b4a89

Comment 7 errata-xmlrpc 2018-02-28 13:09:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:0374


Note You need to log in before you can comment on or make changes to this bug.