You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2020/09/25 04:33:33 UTC

[GitHub] [rocketmq-operator] hellohaoyalong opened a new issue #59: 需要重新打包broker镜像

hellohaoyalong opened a new issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59


   原有配置文件生成脚本中,$BROKER_CONFIG_MOUNT_FILE指向文件不存在


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] liuruiyiyang edited a comment on issue #59: 需要重新打包broker镜像

Posted by GitBox <gi...@apache.org>.
liuruiyiyang edited a comment on issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59#issuecomment-698719671






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] liuruiyiyang edited a comment on issue #59: Need rebuild broker image

Posted by GitBox <gi...@apache.org>.
liuruiyiyang edited a comment on issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59#issuecomment-698719671


   I have checked that the $BROKER_CONFIG_MOUNT_FILE did exists, it is mounted by broker-config ConfigMap. You can follow the latest README and see if it works. If there are still  some problems about this, feel free to re-open this issue :)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] liuruiyiyang closed issue #59: 需要重新打包broker镜像

Posted by GitBox <gi...@apache.org>.
liuruiyiyang closed issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] liuruiyiyang edited a comment on issue #59: 需要重新打包broker镜像

Posted by GitBox <gi...@apache.org>.
liuruiyiyang edited a comment on issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59#issuecomment-698719671


   I have checked that the $BROKER_CONFIG_MOUNT_FILE did exists, it is mounted by broker-config ConfigMap. You can follow the latest README and see if it works :)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] hellohaoyalong commented on issue #59: 需要重新打包broker镜像

Posted by GitBox <gi...@apache.org>.
hellohaoyalong commented on issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59#issuecomment-698714480


   BROKER_CONFIG_FILE="$ROCKETMQ_HOME/conf/broker.conf"
   BROKER_CONFIG_MOUNT_FILE="$ROCKETMQ_HOME/conf/broker-common.conf"
   
   function create_config() {
       rm -f $BROKER_CONFIG_FILE
       echo "Creating broker configuration."
       # Remove brokerClusterName, brokerName, brokerId if configured
       ### sed -e '/brokerClusterName/d;/brokerName/d;/brokerId/d' $BROKER_CONFIG_MOUNT_FILE > $BROKER_CONFIG_FILE
       echo -e >> $BROKER_CONFIG_FILE
       echo "brokerClusterName=$BROKER_CLUSTER_NAME" >> $BROKER_CONFIG_FILE
       echo "brokerName=$BROKER_NAME" >> $BROKER_CONFIG_FILE
       echo "brokerId=$BROKER_ID" >> $BROKER_CONFIG_FILE
       if [ $BROKER_ID != 0 ]; then
           sed -i 's/brokerRole=.*/brokerRole=SLAVE/g' $BROKER_CONFIG_FILE
       fi
   }
   
   create_config
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] hellohaoyalong edited a comment on issue #59: 需要重新打包broker镜像

Posted by GitBox <gi...@apache.org>.
hellohaoyalong edited a comment on issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59#issuecomment-698714480


   BROKER_CONFIG_FILE="$ROCKETMQ_HOME/conf/broker.conf"
   BROKER_CONFIG_MOUNT_FILE="$ROCKETMQ_HOME/conf/broker-common.conf"
   
   function create_config() {
       rm -f $BROKER_CONFIG_FILE
       echo "Creating broker configuration."
       # Remove brokerClusterName, brokerName, brokerId if configured
       ### sed -e '/brokerClusterName/d;/brokerName/d;/brokerId/d' $BROKER_CONFIG_MOUNT_FILE > $BROKER_CONFIG_FILE
       sed -e '/brokerClusterName/d;/brokerName/d;/brokerId/d' >> $BROKER_CONFIG_FILE
       echo -e >> $BROKER_CONFIG_FILE
       echo "brokerClusterName=$BROKER_CLUSTER_NAME" >> $BROKER_CONFIG_FILE
       echo "brokerName=$BROKER_NAME" >> $BROKER_CONFIG_FILE
       echo "brokerId=$BROKER_ID" >> $BROKER_CONFIG_FILE
       if [ $BROKER_ID != 0 ]; then
           sed -i 's/brokerRole=.*/brokerRole=SLAVE/g' $BROKER_CONFIG_FILE
       fi
   }
   
   create_config
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] hellohaoyalong commented on issue #59: 需要重新打包broker镜像

