"profile-refresh" command does not work with default version

Solution Verified - Updated -

Issue

  • Getting Profile xxx not found error when I tried to refresh a profile with default version.

  • Here were steps I did:

  1. create fabric "fabric:create --wait-for-provisioning";
  2. create 1.1 fabric version "version-create --parent 1.0 1.1";
  3. create 1.2 fabric version "version-create --parent 1.1 1.2";
  4. create a 1.2 version profile "profile-create --version 1.2 test";
  5. upgrade the container to version 1.2 "container-upgrade 1.2 root";
  6. set default version to 1.2 "version-set-default 1.2";
  7. refresh the profile using default version without "--version" parameter:
JBossFuse:karaf@root> profile-refresh test
Profile test not found.

Environment

  • JBoss Fuse
    • 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content