Comments (8)
Hi @ikunduraci,
The mangleWEB is showing those errors because machine didn't get DHCP IP at boot time and while starting the WEB container, IP must be assigned to the machine. Please run following commands on your machine, it should resolve the issue:
1: docker stop mangleWEB
2: docker rm -f mangleWEB
3: docker run --name mangle -d -e DB_OPTIONS="-DcassandraContactPoints= -DcassandraSslEnabled=true -DcassandraUsername=cassandra -DcassandraPassword=cassandra" -e CLUSTER_OPTIONS="-DclusterValidationToken=mangle -DpublicAddress=" -p 8080:8080 -p 8443:8443 mangleuser/mangle:
Thanks,
-Avinash
from mangle.
Hi @ashrimalivmware,
I'm not sure why it doesn't pickup an IP from DHCP.. the DHCP server is servicing other machines fine, in fact, after booting and logging in, i'm able to run vami_config_net and it picks up an IP fine..
I've also run the commands you've suggested with the following result -
root@PDCMANGLE [ ~ ]# docker run --name mangle -d -e DB_OPTIONS="-DcassandraContactPoints= -DcassandraSslEnabled=true -DcassandraUsername=cassandra -DcassandraPassword=cassandra" -e CLUSTER_OPTIONS="-DclusterValidationToken=mangle -DpublicAddress=" -p 8080:8080 -p 8443:8443 mangleuser/mangle:
docker: invalid reference format.
See 'docker run --help'.
root@PDCMANGLE [ ~ ]# docker run --name mangle -d -e DB_OPTIONS="-DcassandraContactPoints= -DcassandraSslEnabled=true -DcassandraUsername=cassandra -DcassandraPassword=cassandra" -e CLUSTER_OPTIONS="-DclusterValidationToken=mangle -DpublicAddress=" -p 8080:8080 -p 8443:8443 mangleuser/mangle
Unable to find image 'mangleuser/mangle:latest' locally
docker: Error response from daemon: manifest for mangleuser/mangle:latest not found.
See 'docker run --help'.
from mangle.
Hi @ikunduraci
please re-run the commands:
1: docker stop mangleWEB
2: docker rm -f mangleWEB
3: docker run --name mangleWEB -d -e DB_OPTIONS="-DcassandraContactPoints= -DcassandraSslEnabled=true -DcassandraUsername=cassandra -DcassandraPassword=cassandra" -e CLUSTER_OPTIONS="-DclusterValidationToken=mangle -DpublicAddress=" -p 8080:8080 -p 8443:8443 mangleuser/mangle:2.0
The above error because the version was missing at the end, that should work fine.
Regarding DHCP IP issue, Are you deploying the VM directly using ESXi standalone host or via vCenter server?
Thanks,
-Avinash
from mangle.
Hi Avinash,
I've tried, see below error -
root@photon-machine [ ~ ]# docker logs mangleWEB | grep ERROR
Warning:
The JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore /home/mangle/var/opt/vmware/mangle/cert/server.jks -destkeystore /home/mangle/var/opt/vmware/mangle/cert/server.jks -deststoretype pkcs12".
2019-11-29 05:55:07.451 [main] ERROR org.springframework.boot.web.embedded.tomcat.TomcatStarter.onStartup (62) - Error starting Tomcat context. Exception: org.springframework.beans.factory.UnsatisfiedDependencyException. Message: Error creating bean with name 'webMvcMetricsFilter' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/web/servlet/WebMvcMetricsAutoConfiguration.class]: Unsatisfied dependency expressed through method 'webMvcMetricsFilter' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'compositeMeterRegistry' defined in class path resource [org/springframework/boot/actuate/autoconfigure/metrics/CompositeMeterRegistryConfiguration.class]: Unsatisfied dependency expressed through method 'compositeMeterRegistry' parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'initializeDatadogMeterRegistry' defined in class path resource [com/vmware/mangle/services/config/MangleMicrometerConfig.class]: Unsatisfied dependency expressed through method 'initializeDatadogMeterRegistry' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mangleDatadogConfig': Unsatisfied dependency expressed through field 'metricProviderRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metricProviderRepository': Cannot resolve reference to bean 'cassandraTemplate' while setting bean property 'cassandraTemplate'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cassandraTemplate' defined in class path resource [com/vmware/mangle/services/cassandra/CassandraConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.cassandra.core.CassandraAdminTemplate]: Factory method 'cassandraTemplate' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [com/vmware/mangle/services/cassandra/CassandraConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.cassandra.SessionFactory]: Factory method 'sessionFactory' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getRequiredSession' defined in class path resource [com/vmware/mangle/services/cassandra/CassandraConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.datastax.driver.core.Session]: Factory method 'getRequiredSession' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'session' defined in class path resource [com/vmware/mangle/services/cassandra/CassandraConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.data.cassandra.config.CassandraSessionFactoryBean]: Factory method 'session' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getRequiredCluster' defined in class path resource [com/vmware/mangle/services/cassandra/CassandraConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.datastax.driver.core.Cluster]: Factory method 'getRequiredCluster' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cluster' defined in class path resource [com/vmware/mangle/services/cassandra/CassandraConfig.class]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: At least one server is required
2019-11-29 05:55:07.560 [main] ERROR com.vmware.mangle.utils.exceptions.handler.MangleUncaughtExceptionHandler.uncaughtException (67) - Uncaught exception caught in thread :main
Also, i've had to deploy the OVA directly; when trying via vcenter, it would get stuck on validating.. Tried HTML5/flex/chrome/firefox, all the same result.
Cheers
from mangle.
The missing part was IP address, what you need to do is in the following command please provide the dhcp ip address wherever the text IP-Address is shown in it:
docker run --name mangleWEB -d -e DB_OPTIONS="-DcassandraContactPoints=IP-Address
-DcassandraSslEnabled=true -DcassandraUsername=cassandra -DcassandraPassword=cassandra" -e CLUSTER_OPTIONS="-DclusterValidationToken=mangle -DpublicAddress=IP-Address" -p 8080:8080 -p 8443:8443 mangleuser/mangle:2.0
In my last comments IP-Address field was under special characters which it getting removed by this github portal. Please follow our documentation: https://vmware-1.gitbook.io/mangle/mangle-administration/supported-deployment-models#deploying-the-mangle-containers for more details.
Thanks,
-Avinash
from mangle.
Hi @ikunduraci
Please update if the issue is not yet resolved, else we will close the issue.
Thanks,
-Avinash
from mangle.
Hi @ashrimalivmware,
I was able to deploy the OVF using vCenter in which case, it picked up an IP address fine and all services started as expected.
Thanks for your help!
from mangle.
from mangle.
Related Issues (20)
- Add support for elastic kibana integration with mangle to view the fault metrics on kibana
- Mangle 3.5 : Update is diabled for initial password change HOT 3
- What kind of credential is needed for infrastructure faults? HOT 16
- ErrorCode 127 Fault Injection w/ OSError: [ErrNo 22] Invalid Argument in target infra_agent.log HOT 4
- Unable to add Prometheus configurations as metrics provider HOT 3
- Mangle Support for Amazon EKS HOT 8
- Service Unavailable - Random injection does not work
- ERR_CONNECTION_CLOSED accessing Mangle Web HOT 4
- Unable to add vCenter adapter HOT 1
- enable running chaos tests in random order
- getting db connectivity errror
- Application memory fault is not working
- Certificate installation on the EKS namespace for mangle HOT 6
- Capability to support CA self signed certificates in EKS HOT 3
- Ability to create Custom roles in mangle UI HOT 4
- Integration of AD groups into mangle instead of users HOT 2
- vCenter Adapter for Mangle OVA installation
- Out of Memory Fault not working
- Mangle - AD Integration, Custom Roles, CA Signed Cert
- Mangle EndPoint Creation Failure HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mangle.