• Symptom:
    If the new version of ZStack Custom ISO does not match the old one during the upgrade, the following error message will be reported:
    mount: /dev/loop0 is write-protected, mounting read-only
    /root
    Current release c76 not matched the new ISO c74,
    Use zstack-upgrade -r xxx.iso to update current repo,
    Use zstack-upgrade -a/--add_repo xxx.iso to add a new repo
  • Cause:

    The current ISO version used by the system is not suitable for upgrading the installation package. You need to upgrade the corresponding ISO and then upgrade ZStack.

  • Solution:
    Follow these steps to perform the deployment. Here, we take c76 as an example.
    1. Run the following command to download the latest upgrade script:
      wget http://cdn.zstack.io/product_downloads/scripts/zstack-upgrade
    2. Run the following command to download the latest ISO in the management node:
      wget http://cdn.zstack.io/product_downloads/iso/ZStack-x86_64-DVD-3.10.0-c76.iso
    3. Perform the upgrade. That is, upgrade the yum repo in the ISO and synchronize it to your local server. Then, directly upgrade the management node.
      bash zstack-upgrade ZStack-x86_64-DVD-3.10.0-c76.iso