Bundle content Unavailable but file exists

We have a ZCM subscription to create bundles from the Filr OS and Filr Updates channel. From the bundles, we have created a YUM repo and used them to successfully update Filr servers.
We have created another Primary in the Zone (in DMZ) and want to create a YUM repo on this server. When doing so I get the message:

Failed : Yum Service : Filr-5-OS-ZCM-DAT-DMZ :File 3edf969729ef09fa4285c3ebc11f7f28.zc not found in the content system.

For the bundle I checked: Settings > Bundle Management > Pre-Cached Content
This shows the content is "Unavailable" for both servers.


Searching through the first primary we can see the content...

# find / -print | grep -i 3edf969729ef09fa4285c3ebc11f7f28
/var/lib/docker/volumes/content-repo/_data/content/3e/3edf969729ef09fa4285c3ebc11f7f28.zc
/vastorage/var/opt/microfocus/zenworks/content-repo/content/3e/3edf969729ef09fa4285c3ebc11f7f28.zc

But the file is not on the DMZ primary.


Bundle name: _Filr-5-OS-bundle-24.4.2
GUID: 5bea751865a4de0e7dfc72dd15c92467


# zman ogn 5bea751865a4de0e7dfc72dd15c92467

Name | Primary Type | Sub Type | Folder
-------------------------+--------------+--------------+------------------------------
_Filr-5-OS-bundle-24.4.2 | Bundle | Linux Bundle | /Bundles/Filr/Filr5/Filr-5-OS


I tried manually copying the missing zc file to the DMZ server and recreate the YUM repo. This appears to work, but it failed on a different zc file.
I ran a cnfa for the bundle, it returns 1500+ pieces of content. I don't fancy copying each one maually.
We know there are commands to force content sync on a satellite, but not a primary. Is this still the case?


Both servers: ZCM23.4 + FTF100
Open case: 03057465

Parents Reply Children
  • 0 in reply to   

    thanks David I shall give that a go. just thinking out loud if that is working it maybe because as we think the content is already on the server(s) thus just being aliased a thus why re-importing works as no content to package just needs to put pointers in the DB to the existing content.

    Are you deleting the original bundle before re-importing out of interest ?

    thanks

    Spencer

  • 0   in reply to 

    Yes, I delete the original bundle. The new one will get new GUID, you can retain the old one if you wish. But I was waiting day or two and it never changed to Available. Even reboot of the ZCM server never helped.

    David

  • 0   in reply to 

    I suspect the issue you and David are seeing are a bit different but I don't know.  My guess is Stuart's issue is DMZ specific since he said he could make it on his Non-DMZ server.  DMZ servers can have so many issues from Ports not Being open, to multiple different DNS names, different server lists, etc.. 

    I find it surprising that the Export-Import works...since I would have presumed the content would not be there to export.  I would definitely add that to any case.....Historically the issue was more something interrupted the packaging process and the files were cleared before packing....though a few years back i tried to cause failure by being as mean as I could about restarting services mid package and could not.  

    Maybe we are not updating all versions?  Let's say it's packaging content for version 7 and you update to 8 before 7 is done and 8 does not have new content...version 7 is flagged as available but not 8.  Try adding a small piece of content to the bundle and see if it then shows good. (Not a Fix....A Test....)  If that works....what about a dummy edit on the bundle to change the version?

    --

    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

    Be sure to "Like" My (and a few others) Cool Solutions below! 

    https://community.microfocus.com/members/craigdwilson/bookmarks

  • 0   in reply to   

    Does it fail if you don't? (Your Steps help avoid "Alias" content It is used to track identical files shared between bundles to ensure we don't store 2 copies of the same file.)  No specific thoughts...but every little detail sometimes helps paint the portrait enough...

    --

    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

    Be sure to "Like" My (and a few others) Cool Solutions below! 

    https://community.microfocus.com/members/craigdwilson/bookmarks

  • 0 in reply to   

    hmm got validation error on the import, so maybe we seeing 3 different issues just all end up with same look ZCC Disappointed

  • 0   in reply to   

    Craig I have bundles for GroupWise Windows client, OES client and so on. These bundles are refreshed every new release. I do same thing, make copy of the old one and change only one action and this is directory install with new version of the client. I did it many many years with no issues. Not sure on which version started the Packaging thing problem. I will try to find the discussion thread, where I reported it. The problem is random, I can't duplicate it on every this copy / update operation. 

    David

  • 0 in reply to   

    I don't believe the issue I'm seeing is DMZ specific. I have a "Filr Updates" bundle built from the subscription, the content is showing as AVAILABLE on both servers and I can successfully create a YUM repo on both servers.

    I tried to re-run the subscription for the "Filr OS" bundle, the content is showing as UNAVAILABLE on both servers. However there are older versions of this bundle we keep as a frozen patch level. As Spencer mentioned, some of the content could be aliased in the newer bundle, therefore certain files are not updated/overwritten. I've tried the subscription with "Force Replication", no joy.

    What determines the content status as Available or Unavailable? I guess this is a tally between database entries and files on disk. If so, is this a query we can run to determine what's missing?

    However I believe all the content is present on the internal primary, as it successfully built the YUM repo. I know content is missing on the DMZ primary, therefore the YUM repo failed.

  • 0   in reply to 

    Maybe something changed, but if I asked some time ago it was not possible, what can you do on satellites.

    David