Upgrading Aria Operations stuck at step 10 of 14 "Applied product update".
search cancel

Upgrading Aria Operations stuck at step 10 of 14 "Applied product update".

book

Article ID: 432567

calendar_today

Updated On:

Products

VCF Operations

Issue/Introduction

  • Upgrading Aria Operations through admin portal hangs at step 10 of 14 "Applied product update" indefinitely.

         ../logs/casa-webapp/casa.log

xxxx-xx-xxTxx:xx:xx,459+0000 ERROR [main] [] casa.support.OvfEnvDao:66 - There was an error parsing the ovfEnv.xml at /opt/vmware/etc/ovfEnv.xml. The OvfEnvDao will be disabled.
xxxx-xx-xxTxx:xx:xx,459+0000  INFO [main] [] casa.support.OvfEnvDao:68 -
org.xml.sax.SAXParseException: Premature end of file.
        at java.xml/com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
        at java.xml/com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at java.xml/javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
        at com.vmware.vcops.casa.support.OvfEnvDao.init(OvfEnvDao.java:64)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.base/java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1919)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1861)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1789)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
        at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:921)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:580)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:388)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:267)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:92)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4047)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:4489)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:164)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:597)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:569)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1010)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1858)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
------
xxxx-xx-xxTxx:xx:xx,320+0000  INFO [Thread-343] [        ] support.subprocess.GeneralCommand:255 - Command '/usr/bin/sudo -n /sbin/service vmware-vcops-firewall harden' threw exception: CommandLineExitException: key=general.failure; args=2,Unable to find the ovf environment.
Unable to find the ovf environment.
ip6tables v1.8.9 (legacy): host/network `xx.xxx.xx.xx' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
ip6tables v1.8.9 (legacy): host/network `xx.xxx.xx.xx' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
ip6tables v1.8.9 (legacy): host/network `xx.xxx.xx.xx' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.
ip6tables v1.8.9 (legacy): host/network `xx.xxx.xx.xx' not found
Try `ip6tables -h' or 'ip6tables --help' for more information.

Environment

Aria Operations 8.18.6

Cause

Upgrade failed during the cluster online attempt, specifically during the Firewall Hardening activation process. The cluster was unable to parse information from the ovfEnv.xml file.

Resolution

Workaround: To Disable Firewall Hardening

1. Login to the Admin UI

2. Navigate to Administrator Settings > Security Settings > Disable FIREWALL HARDENING

3. Re-initiate the update and then proceed with enabling FIREWALL HARDENING

NOTE - The logic for reading the Firewall Hardening status has been updated in the 9.x version, and a request will be opened to introduce the same logic in 8.18.x as well.