Posted by GitBox <gi...@apache.org>.
hellohaoyalong commented on issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59#issuecomment-698714480


   BROKER_CONFIG_FILE="$ROCKETMQ_HOME/conf/broker.conf"
   BROKER_CONFIG_MOUNT_FILE="$ROCKETMQ_HOME/conf/broker-common.conf"
   
   function create_config() {
       rm -f $BROKER_CONFIG_FILE
       echo "Creating broker configuration."
       # Remove brokerClusterName, brokerName, brokerId if configured
       ### sed -e '/brokerClusterName/d;/brokerName/d;/brokerId/d' $BROKER_CONFIG_MOUNT_FILE > $BROKER_CONFIG_FILE
       echo -e >> $BROKER_CONFIG_FILE
       echo "brokerClusterName=$BROKER_CLUSTER_NAME" >> $BROKER_CONFIG_FILE
       echo "brokerName=$BROKER_NAME" >> $BROKER_CONFIG_FILE
       echo "brokerId=$BROKER_ID" >> $BROKER_CONFIG_FILE
       if [ $BROKER_ID != 0 ]; then
           sed -i 's/brokerRole=.*/brokerRole=SLAVE/g' $BROKER_CONFIG_FILE
       fi
   }
   
   create_config
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] liuruiyiyang commented on issue #59: 需要重新打包broker镜像

Posted by GitBox <gi...@apache.org>.
liuruiyiyang commented on issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59#issuecomment-698719671


   I have checked that the $BROKER_CONFIG_MOUNT_FILE did exists, it is mounted by broker-config ConfigMap. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] liuruiyiyang closed issue #59: 需要重新打包broker镜像

Posted by GitBox <gi...@apache.org>.
liuruiyiyang closed issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] liuruiyiyang commented on issue #59: 需要重新打包broker镜像

Posted by GitBox <gi...@apache.org>.
liuruiyiyang commented on issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59#issuecomment-698719671


   I have checked that the $BROKER_CONFIG_MOUNT_FILE did exists, it is mounted by broker-config ConfigMap. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq-operator] hellohaoyalong edited a comment on issue #59: 需要重新打包broker镜像

Posted by GitBox <gi...@apache.org>.
hellohaoyalong edited a comment on issue #59:
URL: https://github.com/apache/rocketmq-operator/issues/59#issuecomment-698714480


   BROKER_CONFIG_FILE="$ROCKETMQ_HOME/conf/broker.conf"
   BROKER_CONFIG_MOUNT_FILE="$ROCKETMQ_HOME/conf/broker-common.conf"
   
   function create_config() {
       rm -f $BROKER_CONFIG_FILE
       echo "Creating broker configuration."
       # Remove brokerClusterName, brokerName, brokerId if configured
       ### sed -e '/brokerClusterName/d;/brokerName/d;/brokerId/d' $BROKER_CONFIG_MOUNT_FILE > $BROKER_CONFIG_FILE
       sed -e '/brokerClusterName/d;/brokerName/d;/brokerId/d' >> $BROKER_CONFIG_FILE
       echo -e >> $BROKER_CONFIG_FILE
       echo "brokerClusterName=$BROKER_CLUSTER_NAME" >> $BROKER_CONFIG_FILE
       echo "brokerName=$BROKER_NAME" >> $BROKER_CONFIG_FILE
       echo "brokerId=$BROKER_ID" >> $BROKER_CONFIG_FILE
       if [ $BROKER_ID != 0 ]; then
           sed -i 's/brokerRole=.*/brokerRole=SLAVE/g' $BROKER_CONFIG_FILE
       fi
   }
   
   create_config
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org